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

GUI failing because of missing enable_hi_dpi attribute in qdarktheme #345

Open
1 task done
Matgoeth opened this issue Jan 20, 2025 · 1 comment
Open
1 task done
Labels
bug Something isn't working question Further information is requested

Comments

@Matgoeth
Copy link

You must use the search before you create an issue!

  • I did use the search, I promise!

What happened?

Hello! Thanks for working on tidal-dl-ng, it's an amazing piece of software!

I tried to upgrade to latest (v0.24.6) version and GUI doesn't seem to load anymore (logs attached below). I used Conda to create separate environment with Python 3.12, previously was on 3.11 and v0.23.0 works just fine. I preemptively removed token.json and settings.json to rule out them messing me up, but unfortunately it didn't help. Happy to help more if I can.

Version App

v0.24.6

What operating system do you use?

Linux

Version OS

Fedora Linux 41

Relevant log output

Traceback (most recent call last):
  File "/home/mati/.conda/envs/envp312/bin/tidal-dl-ng-gui", line 8, in <module>
    sys.exit(gui_activate())
             ^^^^^^^^^^^^^^
  File "/home/mati/.conda/envs/envp312/lib/python3.12/site-packages/tidal_dl_ng/gui.py", line 1116, in gui_activate
    qdarktheme.enable_hi_dpi()
    ^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'qdarktheme' has no attribute 'enable_hi_dpi'

Your settings

# SETTINGS BELOW SHOULDN'T BE RELEVANT (I DELETED THEM TO BE SURE THEY DON'T MESS THINGS UP)

{
    "skip_existing": true,
    "lyrics_embed": false,
    "lyrics_file": false,
    "video_download": true,
    "download_delay": true,
    "download_base_path": "/home/mati/Downloads/tidal",
    "quality_audio": "LOSSLESS",
    "quality_video": "480",
    "format_album": "Albums/{album_artist} - {album_title}{album_explicit}/{track_volume_num_optional}{album_track_num}. {artist_name} - {track_title}{album_explicit}",
    "format_playlist": "Playlists/{playlist_name}/{artist_name} - {track_title}",
    "format_mix": "Mix/{mix_name}/{artist_name} - {track_title}",
    "format_track": "Tracks/{artist_name} - {track_title}{track_explicit}",
    "format_video": "Videos/{artist_name} - {track_title}{track_explicit}",
    "video_convert_mp4": false,
    "path_binary_ffmpeg": "",
    "metadata_cover_dimension": "320",
    "metadata_cover_embed": true,
    "cover_album_file": true,
    "extract_flac": false,
    "downloads_simultaneous_per_track_max": 20,
    "download_delay_sec_min": 3.0,
    "download_delay_sec_max": 5.0,
    "album_track_num_pad_min": 1,
    "downloads_concurrent_max": 3,
    "symlink_to_track": false,
    "playlist_create": false
}
@Matgoeth Matgoeth added the bug Something isn't working label Jan 20, 2025
@exislow
Copy link
Owner

exislow commented Jan 21, 2025

The dependency definitely has this method: https://github.com/henriquegemignani/PyQtDarkTheme/blob/e345b5cdeeef9defe429b422558c92d2900598cc/qdarktheme/_main.py#L55

Please read direction on how to create an issue while creating an issue CAREFULLY: Write down everything on how to re-produce this error (this includes all commands you have used to install this app and how you have executed it). I also do not recommend to use conda.

@exislow exislow added the question Further information is requested label Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants