reassign 451104 python-wxgtk2.6 2.6.3.2.2-1
retitle 451104 wxPython segfaults if DISPLAY is not set
thanks

Hi

Dne Tue, 13 Nov 2007 12:36:28 +0100
Florian Lohoff <[EMAIL PROTECTED]> napsal(a):

> wammu does not seem to handle the case where no DISPLAY var is
> not set. I think a segfault is not a graceful handling ...
> 
> [EMAIL PROTECTED]:~$ wammu
[...]
> ------------------ Traceback ID -------------------
> 949eb287b5e8e7b0cd37cc4b06104818
> -------------------- Traceback --------------------
>   File "/usr/bin/wammu", line 99, in ?
>     Wammu.App.Run()
>   File "/usr/lib/python2.4/site-packages/Wammu/App.py", line 69, in Run
>     app = WammuApp()
>   File "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/_core.py", 
> line 7700, in __init__
>     self._BootstrapApp()
>   File "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/_core.py", 
> line 7352, in _BootstrapApp
>     return _core_.PyApp__BootstrapApp(*args, **kwargs)
> -------------------- Exception --------------------
> SystemError: wxEntryStart failed, unable to initialize wxWidgets!  (Is 
> DISPLAY set properly?)
> ---------------------------------------------------
> 
> Segmentation fault

This seems to be general wxPython issue, same happens with any wxPython
example, eg:

$ python TextCtrl.py 
wx.VERSION_STRING = 2.6.3.2 (unicode)
pid: 28011
Traceback (most recent call last):
  File "TextCtrl.py", line 172, in ?
    run.main(['', os.path.basename(sys.argv[0])] + sys.argv[1:])
  File "/tmp/foo/wxPython/run.py", line 147, in main
    app = RunDemoApp(name, module, useShell)
  File "/tmp/foo/wxPython/run.py", line 47, in __init__
    wx.App.__init__(self, redirect=False)
  File "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/_core.py", line 
7700, in __init__
    self._BootstrapApp()
  File "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/_core.py", line 
7352, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
SystemError: wxEntryStart failed, unable to initialize wxWidgets!  (Is DISPLAY 
set properly?)
Neoprávněný přístup do paměti (SIGSEGV)

Reassigning to wxPython.

-- 
        Michal Čihař | http://cihar.com | http://blog.cihar.com

Attachment: signature.asc
Description: PGP signature

Reply via email to