[IPython-user] ipython qt4 bug?

humufr@yah... humufr@yah...
Mon Feb 4 16:58:59 CST 2008


		Hello,

With the last ipython svn I have a problem to use the magic command cpaste.
It's working fine with qt3 or the default thread but the problem is there if 
you are trying to use qt4 for backend in pylab. 

Here you'll find the output. 

The error is there because I did an ctrl-d to stop the loop with the error 
message on the loop.

Thanks

N.


> ipython --q4thread
Python 2.5.1 (r251:54863, Oct  5 2007, 13:36:32)
Type "copyright", "credits" or "license" for more information.

IPython 0.8.3.svn.r3001 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object'. ?object also works, ?? prints more.

In [1]: cpaste
Pasting code; enter '--' alone on the line to stop.
:QCoreApplication::exec: The event loop is already running
QCoreApplication::exec: The event loop is already running
QCoreApplication::exec: The event loop is already running
QCoreApplication::exec: The event loop is already running
QCoreApplication::exec: The event loop is already running
QCoreApplication::exec: The event loop is already running
QCoreApplication::exec: The event loop is already running
---------------------------------------------------------------------------
EOFError                                  Traceback (most recent call last)

<ipython console> in <module>()

/usr/lib/python2.5/site-packages/IPython/iplib.pyc in ipmagic(self, arg_s)
    951         else:
    952             magic_args = self.var_expand(magic_args,1)
--> 953             return fn(magic_args)
    954
    955     def ipalias(self,arg_s):

/usr/lib/python2.5/site-packages/IPython/Magic.pyc in magic_cpaste(self, 
parameter_s)
   3149         print "Pasting code; enter '%s' alone on the line to stop." % 
sentinel
   3150         while 1:
-> 3151             l = iplib.raw_input_original(':')
   3152             if l ==sentinel:
   3153                 break

EOFError:


More information about the IPython-user mailing list