[IPython-dev] Failing to start qtconsole

Hannes Bretschneider habretschneider@gmail....
Tue Mar 6 11:08:29 CST 2012


Hi everybody,

I'm getting the following exception when I try to start the qtconsole:

> Traceback (most recent call last):
>   File "/home/hannes/usr/python2.7/bin/ipython", line 7, in <module>
>     launch_new_instance()
>   File "/home/hannes/usr/python2.7/lib/python2.7/site-packages/IPython/frontend/terminal/ipapp.py", line 405, in launch_new_instance
>     app.initialize()
>   File "<string>", line 2, in initialize
>   File "/home/hannes/usr/python2.7/lib/python2.7/site-packages/IPython/config/application.py", line 84, in catch_config_error
>     return method(app, *args, **kwargs)
>   File "/home/hannes/usr/python2.7/lib/python2.7/site-packages/IPython/frontend/terminal/ipapp.py", line 305, in initialize
>     super(TerminalIPythonApp, self).initialize(argv)
>   File "<string>", line 2, in initialize
>   File "/home/hannes/usr/python2.7/lib/python2.7/site-packages/IPython/config/application.py", line 84, in catch_config_error
>     return method(app, *args, **kwargs)
>   File "/home/hannes/usr/python2.7/lib/python2.7/site-packages/IPython/core/application.py", line 325, in initialize
>     self.parse_command_line(argv)
>   File "/home/hannes/usr/python2.7/lib/python2.7/site-packages/IPython/frontend/terminal/ipapp.py", line 300, in parse_command_line
>     return super(TerminalIPythonApp, self).parse_command_line(argv)
>   File "<string>", line 2, in parse_command_line
>   File "/home/hannes/usr/python2.7/lib/python2.7/site-packages/IPython/config/application.py", line 84, in catch_config_error
>     return method(app, *args, **kwargs)
>   File "/home/hannes/usr/python2.7/lib/python2.7/site-packages/IPython/config/application.py", line 413, in parse_command_line
>     return self.initialize_subcommand(subc, subargv)
>   File "<string>", line 2, in initialize_subcommand
>   File "/home/hannes/usr/python2.7/lib/python2.7/site-packages/IPython/config/application.py", line 84, in catch_config_error
>     return method(app, *args, **kwargs)
>   File "/home/hannes/usr/python2.7/lib/python2.7/site-packages/IPython/config/application.py", line 356, in initialize_subcommand
>     self.subapp.initialize(argv)
>   File "<string>", line 2, in initialize
>   File "/home/hannes/usr/python2.7/lib/python2.7/site-packages/IPython/config/application.py", line 84, in catch_config_error
>     return method(app, *args, **kwargs)
>   File "/home/hannes/usr/python2.7/lib/python2.7/site-packages/IPython/frontend/qt/console/qtconsoleapp.py", line 332, in initialize
>     IPythonConsoleApp.initialize(self,argv)
>   File "/home/hannes/usr/python2.7/lib/python2.7/site-packages/IPython/frontend/consoleapp.py", line 351, in initialize
>     self.init_kernel_manager()
>   File "/home/hannes/usr/python2.7/lib/python2.7/site-packages/IPython/frontend/consoleapp.py", line 340, in init_kernel_manager
>     self.kernel_manager.start_channels()
>   File "/home/hannes/usr/python2.7/lib/python2.7/site-packages/IPython/frontend/qt/kernelmanager.py", line 215, in start_channels
>     super(QtKernelManager, self).start_channels(*args, **kw)
>   File "/home/hannes/usr/python2.7/lib/python2.7/site-packages/IPython/zmq/kernelmanager.py", line 667, in start_channels
>     self.shell_channel.start()
>   File "/home/hannes/usr/python2.7/lib/python2.7/site-packages/IPython/frontend/qt/kernelmanager.py", line 230, in shell_channel
>     self._shell_channel.first_reply.connect(self._first_reply)
> TypeError: pyqtSignal must be bound to a QObject, not 'QtShellSocketChannel'
> 
> If you suspect this is an IPython bug, please report it at:
>     https://github.com/ipython/ipython/issues
> or send an email to the mailing list at ipython-dev@scipy.org (mailto:ipython-dev@scipy.org)
> 
> You can print a more detailed traceback right now with "%tb", or use "%debug"
> to interactively debug it.
> 
> Extra-detailed tracebacks for bug-reporting purposes can be enabled via:
>     c.Application.verbose_crash=True
> 
> hannes@~: [IPKernelApp] To connect another client to this kernel, use:
> [IPKernelApp] --existing kernel-25372.json
I use PyQt 4.9.1 (installed from source), with the Qt4 headers available through apt-get in Ubuntu 11.10.

I'd appreciate some guidance what went wrong.

Thanks,
Hannes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-dev/attachments/20120306/bd64ffcc/attachment.html 


More information about the IPython-dev mailing list