Package: pype
Version: 2.2.1-1
Severity: minor

pype segfaults with the following error message if the DISPLAY variable
is not set:

[ Sat Jan 21 17:36:32 2006 ] Traceback (most recent call last):
  File "/usr/bin/pype", line 6, in ?
    pype.main()
  File "/usr/share/pype/pype.py", line 4077, in main
    app = wxPySimpleApp()
  File "/usr/lib/python2.3/site-packages/wx-2.6-gtk2-unicode/wx/_core.py", line 
7564, in __init__
    wx.App.__init__(self, redirect, filename, useBestVisual, clearSigInt)
  File "/usr/lib/python2.3/site-packages/wx-2.6-gtk2-unicode/wx/_core.py", line 
7473, in __init__
    self._BootstrapApp()
  File "/usr/lib/python2.3/site-packages/wx-2.6-gtk2-unicode/wx/_core.py", line 
7125, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
SystemError: wxEntryStart failed, unable to initialize wxWidgets!  (Is DISPLAY 
set properly?)
Segmentation fault

pype should better display an informative error message.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-13-386
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages pype depends on:
ii  python                        2.3.5-5    An interactive high-level object-o
ii  python-wxgtk2.6               2.6.1.2    wxWidgets Cross-platform C++ GUI t

pype recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to