I am trying to get RPD running on WSL2 in Windows 10. I am able to install it properly, but I am not able to run it. I get the following error when started from the command line:
erik@DskWoonkamer:~$ rapid-photo-downloader
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.36', 'gui_scripts', 'rapid-photo-downloader')())
File "/usr/bin/rapid-photo-downloader", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 171, in load
module = import_module(match.group('module'))
File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/lib/python3/dist-packages/raphodo/__init__.py", line 97, in <module>
localedir = locale_directory()
File "/usr/lib/python3/dist-packages/raphodo/__init__.py", line 69, in locale_directory
assert Path(data_home).is_dir()
AssertionError
The WSL2 setup is probably not the problem, I am able to run other GUI apps without problems (e.g. Nautilus, GNOME editor, GnuCash, darktable).
WSL-versie: 2.1.5.0
Kernelversie: 5.15.146.1-2
WSLg-versie: 1.0.60
MSRDC-versie: 1.2.5105
Direct3D-versie: 1.611.1-81528511
DXCore-versie: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows-versie: 10.0.19045.4170
My questions:
- Does anyone know how to solve this?
- Does anyone have a similar setup (W10, WSL2, RPD) that is working?