FS#66089 - [rapid-photo-downloader] Fails to start on 0.9.20-1

Attached to Project: Community Packages
Opened by Corey Zeller (cbz) - Thursday, 02 April 2020, 23:38 GMT
Last edited by Eli Schwartz (eschwartz) - Wednesday, 20 May 2020, 18:55 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jaroslav Lichtblau (Dragonlord)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

rapid-photo-downloader fails to start since upgrading to 0.9.20-1.

$ rapid-photo-downloader
WARNING: CPU random generator seem to be failing, disable hardware random number generation
WARNING: RDRND generated: 0xffffffff 0xffffffff 0xffffffff 0xffffffff
Traceback (most recent call last):
File "/usr/bin/rapid-photo-downloader", line 11, in <module>
load_entry_point('rapid-photo-downloader==0.9.20', 'gui_scripts', 'rapid-photo-downloader')()
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 490, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2859, in load_entry_point
return ep.load()
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2450, in load
return self.resolve()
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2456, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/lib/python3.8/site-packages/raphodo/__init__.py", line 104, in <module>
lang = gettext.translation(i18n_domain, localedir=localedir, languages=lang)
File "/usr/lib/python3.8/gettext.py", line 583, in translation
mofiles = find(domain, localedir, languages, all=True)
File "/usr/lib/python3.8/gettext.py", line 554, in find
for nelang in _expand_lang(lang):
File "/usr/lib/python3.8/gettext.py", line 213, in _expand_lang
loc = locale.normalize(loc)
File "/usr/lib/python3.8/locale.py", line 401, in normalize
code = localename.lower()
AttributeError: 'NoneType' object has no attribute 'lower'
This task depends upon

Closed by  Eli Schwartz (eschwartz)
Wednesday, 20 May 2020, 18:55 GMT
Reason for closing:  Upstream
Additional comments about closing:  https://bugs.launchpad.net/rapid/+bug/18 70566

Fixed upstream in https://bazaar.launchpad.net/~dlynch3/ra pid/zeromq_pyqt/revision/1226

And released as 0.9.21
Comment by loqs (loqs) - Friday, 03 April 2020, 00:53 GMT
@cbz please try the following patch as a work around. The issue should be reported upstream so upstream can fix it.
Comment by Corey Zeller (cbz) - Friday, 03 April 2020, 15:22 GMT
Thank you, the attached patch worked. I will report the problem upstream.
Comment by mattia (nTia89) - Sunday, 03 May 2020, 07:51 GMT
I have just installed `rapid-photo-downloader-0.9.23-1` and it works flawless

Loading...