Some demo errors wxpython unicode 2.8.1.1 on Ubuntu

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).

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). :slight_smile:
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.

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)

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

sizedcontrols: No module named wxaddons.sized_controls

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

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

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

Filebroserbutton:
聽聽(python:7553): libgnomevfs-CRITICAL **: gnome_vfs_get_uri_from_local_path:
聽聽assertion `g_path_is_absolute (local_full_path)' failed
聽聽
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

路路路

--
Franz Steinhaeusler

--

Franz Steinhaeusler

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). :slight_smile:
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!

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?

I try to duplicate that again.

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.

Sorry, but where can I get that package?

路路路

On Wed, 07 Feb 2007 17:57:35 -0800, Robin Dunn <robin@alldunn.com> wrote:

--

Franz Steinhaeusler

Franz Steinhaeusler wrote:

路路路

On Wed, 07 Feb 2007 17:57:35 -0800, Robin Dunn <robin@alldunn.com> wrote:

sizedcontrols: No module named wxaddons.sized_controls

You need to install the python-wxaddons package.

Sorry, but where can I get that package?

sudo apt-get install python-wxaddons

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

I cannot duplicate anymore.
I just played around silly a few days ago.

BTW: What I have always dreamed of,
and that I could not find a satisfying open source
or freeware for Windows AND Linux.

A Screengrabber, which records the current screen as video
(for example mgp ord avi).

To not let the memory deflate, there one
could adjust (reasonable 10 or 20 secs).
And not record any longer.

So I think of a cylic buffer, which deletes the oldest
sequences permanently, so always that file records the last
20 secs.
If I press "stop" (best a hotkey) it stops recordig and stores
the last 20 secs into a file.

I would run my app or any other, make it a little bit smaller,
so that the second console window is always visible.
When I see a traceback, I stop the recording and save the file.

After that I can look at the video, what exactly I have done.

That would be awesame, I often had this in need.

Written that tool in wxPython would the more insanitiy.

I'm almost sure, there are such tools, for any pointer
I would be very interested.

路路路

On Thu, 08 Feb 2007 08:33:12 +0100, Franz Steinhaeusler <franz.steinhaeusler@gmx.at> wrote:

On Wed, 07 Feb 2007 17:57:35 -0800, Robin Dunn <robin@alldunn.com> wrote:

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?

I try to duplicate that again.

--
Franz Steinhaeusler

ah thank you, is there a pointer to that on wxPython.org?

I haven't seen it or I have overseen it.

路路路

On Thu, 08 Feb 2007 11:50:47 -0800, Robin Dunn <robin@alldunn.com> wrote:

Franz Steinhaeusler wrote:

On Wed, 07 Feb 2007 17:57:35 -0800, Robin Dunn <robin@alldunn.com> wrote:

sizedcontrols: No module named wxaddons.sized_controls

You need to install the python-wxaddons package.

Sorry, but where can I get that package?

sudo apt-get install python-wxaddons

--
Franz Steinhaeusler

I cannot duplicate anymore.
I just played around silly a few days ago.

BTW: What I have always dreamed of,
and that I could not find a satisfying open source
or freeware for Windows AND Linux.

A Screengrabber, which records the current screen as video
(for example mgp ord avi).

vnc2swf (or pyvnc2swf)

To not let the memory deflate, there one
could adjust (reasonable 10 or 20 secs).
And not record any longer.

So I think of a cylic buffer, which deletes the oldest
sequences permanently, so always that file records the last
20 secs.
If I press "stop" (best a hotkey) it stops recordig and stores
the last 20 secs into a file.

You could easily script this with Python and pyvnc2swf. I would record
in 10 second blocks. When you have 3 blocks, delete the earliest. Use
the tools in the pyvnc2swf distribution to merge the movies and select
the most recent 20 seconds.

- Josiah

路路路

Franz Steinh盲usler <franz.steinhaeusler@gmx.at> wrote:

I cannot duplicate anymore.
I just played around silly a few days ago.

BTW: What I have always dreamed of,
and that I could not find a satisfying open source
or freeware for Windows AND Linux.

A Screengrabber, which records the current screen as video
(for example mgp ord avi).

vnc2swf (or pyvnc2swf)

Very cool, thank for that pointer, I will take a look! :wink:

To not let the memory deflate, there one
could adjust (reasonable 10 or 20 secs).
And not record any longer.

So I think of a cylic buffer, which deletes the oldest
sequences permanently, so always that file records the last
20 secs.
If I press "stop" (best a hotkey) it stops recordig and stores
the last 20 secs into a file.

You could easily script this with Python and pyvnc2swf. I would record
in 10 second blocks. When you have 3 blocks, delete the earliest. Use
the tools in the pyvnc2swf distribution to merge the movies and select
the most recent 20 seconds.

- Josiah

Thank you very much!

I'm looking forward to try it out.

路路路

On Thu, 08 Feb 2007 13:26:44 -0800, Josiah Carlson <jcarlson@uci.edu> wrote:

Franz Steinh盲usler <franz.steinhaeusler@gmx.at> wrote:

--

Franz Steinhaeusler

I receipt the same bug in:

- StockButtons
- RadioBox

My installation are Ok.

Mi configuracion/My config:

Ubuntu Edgy Eft 6.10
Linux Kernel 2.6.17-10-386
Gnome 2.16.1
Python 2.4.4c1
wxPython 2.8.1.1 Unicode
Python IDE: Ulipad 3.6

路路路

El mi茅, 07-02-2007 a las 09:29 +0100, Franz Steinhaeusler escribi贸:

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).

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). :slight_smile:
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.

--
Saludos / Best regards

Mario Lacunza V谩squez
Desarrollador de Software - Webmaster
Linux Registered User #439179
Desarrollador 2 Estrellas VS2005

Website : http://mlacunzav[DOT]cogia[DOT]net
Email : mlacunza[AT]gmail.com / mario_lacunza[AT]yahoo.es
Blog : http://mlacunza.blogspot.com
Lima - Peru

Uhm... I dont think so...I just play with different idioms and Demo
crash...

路路路

El mi茅, 07-02-2007 a las 17:57 -0800, Robin Dunn escribi贸:

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

Fixed.

--
Mario Lacunza <mlacunza@gmail.com>

Mario Lacunza wrote:

路路路

El mi茅, 07-02-2007 a las 17:57 -0800, Robin Dunn escribi贸:

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

Fixed.

Uhm... I dont think so...I just play with different idioms and Demo
crash...

Did you get the new version from CVS?

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