[Bug 790613] Re: accerciser crashed with AttributeError in __main__: 'module' object has no attribute 'PARAM_APP_DATADIR'
** Changed in: gnome-python (Debian) Status: Incomplete = New -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-python in Ubuntu. https://bugs.launchpad.net/bugs/790613 Title: accerciser crashed with AttributeError in __main__: 'module' object has no attribute 'PARAM_APP_DATADIR' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-python/+bug/790613/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 790613] Re: accerciser crashed with AttributeError in __main__: 'module' object has no attribute 'PARAM_APP_DATADIR'
** Changed in: gnome-python (Debian) Status: Unknown = Incomplete -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-python in Ubuntu. https://bugs.launchpad.net/bugs/790613 Title: accerciser crashed with AttributeError in __main__: 'module' object has no attribute 'PARAM_APP_DATADIR' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-python/+bug/790613/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 790613] Re: accerciser crashed with AttributeError in __main__: 'module' object has no attribute 'PARAM_APP_DATADIR'
according to upstream (debian): The problem here is due to the fact we have changed python helper (pysupport to dh_python2) and that all the packages that share the same namespace MUST use the same. I should have added tighter Breaks/Dependencies but there are quite some packages involved and that was not that trivial. ** Package changed: accerciser (Ubuntu) = gnome-python (Ubuntu) ** Changed in: gnome-python (Ubuntu) Importance: Undecided = High ** Changed in: gnome-python (Ubuntu) Status: New = Triaged -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-python in Ubuntu. https://bugs.launchpad.net/bugs/790613 Title: accerciser crashed with AttributeError in __main__: 'module' object has no attribute 'PARAM_APP_DATADIR' -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 790613] Re: accerciser crashed with AttributeError in __main__: 'module' object has no attribute 'PARAM_APP_DATADIR'
Do I need to do particular steps to get the crash? On current oneiric I did sudo apt-get install accerciser, run accerciser, and get the main window. The main window displays an exception Traceback (most recent call last): File /usr/lib/pymodules/python2.7/accerciser/plugin/base_plugin.py, line 156, in __call__ return self.func(*args, **kwargs) File /usr/share/accerciser/plugins/interface_view.py, line 91, in init section = _InterfaceSection(ui_xml, self.node, iface_name) File /usr/share/accerciser/plugins/interface_view.py, line 167, in __init__ self._setExpanderChildrenSensitive(False) File /usr/share/accerciser/plugins/interface_view.py, line 226, in _setExpanderChildrenSensitive label = expander.get_label_widget() AttributeError: 'NoneType' object has no attribute 'get_label_widget' but this seems unrelated? (the window doesn't crash) ** Changed in: gnome-python (Ubuntu) Status: Triaged = Incomplete -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-python in Ubuntu. https://bugs.launchpad.net/bugs/790613 Title: accerciser crashed with AttributeError in __main__: 'module' object has no attribute 'PARAM_APP_DATADIR' -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 790613] Re: accerciser crashed with AttributeError in __main__: 'module' object has no attribute 'PARAM_APP_DATADIR'
Ah, this is due to some leftover files: ls -l /usr/lib/pymodules/python2.*/gtk-2.0/*gnome* lrwxrwxrwx 1 root root 50 2011-05-31 21:43 /usr/lib/pymodules/python2.6/gtk-2.0/gnomeapplet.so - /usr/lib/pyshared/python2.6/gtk-2.0/gnomeapplet.so lrwxrwxrwx 1 root root 51 2011-06-01 08:55 /usr/lib/pymodules/python2.6/gtk-2.0/gnomekeyring.so - /usr/lib/pyshared/python2.6/gtk-2.0/gnomekeyring.so lrwxrwxrwx 1 root root 50 2011-05-31 21:43 /usr/lib/pymodules/python2.7/gtk-2.0/gnomeapplet.so - /usr/lib/pyshared/python2.7/gtk-2.0/gnomeapplet.so lrwxrwxrwx 1 root root 51 2011-06-01 08:55 /usr/lib/pymodules/python2.7/gtk-2.0/gnomekeyring.so - /usr/lib/pyshared/python2.7/gtk-2.0/gnomekeyring.so /usr/lib/pymodules/python2.6/gtk-2.0/gnome: total 8 lrwxrwxrwx 1 root root 43 2011-05-31 21:43 applet.py - /usr/share/pyshared/gtk-2.0/gnome/applet.py -rw-r--r-- 1 root root 338 2011-05-31 21:43 applet.pyc -rw-r--r-- 1 root root 0 2011-05-30 10:06 __init__.py -rw-r--r-- 1 root root 141 2011-05-30 14:21 __init__.pyc /usr/lib/pymodules/python2.7/gtk-2.0/gnome: total 8 lrwxrwxrwx 1 root root 43 2011-05-31 21:43 applet.py - /usr/share/pyshared/gtk-2.0/gnome/applet.py -rw-r--r-- 1 root root 338 2011-05-31 21:43 applet.pyc -rw-r--r-- 1 root root 0 2011-05-30 10:06 __init__.py -rw-r--r-- 1 root root 141 2011-05-30 10:06 __init__.pyc while on my (rather clean) system it is lrwxrwxrwx 1 root root 51 2011-06-01 06:40 /usr/lib/pymodules/python2.6/gtk-2.0/gnomekeyring.so - /usr/lib/pyshared/python2.6/gtk-2.0/gnomekeyring.so lrwxrwxrwx 1 root root 51 2011-06-01 06:40 /usr/lib/pymodules/python2.7/gtk-2.0/gnomekeyring.so - /usr/lib/pyshared/python2.7/gtk-2.0/gnomekeyring.so Reproducer: $ sudo mkdir /usr/lib/pymodules/python2.7/gtk-2.0/gnome $ sudo touch /usr/lib/pymodules/python2.7/gtk-2.0/gnome/__init__.py $ python -c 'import gnome; print gnome.PARAM_APP_DATADIR' Traceback (most recent call last): File string, line 1, in module AttributeError: 'module' object has no attribute 'PARAM_APP_DATADIR' ** Changed in: gnome-python (Ubuntu) Status: Incomplete = In Progress ** Changed in: gnome-python (Ubuntu) Assignee: (unassigned) = Martin Pitt (pitti) -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-python in Ubuntu. https://bugs.launchpad.net/bugs/790613 Title: accerciser crashed with AttributeError in __main__: 'module' object has no attribute 'PARAM_APP_DATADIR' -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 790613] Re: accerciser crashed with AttributeError in __main__: 'module' object has no attribute 'PARAM_APP_DATADIR'
I committed a fix to the Debian svn, and uploaded a test package to https://launchpad.net/~pitti/+archive/ppa -- would you be able to test this? It should clean up the cruft. ** Changed in: gnome-python (Ubuntu) Status: In Progress = Fix Committed -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-python in Ubuntu. https://bugs.launchpad.net/bugs/790613 Title: accerciser crashed with AttributeError in __main__: 'module' object has no attribute 'PARAM_APP_DATADIR' -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 790613] Re: accerciser crashed with AttributeError in __main__: 'module' object has no attribute 'PARAM_APP_DATADIR'
I confirm that the package from the PPA fixes this issue with accerciser. --- Ubuntu Bug Squad volunteer triager http://wiki.ubuntu.com/BugSquad -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-python in Ubuntu. https://bugs.launchpad.net/bugs/790613 Title: accerciser crashed with AttributeError in __main__: 'module' object has no attribute 'PARAM_APP_DATADIR' -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 790613] Re: accerciser crashed with AttributeError in __main__: 'module' object has no attribute 'PARAM_APP_DATADIR'
This bug was fixed in the package gnome-python - 2.28.1-3 --- gnome-python (2.28.1-3) unstable; urgency=low [ Josselin Mouette ] * Drop incorrect ${python:Provides}. [ Martin Pitt ] * debian/control.in: Add Conficts/Replaces: python-gnomecanvas. This only existed in Ubuntu (which now is getting rid of this delta), and is a no-op for Debian. * debian/watch: Fix syntax to actually catch latest version. Also move to *.bz2, upstream does not release .gz tarballs any more. * debian/python-gnome2.postinst: Remove old __init__.py{,c} cruft from pysupport, which causes bad imports after upgrades. (LP: #790613) -- Martin Pitt martin.p...@ubuntu.com Wed, 08 Jun 2011 17:03:35 +0200 ** Changed in: gnome-python (Ubuntu) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-python in Ubuntu. https://bugs.launchpad.net/bugs/790613 Title: accerciser crashed with AttributeError in __main__: 'module' object has no attribute 'PARAM_APP_DATADIR' -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 790613] Re: accerciser crashed with AttributeError in __main__: 'module' object has no attribute 'PARAM_APP_DATADIR'
** Branch linked: lp:ubuntu/gnome-python -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-python in Ubuntu. https://bugs.launchpad.net/bugs/790613 Title: accerciser crashed with AttributeError in __main__: 'module' object has no attribute 'PARAM_APP_DATADIR' -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs