Public bug reported: Binary package hint: python-gnome2
When trying to execute the following Python code: import gnome print gnome.user_dir_get() the result is None. Expected behaviour is (I guess) to return string containing the user's gnome2 directory. This function is used in some gedit plugins (ie. Profile plugin, http://yguarata.com/blog/2008/07/04 /gedit-plugin-to-exportimport-tools-and-plugins/) and causes their activation to fail: Traceback (most recent call last): File "/home/zzarko/.gnome2/gedit/plugins/ProfilePlugin.py", line 35, in module PROFILE_TEMP = gnome.user_dir_get() + '/gedit-profile.tar.gz' TypeError: unsupported operand type(s) for +: 'NoneType' and 'str' Tried on Ubuntu 10.04 with latest updates. python-gnome2 is 2.28.0. Some other Python gnome libraries are also 2.28.0, while others are 2.30.0. Gnome is 2.30.0 (maybe that's the problem?). ** Affects: gnome-python (Ubuntu) Importance: Undecided Status: New -- gnome.user_get_dir() returns None on Lucid https://bugs.launchpad.net/bugs/615885 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-python in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs