Skip to content

Running on Linux fails with KeyError: 'posix' #151

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
skinkie opened this issue Feb 1, 2025 · 0 comments · May be fixed by #152
Open

Running on Linux fails with KeyError: 'posix' #151

skinkie opened this issue Feb 1, 2025 · 0 comments · May be fixed by #152

Comments

@skinkie
Copy link

skinkie commented Feb 1, 2025

After pip install -r requirements.txt
And running python pie-audio.py

[11:25:19] [DEBUG] - pieapp.api.registries.registry:init_from_string:33 - Initializing "ConfigRegistryClass"
[11:25:19] [DEBUG] - pieapp.api.registries.registry:init_from_string:33 - Initializing "LocalesRegistryClass"
[11:25:19] [DEBUG] - pieapp.api.registries.registry:init_from_string:33 - Initializing "ThemeRegistryClass"
[11:25:19] [DEBUG] - pieapp.api.registries.themes.registry:parse_template:148 - Can't find fontFamily/    font-family: @fontFamily;

[11:25:19] [DEBUG] - pieapp.api.registries.themes.registry:parse_template:148 - Can't find toolButtonWidth/    width: @toolButtonWidth;

[11:25:19] [DEBUG] - pieapp.api.registries.themes.registry:parse_template:148 - Can't find mainFontColor/    color: @mainFontColor;

[11:25:19] [DEBUG] - pieapp.api.registries.themes.registry:parse_template:148 - Can't find mainBackgroundColor/    background-color: @mainBackgroundColor;

[11:25:19] [DEBUG] - pieapp.api.registries.themes.registry:parse_template:148 - Can't find mainBackgroundColor/    background-color: @mainBackgroundColor;

[11:25:19] [DEBUG] - pieapp.api.registries.themes.registry:parse_template:148 - Can't find minorBackgroundColor/    background-color: @minorBackgroundColor;

[11:25:19] [DEBUG] - pieapp.api.registries.themes.registry:parse_template:148 - Can't find minorBackgroundColor/    background-color: @minorBackgroundColor;

[11:25:19] [DEBUG] - pieapp.api.registries.themes.registry:parse_template:148 - Can't find minorBackgroundColor/    background-color: @minorBackgroundColor;

[11:25:19] [DEBUG] - pieapp.api.registries.themes.registry:parse_template:148 - Can't find minorColor/    color: @minorColor;

[11:25:19] [DEBUG] - pieapp.api.registries.themes.registry:parse_template:148 - Can't find minorBackgroundColor/    background-color: @minorBackgroundColor;

[11:25:19] [DEBUG] - pieapp.api.registries.themes.registry:parse_template:148 - Can't find cbBackgroundColor/    border-color: @cbBackgroundColor;

[11:25:19] [DEBUG] - pieapp.api.registries.themes.registry:parse_template:148 - Can't find cbItemSelectedBackgroundColor/    selection-background-color: @cbItemSelectedBackgroundColor;

[11:25:19] [DEBUG] - pieapp.api.registries.themes.registry:parse_template:148 - Can't find cbItemSelectedBackgroundColor/    selection-color: @cbItemSelectedBackgroundColor;

[11:25:19] [DEBUG] - pieapp.api.registries.themes.registry:parse_template:148 - Can't find cbBackgroundColor/    border: @cbBackgroundColor;

[11:25:19] [DEBUG] - pieapp.api.registries.themes.registry:parse_template:148 - Can't find thirdBgColor/    background-color: @thirdBgColor;

[11:25:19] [DEBUG] - pieapp.api.registries.registry:init_from_string:33 - Initializing "SnapshotRegistryClass"
Traceback (most recent call last):
  File "/mnt/storage/home/skinkie/Sources/voice/pie-audio/pie-audio.py", line 5, in <module>
    start_application()
  File "/mnt/storage/home/skinkie/Sources/voice/pie-audio/pieapp/app/start.py", line 66, in start_application
    wizard = StartupWizard()
             ^^^^^^^^^^^^^^^
  File "/mnt/storage/home/skinkie/Sources/voice/pie-audio/pieapp/app/wizard/wizard.py", line 56, in __init__
    ConverterWizardPage(self),
    ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/mnt/storage/home/skinkie/Sources/voice/pie-audio/pieapp/app/wizard/pages/converter.py", line 33, in __init__
    self._download_worker = DownloadWorker()
                            ^^^^^^^^^^^^^^^^
  File "/mnt/storage/home/skinkie/Sources/voice/pie-audio/pieapp/api/converter/workers.py", line 81, in __init__
    archive_file_type: str = ARCHIVE_TYPE_NAME[os.name]
                             ~~~~~~~~~~~~~~~~~^^^^^^^^^
KeyError: 'posix'
@skinkie skinkie linked a pull request Feb 1, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant