[wxPython-users] Re: Some demo errors wxpython unicode 2.8.1.1 on Ubuntu

Robin Dunn robin at alldunn.com
Wed Feb 7 17:57:35 PST 2007


Franz Steinhaeusler wrote:
> Hello, sorry for posting this also into this group 
> (I have already posted it in to the devel mailing list, but
> maybe it was overseen).

I saw it, but hadn't gotten around to answering it yet.


> 
> wxpyhton demo wxpython 2.8.1.1. unicode, ubuntu 6.10
> 
> (Maybe some of the following issues are caused by an incomplete install on my pc,
> but showing a messagebox sometimes would not hurt, I think). :)
> And some information is perhaps interesting.
> 
> about: at the beginning the ok button is on the upper left corner, if you press ok,
>   it wanders into the middle of the bottom.

Interesting.  Looks like some buggy interaction between the HtmlWindow 
and the embedded widgets.  I'll ask about it on wx-dev.

> 
> Traceback (most recent call last):
>   File "/usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/lib/customtreectrl.py", line 5430, in OnMouse
>     self.DoSelectItem(item, unselect_others, extended_select)
>   File "/usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/lib/customtreectrl.py", line 3712, in DoSelectItem
>     self.EnsureVisible(item)
>   File "/usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/lib/customtreectrl.py", line 3793, in EnsureVisible
>     self.ScrollTo(item)
>   File "/usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/lib/customtreectrl.py", line 3813, in ScrollTo
>     start_x, start_y = self.GetViewStart()
>   File "/usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 13772, in __getattr__
>     raise PyDeadObjectError(self.attrStr % self._name)
> wx._core.PyDeadObjectError: The C++ part of the CustomTreeCtrl object has been deleted, attribute access no longer allowed.
> Segmentation fault (core dumped)

Can you tell me how to reproduce this?


> 
> 
> I18N: Scroll down the languages:
> Segmentation fault (core dumped)

Fixed.

> 
> sizedcontrols: No module named wxaddons.sized_controls

You need to install the python-wxaddons package.

> 
> common dialogs: font dialog:
> GTK Accessibility Module initialized
> 
> (python:7297): GLib-GObject-WARNING **: invalid cast from `GtkScrolledWindow' to `GtkWindow'
> 
> (python:7297): Gtk-CRITICAL **: gtk_window_set_transient_for: assertion `parent == NULL || GTK_IS_WINDOW (parent)' failed

These are normal.


> 
> 
> 
> Show Print Dialog:
> (python:7395): GnomePrint-WARNING **: Could not create filter from description 'frgba': filter 'frgba' is unknown

As is this.

> 
> Radio Box: is not aligned at once. only if you check a first item.
> Stock Button: is not aligned at once. only if you check a first item.
> Grid: same
> TablePrint: same
> GL Canvas: same

These are easily fixable by adding a wx.CallAfter(self.Layout), but I 
think that they are actually the same problem as the HtmlWindow embedded 
widgets...


> 
> 
> Filebroserbutton:
>   (python:7553): libgnomevfs-CRITICAL **: gnome_vfs_get_uri_from_local_path: 
>   assertion `g_path_is_absolute (local_full_path)' failed

This is probably ok.


>   
> Media Control:
>   Messagebox:
>   Unable to load .../demo/testmovie.mpg: Unsupported format?
>   Output: logwindow:
>   Error: gst_error_callback
>   Error Message:You do not have a decoder installed to handle this file. You might need to install the necessary plugins.
>   Debug:gstplaybasebin.c(1663): prepare_output (): /play
>    (error 0: Success)
>   Console:
>   (python:7928): Gtk-CRITICAL **: gtk_range_set_range: assertion `min < max' failed
>     ** Message: don't know how to handle video/mpeg, systemstream=(boolean)true, mpegversion=(int)1
> 

You may have some missing gstreamer packages.



-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wxpython-users mailing list