[thuban-Bugs][501] profiling and draw_shape extension crashes thuban at startup
thuban-bugs@wald.intevation.org
thuban-bugs at wald.intevation.org
Thu Oct 4 18:42:00 CEST 2007
Bugs item #501, was opened at 2007-10-04 18:42
Status: Open
Priority: 3
Submitted By: Didrik Pinte (dpinte)
Assigned to: Nobody (None)
Summary: profiling and draw_shape extension crashes thuban at startup
Resolution: None
Version: None
Category: None
Initial Comment:
When profiling extension or draw_shape extension are enabled in thubanstart.py the following error appears :
did at ddp:~/projets/python/thuban/current/thuban$ python thuban.py
Problems with PyOGCLib (not installed?)
An unhandled exception occurred:
argument number 1: a 'wxWindow *' is expected, 'PySwigObject(_p_wxPyApp)' is received
(please report to http://thuban.intevation.org/bugtracker.html)
Traceback (most recent call last):
File "thuban.py", line 36, in ?
Thuban.UI.main.main()
File "/home/did/projets/python/thuban/current/thuban/Thuban/UI/main.py", line 31, in main
app = application.ThubanApplication(0)
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)
File "/home/did/projets/python/thuban/current/thuban/Thuban/UI/application.py", line 75, in OnInit
self.read_startup_files()
File "/home/did/projets/python/thuban/current/thuban/Thuban/UI/application.py", line 110, in read_startup_files
exceptiondialog.run_exception_dialog(self, "cannot import mod %s" %str(e))
File "/home/did/projets/python/thuban/current/thuban/Thuban/UI/exceptiondialog.py", line 62, in run_exception_dialog
dialog = ExceptionDialog(parent, message, title)
File "/home/did/projets/python/thuban/current/thuban/Thuban/UI/exceptiondialog.py", line 26, in __init__
style = wx.RESIZE_BORDER|wx.CAPTION|wx.DIALOG_MODAL)
File "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/_windows.py", line 640, in __init__
newobj = _windows_.new_Dialog(*args, **kwargs)
TypeError: argument number 1: a 'wxWindow *' is expected, 'PySwigObject(_p_wxPyApp)' is received
This is strange. It seems there is a side-effect somewhere but I don't get it ...
----------------------------------------------------------------------
You can respond by visiting:
http://wald.intevation.org/tracker/?func=detail&atid=105&aid=501&group_id=6
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)