Python-spe-users digest, Vol 1 #54 - 2 msgs
python-spe-users-request-tdrK/[email protected] Sat, 31 Dec 2005 12:00:21 +0100
| Newsgroups | gmane.comp.python.spe.user |
|---|---|
| Message-ID | <[email protected]> |
Send Python-spe-users mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit http://lists.berlios.de/mailman/listinfo/python-spe-users or, via email, send a message with subject or body 'help' to [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of Python-spe-users digest..." _______________________________________________ http://pythonide.stani.be http://pythonide.stani.be/manual/html/manual.html http://pythonide.stani.be/blog/sm_donate _______________________________________________ Today's Topics: 1. troubles with SPE ([email protected]) 2. SPE not detecing correct/installed wxPython version on OSX 10.4.3 (OpenMacNews) --__--__-- Message: 1 From: [email protected] To: [email protected] Date: Fri, 30 Dec 2005 12:03:03 -0500 Subject: [spe-users] troubles with SPE Reply-To: [email protected] Folks, I'm a brand new user of SPE (at least, a wannaba one). My work relies heavily on matplotlib. In particular, I draw a lot of pictures, using the wxGTK backend. However, I have problems running scripts in spe, or using spe interactively. Here are some basic specs, first: [GCC 3.4.3 20041125 (Gentoo 3.4.3-r1, ssp-3.4.3-0, pie-8.7.7)] on an AMD64 machine SPE v0.8.1.c . wxpython-2.6.1.0 +gtk +gtk2 +opengl +unicode wxGTK-2.6.1 -debug -doc -gnome +gtk2 -joystick +odbc +opengl +sdl +unicode +wxgtk1 matplotlib 0.82 When opening SPE, I get that message in bash: >>> (python:9817): Gdk-CRITICAL **: gdk_draw_drawable: assertion `src != NULL' failed But the window loads fine. Then, I create a new file, copy-paste the tutorial code and try to run (by pressing F9, or Shift+F9, or ctrl+shift+F9). I don't get any feedback in the shell window (and yes, I have selected the 'redirect output to shell'. I got the following message from bash, though: >>> sh: -c: line 0: unexpected EOF while looking for matching `'' >>> sh: -c: line 1: syntax error: unexpected end of file Executing the code in shell loads the script OK, but doesn't recognze the 'displayConstants' and 'doSum' functions (eg, I get that: >>> File "<input>", line 1, in ? >>> NameError: name 'doSum' is not defined ). The class is loaded properly, though, and I can access the hello() method. At last, I had the following: >>> from pylab import * >>> x=arange(10) >>> plot(x,x) which works when executed in shell, but >>> show() crashes spe. (the wxgtk window is created, it seems, but then it crashes). I guess it's not SPE-cific pb, but more of a wxGTK one. I have no idea how to fix them, nore even where to start. Thx a lot in advance for your help. P. --__--__-- Message: 2 Date: Fri, 30 Dec 2005 19:05:47 -0800 From: OpenMacNews <[email protected]> To: LIST python-spe-users <[email protected]> Subject: [spe-users] SPE not detecing correct/installed wxPython version on OSX 10.4.3 Reply-To: [email protected] -----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 hi, i've DL'd & unpacked SPE-0.8.1.b-wx2.6.1.0.-bl2.35 src. my prereqs (all built from src into /usr/local) are, on OSX 10.4.3: PYTHON 2.4.2 / Framework LIBXML2 2.6.22 LIBXSLT 1.1.15 LIBXML2-PYTHON 2.6.22 WXWIDGETS v2.6.2 WXPYTHON v2.6.1.0 after UNinstalling any prior _spe traces, install with: cd /usr/ports/SPE-0.8.1.b-wx2.6.1.0.-bl2.35 python setup.py install completes, apparently, without error. creating aliases for {spe, winpdb, debug_spe}, as per docs, then: %spe results, however, on launch in: You need to install at least wxPython v2.5.4.1 to run SPE. Get it from http://www.wxpython.org Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/Current/lib/python2.4/site-packages/_spe/SPE.py", line 7, in ? sys.exit() NameError: name 'sys' is not defined looks likes it's not getting *my* installed versions ... suggestions? thanks, richard - -- /"\ \ / ASCII Ribbon Campaign X against HTML email, vCards / \ & micro$oft attachments [GPG] OpenMacNews at gmail dot com fingerprint: 50C9 1C46 2F8F DE42 2EDB D460 95F7 DDBD 3671 08C6 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (Darwin) iEYEAREDAAYFAkO19YsACgkQlffdvTZxCMZs6QCgt002MrzFXo/rJFWMTvX2HwsV BIoAn1BblO3S3na5J8CruTL2h6IHpMYL =oz8C -----END PGP SIGNATURE----- --__--__-- _______________________________________________ Python-spe-users mailing list [email protected] http://lists.berlios.de/mailman/listinfo/python-spe-users End of Python-spe-users Digest