[bug #4099] (thuban) Doesn't work with python-wxgtk 2.6

Request Tracker thuban-bugs at intevation.de
Fri Feb 17 07:04:37 CET 2006


this bug's URL: http://intevation.de/rt/webrt?serial_num=4099
-------------------------------------------------------------------------

Subject: Doesn't work with python-wxgtk 2.6

Operating System: GNU/Linux, Debian Unstable
Thuban version: 1.0.1
wxPython version: other, 2.6.1.2
Python version: 2.3.1
PySQLite version: other, 1.0.1-4
SQLite version: other, 2.8.16-1
GDAL version: other, 1.3.1-4
proj version: other, NA

Compiling thuban with python-wxgtk2.6 results in this failure:

pabs at chianamo:~$ thuban
No thubanstart module available
An unhandled exception occurred:
wxWindow, wxSizer, wxSize, or (w,h) expected for item
(please report to http://thuban.intevation.org/bugtracker.html)

Traceback (most recent call last):
  File "/usr/bin/thuban", line 23, in ?
    Thuban.UI.main.main()
  File "/usr/lib/thuban/Thuban/UI/main.py", line 31, in main
    app = ThubanApplication(0)
  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)
  File "/usr/lib/thuban/Thuban/UI/application.py", line 73, in OnInit
    self.top = self.CreateMainWindow()
  File "/usr/lib/thuban/Thuban/UI/application.py", line 161, in CreateMainWindow
    size = (600, 400))
  File "/usr/lib/thuban/Thuban/UI/mainwindow.py", line 113, in __init__
    self.ShowLegend()
  File "/usr/lib/thuban/Thuban/UI/mainwindow.py", line 712, in ShowLegend
    self.ToggleLegend()
  File "/usr/lib/thuban/Thuban/UI/mainwindow.py", line 721, in ToggleLegend
    legend.LegendPanel(dialog, None, self)
  File "/usr/lib/thuban/Thuban/UI/legend.py", line 147, in __init__
    self.Create()
  File "/usr/lib/thuban/Thuban/UI/dock.py", line 61, in Create
    self.parent.SetPanel(self)
  File "/usr/lib/thuban/Thuban/UI/dock.py", line 145, in SetPanel
    self.__CreateBorder()
  File "/usr/lib/thuban/Thuban/UI/dock.py", line 378, in __CreateBorder
    headerBox.Add(1, 5, 1, wxGROW)
  File "/usr/lib/python2.3/site-packages/wx-2.6-gtk2-unicode/wx/_core.py", line 11472, in Add
    return _core_.Sizer_Add(*args, **kwargs)
TypeError: wxWindow, wxSizer, wxSize, or (w,h) expected for item

It would be nice if you could update thuban so it works with the newer wxwidgets, which is much nicer, and uses GTK2.

-------------------------------------------- Managed by Request Tracker




More information about the Thuban-devel mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)