Skip to content

[Bug]: USER Environment Variable not present on Win10 #1017

@Computerdores

Description

@Computerdores

Checklist

  • I am using an up-to-date version.
  • I have read the documentation.
  • I have searched existing issues.

TagStudio Version

git

Operating System & Version

Win10

Description

Line 19 in src/tagstudio/qt/helpers/vendored/ffmpeg.py:

user = os.environ["USER"]

Errors because the USER variable isn't set on Windows.

Expected Behavior

Since this variable is needed for MacOS specific code it should only be executed on MacOS

Steps to Reproduce

  1. Execute on Windows 10

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority: HighAn important issue requiring attentionSystem: WindowsFor Microsoft WindowsType: BugSomething isn't working as intendedType: InstallationInstalling, building, and/or launching the program

    Type

    Projects

    Status

    ✅ Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions