Skip to content
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

Fails to launch due to AttributeError with qdarktheme module when installed using pip3 on python 3.12 #137

Open
DamienNB opened this issue Feb 23, 2024 · 1 comment
Labels
bug Something isn't working py_312

Comments

@DamienNB
Copy link

Describe the bug
vocabsieve installed on Fedora 39 now fails to launch.

To Reproduce
Steps to reproduce the behavior:

  1. Run pip3 install --user --upgrade --force-reinstall vocabsieve
  2. After installation is complete, attempt to start vocabsieve

Expected behavior
vocabsieve shouldn't fail to start

Logs
When trying to launch vocabsieve from the terminal, this is the output:

Traceback (most recent call last):
  File "/home/[username]/.local/bin/vocabsieve", line 5, in <module>
    from vocabsieve.main import main
  File "/home/[username]/.local/lib/python3.12/site-packages/vocabsieve/main.py", line 22, in <module>
    from .global_names import datapath, lock, app # First local import
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/[username]/.local/lib/python3.12/site-packages/vocabsieve/global_names.py", line 40, in <module>
    qdarktheme.enable_hi_dpi()
    ^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'qdarktheme' has no attribute 'enable_hi_dpi'

Desktop (please complete the following information):

  • OS: Fedora Workstation 39 x86_64
  • pip3 version: pip-24.0-py3-none-any
  • Vocabsieve version (if nightly, must be latest): vocabsieve-0.11.1-py3-none-any
@DamienNB DamienNB added the bug Something isn't working label Feb 23, 2024
@1over137
Copy link
Contributor

I'll look into this. Do note that VocabSieve is currently tested with python 3.11. A lot of dependencies probably do not work for 3.12 yet. Either use a virtual environment with 3.11 or use the AppImage.

@1over137 1over137 changed the title Fails to launch due to AttributeError with qdarktheme module when installed using pip3 on Fedora Workstation 39 Fails to launch due to AttributeError with qdarktheme module when installed using pip3 on python 3.12 Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working py_312
Projects
None yet
Development

No branches or pull requests

2 participants