https://bugzilla.novell.com/show_bug.cgi?id=794139 https://bugzilla.novell.com/show_bug.cgi?id=794139#c0 Summary: devel:languages:python:Factory/python: Bug: gettext.py patch for language bundle breaks if domain is None, e.g. application gnome-schedule Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: 3rd party software AssignedTo: jmatejek@suse.com ReportedBy: eg@gaute.vetsj.com QAContact: opensuse-communityscreening@forge.provo.novell.com Found By: --- Blocker: --- I am the developer of gnome-schedule (not the package) and a user reported the following error while trying to start gnome-schedule: $ gnome-schedule Traceback (most recent call last): File "/usr/share/gnome-schedule/gnome-schedule.py", line 27, in <module> import mainWindow File "/usr/share/gnome-schedule/mainWindow.py", line 37, in <module> import crontab File "/usr/share/gnome-schedule/crontab.py", line 27, in <module> import lang File "/usr/share/gnome-schedule/lang.py", line 84, in <module> if gettext.find(domain) == None: File "/usr/lib/python2.7/gettext.py", line 426, in find if len(bundle): TypeError: object of type 'NoneType' has no len() Python is version: 2.7.3-3.6.1 It turns out the problematic line in gettext is introduced by this patch: https://build.opensuse.org/package/view_file?expand=1&file=python-bundle-lang.patch&package=python&project=devel%3Alanguages%3Apython%3AFactory the error is not reproducible on non-SUSE systems with an unmodified gettext.py. A possible solution is to replace: + if len(bundle): with: + if bundle is not None and len(bundle): Best regards, Gaute Hope -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.