[IPython-dev] Testers requested - 0.7.4.rc1, with async cross-thread exceptions
Fernando Perez
fperez.net at gmail.com
Thu Apr 5 12:54:39 EDT 2007
On 4/5/07, Aldarion <erendisaldarion at gmail.com> wrote:
> I install ipython0.74rc1 (On windows server 2003 with sp2),
> it works with pyreadline1.3 ,but can't find pyreadline1.4-svn
> and if i run "c:\Python25\python.exe c:\Python25\scripts\ipython -Xthread"
> it return a warn(maybe a error, i think):
> WARNING:
> Error in Arguments: "Illegal option '-Xthread'"
-Xthread is not a valid option, the valid ones are (copying from the help page):
-gthread, -qthread, -q4thread, -wthread, -pylab
Only ONE of these can be given, and it can only be given as the
first option passed to IPython (it will have no effect in any
other position). They provide threading support for the GTK, QT
and WXWidgets toolkits, and for the matplotlib library.
With any of the first four options, IPython starts running a
separate thread for the graphical toolkit's operation, so that
you can open and control graphical elements from within an
IPython command line, without blocking. All four provide
essentially the same functionality, respectively for GTK, QT3,
QT4 and WXWidgets (via their Python interfaces).
Note that with -wthread, you can additionally use the -wxversion
option to request a specific version of wx to be used. This
requires that you have the 'wxversion' Python module installed,
which is part of recent wxPython distributions.
If -pylab is given, IPython loads special support for the mat-
plotlib library (http://matplotlib.sourceforge.net), allowing
interactive usage of any of its backends as defined in the
user's .matplotlibrc file. It automatically activates GTK, QT
or WX threading for IPyhton if the choice of matplotlib backend
requires it. It also modifies the %run command to correctly
execute (without blocking) any matplotlib-based script which
calls show() at the end.
I'm not sure about the pyreadline problem, I hope more experienced
win32 users can help here. Jorgen is out of town for a few days
though, so we won't hear from him quite yet.
Thanks for the feedback,
f
More information about the IPython-dev
mailing list