Trying to activate pylab in the qtconsole using f.x. c.IPKernelApp.pylab = 'qt' in ipython_qtconsole_config.py doesn't
seem to have any effect. However if I enter the save in the regular ipython_config.py file it seems to work as expected.
c.IPKernelApp.pylab = 'qt'
I am using a standard profile_default with config files generated by ipython profile create. Using the latest git master
on ubuntu 11.04.
Activating pylab from the command line also works as expected.
ipython profile create
Thanks for your report, this looks pretty serious... We'll look into it soon, stay tuned.
This is because of the multi-file loading - apps load ipython_config.py followed by <appname>_config.py. Which is a bit weird for the qtconsole, because the frontend's name is 'qtconsole', and the kernel is 'ipkernel', so they don't load the same second config. I will fix this so the kernel's "appname" secondary config is inherited from the frontend, because the kernel should definitely load the frontend config.
add config file inheritance to kernelapp
Add KernelApp.parent_appname configurable, which sets the default config file. Frontends should specify this in the arguments they pass to kernels they start.
fixed now - kernels inherit default config file from the launching frontend.
Yes that fixes it. Thanks