[IPython-User] Any updates from GSOC?
Gökhan Sever
gokhansever@gmail....
Fri Aug 27 11:13:30 CDT 2010
On Fri, Aug 27, 2010 at 11:00 AM, Ravi <lists_ravi@lavabit.com> wrote:
> On Thursday 26 August 2010 13:35:05 Fernando Perez wrote:
> > git clone git://github.com/ipython/ipython.git
> > cd ipython/
> > git checkout -b newkernel origin/newkernel
> > python setup.py install --prefix=~/tmp/junk
> > cd IPython/frontend/qt/console/scripts/
> > ./ipythonqt.py --pylab qt --paging vsplit
>
> More notes: Make sure you have zmq and pyzmq installed first. Use zmq 2.0.8
> since zeromq2 git master at http://github.com/zeromq/zeromq2.git still has
> the
> 'EMTHREAD' problem.
>
I have zeromq-2.0.7-4.fc13 (i686) installed from Fedora 13 repos
also python-zmq-0.1.20100725git...
>
> I haven't quite found the magic for exiting ipythonqt via keyboard.
> Further,
> quite a bit of debug junk is printed into the stdout of the terminal from
> which you launch ipythonqt.
>
> Ravi
Same here, gets lots extra info from where it is called:
[g@a python-repo]$ cd ipython/
[g@a ipython]$ cd IPython/frontend/qt/console/scripts/
[g@a scripts]$ ./ipythonqt.py
Starting the kernel...
XREP Channel on port 44469
PUB Channel on port 53382
REQ Channel on port 55957
{u'content': {},
u'header': {u'username': u'g', u'msg_id': 0, u'session':
u'fbbdb498-797f-47c0-bdb1-fbecb98b9ca5'},
u'msg_type': u'prompt_request',
u'parent_header': {}}
{'content': {'input_sep': '\n', 'prompt_number': 1, 'prompt_string':
'\n\x01\x1b[0;32m\x02In [\x01\x1b[1;32m\x021\x01\x1b[0;32m\x02]:
\x01\x1b[0m\x02'},
'header': {'username': u'kernel', 'msg_id': 0, 'session':
'e84403cf-3b38-4ba6-a3bd-799a90bf0066'},
'msg_type': 'prompt_reply',
'parent_header': {u'username': u'g', u'msg_id': 0, u'session':
u'fbbdb498-797f-47c0-bdb1-fbecb98b9ca5'}}
....More message...
typing Exit yields
In [1]: Exit
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
/home/g/Desktop/python-repo/ipython/IPython/frontend/qt/console/scripts/<ipython
console> in <module>()
/home/g/Desktop/python-repo/ipython/IPython/core/interactiveshell.pyc in
magic(self, arg_s)
1606 with nested(self.builtin_trap,):
1607 result = fn(magic_args)
-> 1608 return result
1609
1610 def define_magic(self, magicname, func):
/usr/lib/python2.6/contextlib.pyc in __exit__(self, type, value, traceback)
32 value = type()
33 try:
---> 34 self.gen.throw(type, value, traceback)
35 raise RuntimeError("generator didn't stop after
throw()")
36 except StopIteration, exc:
/usr/lib/python2.6/contextlib.pyc in nested(*managers)
111 vars.append(enter())
112 exits.append(exit)
--> 113 yield vars
114 except:
115 exc = sys.exc_info()
/home/g/Desktop/python-repo/ipython/IPython/core/interactiveshell.pyc in
magic(self, arg_s)
1605 magic_args = self.var_expand(magic_args,1)
1606 with nested(self.builtin_trap,):
-> 1607 result = fn(magic_args)
1608 return result
1609
/home/g/Desktop/python-repo/ipython/IPython/core/magic.pyc in
magic_Exit(self, parameter_s)
2612 """Exit IPython without confirmation."""
2613
-> 2614 self.shell.ask_exit()
2615
2616 # Add aliases as magics so all common forms work: exit, quit,
Exit, Quit.
AttributeError: 'ZMQInteractiveShell' object has no attribute 'ask_exit'
Ctrl-D does nothing, neither on default ipython shell launch.
--
Gökhan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20100827/0d2f422b/attachment.html
More information about the IPython-User
mailing list