[IPython-dev] A couple of odd behaviours...

Carl Smith carl.input@gmail....
Thu Nov 8 11:21:38 CST 2012


I've got this line...

[IPKernelApp]    Content: {'user_variables': [], 'allow_stdin': True,
'code': "try:\n    _usage\nexcept:\n    from IPython.core import usage
as _usage\n    get_ipython().register_magic_function(_usage.page_guiref,
'line', 'guiref')\n    del _usage", 'user_expressions': {}, 'silent':
True}
   --->

There's this similar looking one too...

[IPKernelApp]    Content: {'user_variables': [], 'allow_stdin': True,
'code': '', 'user_expressions':
{'1264bcb0-29c8-11e2-8c4f-0019d1474c91':
'get_ipython().magics_manager.lsmagic_info()'}, 'silent': True}
   --->



On 8 November 2012 17:10, Thomas Kluyver <takowl@gmail.com> wrote:
> On 8 November 2012 17:00, Carl Smith <carl.input@gmail.com> wrote:
>>
>> I had to quickly set things up, but yeah, everything works according
>> to spec in the console. It's just the Notebook. I'd ask on the adb
>> list if there's anything unusual about how it works, but I think it
>> was done in house by Google. I'm not sure. I'll have to look into it.
>
>
> Hmm, that's really weird, because the Qt console and the notebook use the
> same kernel. Can you try starting with "ipython qtconsole --debug", and
> finding the lines that look like this:
>
> [IPKernelApp]    Content: {'user_variables': [], 'code': '!pwd\n', 'silent':
> False, 'allow_stdin': True, 'store_history': True, 'user_expressions': {}}
>    --->
>
> [IPythonQtConsoleApp] stream: {'data':
> '/home/thomas/Code/ubuntu/unattended-upgrades\r\n', 'name': 'stdout'}
>
> Thomas
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>


More information about the IPython-dev mailing list