[Bug 828369] New: Gramps 4.0 needs GTKSpell3 but, when this is included from Factory, Gramps will be installed OK but will not run.
https://bugzilla.novell.com/show_bug.cgi?id=828369 https://bugzilla.novell.com/show_bug.cgi?id=828369#c0 Summary: Gramps 4.0 needs GTKSpell3 but, when this is included from Factory, Gramps will be installed OK but will not run. Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: x86-64 OS/Version: openSUSE 12.3 Status: NEW Severity: Critical Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: hacker@scarlet-jade.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:22.0) Gecko/20100101 Firefox/22.0 Gramps 4.0 on Gnome:Apps repo can't be installed asis because of a lack of an up-to-date version of GTKSpell3. If the Gnome factory repo is included, YAST installs Gramps with no complaint. However, the program will not start and produces the following error when started from console: ----- No handlers could be found for logger "grampslocale" Traceback (most recent call last): File "/usr/bin/gramps", line 2, in <module> import gramps.grampsapp as app File "/usr/lib/python2.7/site-packages/gramps/grampsapp.py", line 54, in <module> from .gen.const import APP_GRAMPS, USER_DIRLIST, HOME_DIR File "/usr/lib/python2.7/site-packages/gramps/gen/const.py", line 195, in <module> GRAMPS_LOCALE = GrampsLocale(localedir=_resources.locale_dir) File "/usr/lib/python2.7/site-packages/gramps/gen/utils/grampslocale.py", line 541, in __init__ self.language) File "/usr/lib/python2.7/site-packages/gramps/gen/utils/grampslocale.py", line 573, in _get_translation if gettext.find(domain, localedir, [lang]): File "/usr/lib64/python2.7/gettext.py", line 426, in find if len(bundle): TypeError: object of type 'NoneType' has no len() ----- Now, some may say I shouldn't be using Gnome:Apps repo but this repo is the only way of getting bug-fixes for Gnome apps such as this one and Gnucash for example. The added problem of not passing updates from Gnome:Apps up the chain is that bug-fixes for Gramps, which were on the Apps repo, have now been replaced by a version that doesn't work. The latest version of OSS repo is 3.4.2 whereas, before 4.0 appeared, I'd been using 3.4.4 from Apps, so, as the latest working version of Gramps3 is 3.4.5, I'm three bug-fixed versions adrift. Reproducible: Always Steps to Reproduce: 1.Install Gramps [from OSS repo] 2.Add Gnome:Apps repo 3.Update Gramps to 4.0.1 - or attempt to do so. 4.Add Gnome Factory repo for GTKSpell 3. 5.Update Gramps to 4.0.1 - should work now. 6.Try starting Gramps. I run on KDE but installed Gnome and found that Gramps4 also failed to start on that desktop. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=828369 https://bugzilla.novell.com/show_bug.cgi?id=828369#c FeiXiang Zhang <fxzhang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |os.gnome.maintainers@gmail. |ovo.novell.com |com -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=828369 https://bugzilla.novell.com/show_bug.cgi?id=828369#c1 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |dimstar@opensuse.org InfoProvider| |hacker@scarlet-jade.com --- Comment #1 from Dominique Leuenberger <dimstar@opensuse.org> 2013-07-08 07:48:35 UTC --- a) GtkSpell3 has been published into GNOME:Apps on July 5th already (before you wrote this bug). So the fact that this was not available for you is worrying. Can you please let me know which repository URL you used? zypper lr -u should help The 2nd one looks, imho, even weirder.. but then again, not different from what I fixed like two weeks ago. Can you pleae check the file /usr/lib/python2.7/site-packages/gramps/gen/utils/resource-path it should contain /usr/share, without any newline at the end. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=828369 https://bugzilla.novell.com/show_bug.cgi?id=828369#c2 Graham Davis <hacker@scarlet-jade.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|hacker@scarlet-jade.com | --- Comment #2 from Graham Davis <hacker@scarlet-jade.com> 2013-07-08 11:48:48 UTC --- Although I wrote the bug after GtkSpell3 appeared in GNOME:Apps, I'd installed and tested it beforehand. Sorry for slowness in filling bug report. I've now uninstalled Gramps and GtkSpell3 and re-installed both from GNOME:Apps (http://download.opensuse.org/repositories/GNOME:/Apps/openSUSE_12.3/). I get the same error message as before. I've checked the file you mentioned and contains nothing but /usr/share. Just in case there was anything funny lying around after installing GtkSpell3 - and anything else? - from Factory, I've just tried a new install of Gramps on a different machine and got the same failure message. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=828369 https://bugzilla.novell.com/show_bug.cgi?id=828369#c3 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |hacker@scarlet-jade.com --- Comment #3 from Dominique Leuenberger <dimstar@opensuse.org> 2013-07-08 11:53:50 UTC --- (In reply to comment #2)
Just in case there was anything funny lying around after installing GtkSpell3 - and anything else? - from Factory, I've just tried a new install of Gramps on a different machine and got the same failure message.
Ok.. you hint in the right direction. What version of GTK3 do you have installed? rpm -q libgtk-3-0 I know that on Factory there is a breakage due to that, but this is not the case on 12.3 (which I verified already and I heard from other users that they run it). -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=828369 https://bugzilla.novell.com/show_bug.cgi?id=828369#c4 Graham Davis <hacker@scarlet-jade.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|hacker@scarlet-jade.com | --- Comment #4 from Graham Davis <hacker@scarlet-jade.com> 2013-07-08 14:01:19 UTC --- Response from 'rpm -q libgtk-3-0' is libgtk-3-0-3.6.4-2.1.1.x86_64. This is the version that is in the 12.3 OSS repo. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=828369 https://bugzilla.novell.com/show_bug.cgi?id=828369#c5 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |jmatejek@suse.com InfoProvider| |jmatejek@suse.com --- Comment #5 from Dominique Leuenberger <dimstar@opensuse.org> 2013-07-08 20:14:50 UTC --- (In reply to comment #0)
File "/usr/lib/python2.7/site-packages/gramps/gen/utils/grampslocale.py", line 573, in _get_translation if gettext.find(domain, localedir, [lang]): File "/usr/lib64/python2.7/gettext.py", line 426, in find if len(bundle): TypeError: object of type 'NoneType' has no len() -----
This trace back looks actually very close to what was observed in bug 794139, whcih was related to a different package. @Jan: any idea 'just like that' springing to mind? I can't seem to find any fix as mentioned in the referenced bug, neither in Factory nor 12.3 Update channel -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=828369 https://bugzilla.novell.com/show_bug.cgi?id=828369#c6 --- Comment #6 from Dominique Leuenberger <dimstar@opensuse.org> 2013-07-08 20:25:55 UTC --- Actually, I do see the fix on Factory.. only 12.3 seems not released. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=828369 https://bugzilla.novell.com/show_bug.cgi?id=828369#c7 Jan Matejek <jmatejek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|jmatejek@suse.com | --- Comment #7 from Jan Matejek <jmatejek@suse.com> 2013-07-15 14:49:54 UTC --- Yeah, this exact problem is fixed in Factory. IIRC this was a bug introduced by our own patch - testing for non-zero length of 'bundle' is wrong, because 'bundle' can be None or a list. The test is now replaced by simple 'if bundle:'; truth value of None and empty list is False, while non-empty list is True i honestly don't remember whether a submission about this one exists for 12.3. should I create one? -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=828369 https://bugzilla.novell.com/show_bug.cgi?id=828369#c8 --- Comment #8 from Dominique Leuenberger <dimstar@opensuse.org> 2013-07-15 15:06:55 UTC --- (In reply to comment #7)
Yeah, this exact problem is fixed in Factory. IIRC this was a bug introduced by our own patch - testing for non-zero length of 'bundle' is wrong, because 'bundle' can be None or a list. The test is now replaced by simple 'if bundle:'; truth value of None and empty list is False, while non-empty list is True
i honestly don't remember whether a submission about this one exists for 12.3. should I create one?
@Jan I couldn't find an update or a pending one.. and the fix is simple enough with bad enough effects if not there, so I would say 'yes, please do submit the fix for 12.3'. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=828369 https://bugzilla.novell.com/show_bug.cgi?id=828369#c9 Jan Matejek <jmatejek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #9 from Jan Matejek <jmatejek@suse.com> 2013-07-15 15:54:44 UTC --- maintenance incident #183136 -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=828369 https://bugzilla.novell.com/show_bug.cgi?id=828369#c10 --- Comment #10 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-07-15 18:00:16 CEST --- This is an autogenerated message for OBS integration: This bug (828369) was mentioned in https://build.opensuse.org/request/show/183136 Maintenance / -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=828369 https://bugzilla.novell.com/show_bug.cgi?id=828369#c11 --- Comment #11 from Swamp Workflow Management <swamp@suse.de> 2013-07-22 11:05:22 UTC --- openSUSE-RU-2013:1226-1: An update that has two recommended fixes can now be installed. Category: recommended (moderate) Bug References: 794139,828369 CVE References: Sources used: openSUSE 12.3 (src): python-2.7.3-10.4.1, python-base-2.7.3-10.4.1, python-doc-2.7-10.4.1 -- 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.
participants (1)
-
bugzilla_noreply@novell.com