damonlynch / rapid-photo-downloader

Rapid Photo Downloader is the leading photo and video downloader for the Linux desktop.
https://damonlynch.net/rapid
GNU General Public License v3.0
114 stars 30 forks source link

Problems with python at rpd opening #124

Closed luckyboy94120 closed 7 months ago

luckyboy94120 commented 7 months ago

rpd-bug-report-20240212.tar.gz Hi guys!

I have this problem at rapid-photo-downloader opening, can you help me please?

Traceback (most recent call last): File "/usr/bin/rapid-photo-downloader", line 33, in <module> sys.exit(load_entry_point('rapid-photo-downloader==0.9.34', 'gui_scripts', 'rapid-photo-downloader')()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/raphodo/rapid.py", line 7877, in main rw = RapidWindow( ^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/raphodo/rapid.py", line 561, in __init__ self.prefs.check_show_system_folders() File "/usr/lib/python3.11/site-packages/raphodo/prefs/preferences.py", line 1173, in check_show_system_folders if self.source_or_destination_is_system_folder(): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/raphodo/prefs/preferences.py", line 1187, in source_or_destination_is_system_folder if get_media_dir().startswith("/run"): ^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/raphodo/storage/storage.py", line 272, in get_media_dir distro = get_distro() ^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/raphodo/storage/storage.py", line 164, in get_distro os_release = parse_os_release() ^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/raphodo/storage/storage.py", line 149, in parse_os_release k, v = line.split("=", maxsplit=1) ^^^^ ValueError: not enough values to unpack (expected 2, got 1) thanks

damonlynch commented 7 months ago

You are running openSUSE Tumbleweed?

See https://github.com/damonlynch/rapid-photo-downloader/issues/122

damonlynch commented 7 months ago

Marking as duplicate of #122. Let me know if it is not.