[root: Re: wxpython2.5 problem]

Yao Heling yaoheling at yahoo.com
Tue Dec 7 17:14:17 CET 2004


On Tue, Dec 07, 2004 at 04:07:02PM +0100, Bernhard
Herzog wrote:
> Yao Heling <yaoheling at yahoo.com> writes:
> 
> >   File
"/root/src/cvs/thuban/thuban/Thuban/UI/legend.py",
line 601, in DeleteAllItems
> >     id, cookie = self.GetFirstChild(pid, 123)
> 
> 
> Now it's become a bit trickier.  The second argument
there is not really
> needed in 2.4 either, but due to a bug in the C++
code of wxPython
> omitting it leads to a segfault.  So we can't simply
remove it.
> However, it's not difficult to work around that too.
 See patch.  Again
> please try it with 2.5 as well.

With this patch I can finally see the thuban window.
But when I try Map
-> Add Layer -> select Data/iceland/political.shp and
it seg faults.
Messages below:

No thubanstart module available
Warning: <Thuban.Model.map.Map instance at
0x42b5fbec>.MAP_LAYERS_ADDED: <bound method
LegendTree._OnMsgMapLayersAdded of
<Thuban.UI.legend.LegendTree; proxy of C++
wxPyTreeCtrl instance at _c8167208_p_wxPyTreeCtrl>>()
Traceback (most recent call last):
  File
"/root/src/cvs/thuban/thuban/Thuban/Lib/connector.py",
line 92, in Issue
    apply(func, args + fargs)
  File
"/root/src/cvs/thuban/thuban/Thuban/UI/legend.py",
line 500, in _OnMsgMapLayersAdded
    self.__AddLayer(i, l)
  File
"/root/src/cvs/thuban/thuban/Thuban/UI/legend.py",
line 619, in __AddLayer
    self.__FillTreeLayer(id)
  File
"/root/src/cvs/thuban/thuban/Thuban/UI/legend.py",
line 582, in __FillTreeLayer
    self.SetItemSelectedImage(id, i)
AttributeError: 'LegendTree' object has no attribute
'SetItemSelectedImage'

(thuban.py:4480): GLib-GObject-WARNING **: instance
with invalid (NULL) class pointer

(thuban.py:4480): GLib-GObject-CRITICAL **: file
gsignal.c: line 1968
(g_signal_handlers_disconnect_matched): assertion
`G_TYPE_CHECK_INSTANCE (instance)' failed

(thuban.py:4480): GLib-GObject-WARNING **: instance of
invalid non-instantiatable type `<invalid>'

(thuban.py:4480): GLib-GObject-CRITICAL **: file
gsignal.c: line 1968
(g_signal_handlers_disconnect_matched): assertion
`G_TYPE_CHECK_INSTANCE (instance)' failed

(thuban.py:4480): GLib-GObject-WARNING **: instance of
invalid non-instantiatable type `(null)'

(thuban.py:4480): GLib-GObject-CRITICAL **: file
gsignal.c: line 1968
(g_signal_handlers_disconnect_matched): assertion
`G_TYPE_CHECK_INSTANCE (instance)' failed
segmentation fault


Thanks,

Joseph



		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250




More information about the Thuban-devel mailing list

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