python still seems to crash when trying to list the modules without access to X 
display.
Seems to be due to /usr/lib/python2.5/site-packages/gnomebtdownload/client.py ( 
line 50), which belongs to gnome-btdownload version 0.0.30-2, see log below.

log:

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.10
DISTRIB_CODENAME=intrepid
DISTRIB_DESCRIPTION="Ubuntu 8.10"

$ xedit
Error: Can't open display:
$ python
Python 2.5.2 (r252:60911, Oct 5 2008, 19:24:49)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> help()

Welcome to Python 2.5! This is the online help utility.

If this is your first time using Python, you should definitely check out
the tutorial on the Internet at http://www.python.org/doc/tut/.

Enter the name of any module, keyword, or topic to get help on writing
Python programs and using Python modules. To quit this help utility and
return to the interpreter, just type "quit".

To get a list of available modules, keywords, or topics, type "modules",
"keywords", or "topics". Each module also comes with a one-line summary
of what it does; to list the modules whose summaries contain a given word
such as "spam", type "modules spam".

help> modules

Please wait a moment while I gather a list of all available modules...

/var/lib/python-support/python2.5/gtk-2.0/gtk/__init__.py:72: GtkWarning: could 
not open display
warnings.warn(str(e), _gtk.Warning)
/usr/lib/python2.5/site-packages/Ft/Lib/ImportUtil.py:362: UserWarning: Module 
test was already imported from /usr/lib/python2.5/test/__init__.pyc, but 
/var/lib/python-support/python2.5 is being added to sys.path
from pkg_resources import get_provider, resource_filename
/usr/lib/python2.5/site-packages/deskbar/core/keybinder/__init__.py:1: 
GtkWarning: gdk_keymap_get_for_display: assertion `GDK_IS_DISPLAY (display)' 
failed
from _keybinder import *
/usr/lib/python2.5/site-packages/deskbar/core/keybinder/__init__.py:1: 
GtkWarning: gdk_screen_get_root_window: assertion `GDK_IS_SCREEN (screen)' 
failed
from _keybinder import *

** (.:15099): CRITICAL **: egg_keymap_resolve_virtual_modifiers:
assertion `GDK_IS_KEYMAP (keymap)' failed

** (.:15099): CRITICAL **: egg_keymap_resolve_virtual_modifiers:
assertion `GDK_IS_KEYMAP (keymap)' failed

** (.:15099): CRITICAL **: egg_keymap_resolve_virtual_modifiers: assertion 
`GDK_IS_KEYMAP (keymap)' failed
/usr/lib/python2.5/site-packages/deskbar/core/keybinder/__init__.py:1: Warning: 
invalid (NULL) pointer instance
from _keybinder import *
/usr/lib/python2.5/site-packages/deskbar/core/keybinder/__init__.py:1: Warning: 
g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
from _keybinder import *
GConf Error: Failed to contact configuration server; some possible causes are 
that you need to enable TCP/IP networking for ORBit, or you have stale NFS 
locks due to a system crash. See http://www.gnome.org/projects/gconf/ for 
information. (Details - 1: Not running within active session)
GConf Error: Failed to contact configuration server; some possible causes are 
that you need to enable TCP/IP networking for ORBit, or you have stale NFS 
locks due to a system crash. See http://www.gnome.org/projects/gconf/ for 
information. (Details - 1: Not running within active session)
/usr/lib/python2.5/site-packages/deskbar/core/Utils.py:25: GtkWarning: 
gtk_icon_theme_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
ICON_THEME = gtk.icon_theme_get_default()
GConf Error: Failed to contact configuration server; some possible causes are 
that you need to enable TCP/IP networking for ORBit, or you have stale NFS 
locks due to a system crash. See http://www.gnome.org/projects/gconf/ for 
information. (Details - 1: Not running within active session)
GConf Error: Failed to contact configuration server; some possible causes are 
that you need to enable TCP/IP networking for ORBit, or you have stale NFS 
locks due to a system crash. See http://www.gnome.org/projects/gconf/ for 
information. (Details - 1: Not running within active session)
GConf Error: Failed to contact configuration server; some possible causes are 
that you need to enable TCP/IP networking for ORBit, or you have stale NFS 
locks due to a system crash. See http://www.gnome.org/projects/gconf/ for 
information. (Details - 1: Not running within active session)
No handlers could be found for logger "deskbar.core.Utils"
/usr/lib/python2.5/site-packages/gnomebtdownload/client.py:50: GtkWarning: 
cannot open display:
gnome_program = gnome.program_init(app_name, app_version)
$

-- 
Unable to get list of available modules in python's online help.
https://bugs.launchpad.net/bugs/189109
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to