From: Morgan V. <ve...@gm...> - 2008-11-04 01:46:28
|
Hi all, Item 1: I'm having a hard time getting PythonCard to run cleanly on my Ubuntu machine, seeing some peculiar errors that keep my program from terminating properly on exit. Things generally work okay (the resourceEditor is a disaster area, but I've managed to get what I need done) but exiting any app spits out a bunch of errors like the following: [from exit of Minimal.py:] me@mylocalhost:~/somepath/$ python minimal.py (python:29257): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.16.6/gobject/gsignal.c:1741: instance `0x165c380' has no handler with id `224' (python:29257): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.16.6/gobject/gsignal.c:1741: instance `0x139f510' has no handler with id `121' (python:29257): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.16.6/gobject/gsignal.c:1741: instance `0x139f030' has no handler with id `49' In this case all I did was run Minimal.py, and exit it. I get similar errors when I run any other PythonCard application. My installation is... complicated. Multiple versions of things, some from Synaptic, others not. I'm running Ubuntu 8.04. Python 2.5 (but older versions are installed too) PythonCard 0.8.2, installed via the setup script in the tar.gz PythonCard 0.8.1, installed via Synaptic (installed 0.8.2 before i realized there was a package) libwxgtk2.6-0, via Synaptic libwxgtk2.8-0, via Synaptic I deleted the 0.8.2 version of PythonCard, but the problems persist. Are the multiple versions of libwxgtk part of my problem here? Item 2: It appears to be impossible to get a StaticText widget to render in front of a BitmapCanvas. I need to use some bitmapcanvases to show colored areas behind my interface. No matter what the order of the items is in the resource file, the static text ALWAYS renders behind the BitmapCanvas. Other widgets like buttons, gauges etc all render fine, according to order in the file. Bug or Feature? [the semantics of "Front = behind everything" and "Back = in front of everything" puzzle me, but whatever.] I know I can work around it by drawing that text in the BitmapCanvas itself, but this seems pretty wrong. Item 3: Is it possible to select and move multiple items together? This doesn't work in Ubuntu AFAICT. Is this implemented/working on any other platforms? Thanks! I'm still super-stoked on how easy it's been to put together a basic interface for this application -- I migrated my entire project from Ruby into Python so that I could use a reasonable GUI toolkit. Just trying to clean up the loose ends so other people can run it and not throw errors all over the place! cheers morgan |