[IPython-User] seemingly ignored config file

MinRK benjaminrk@gmail....
Sat Feb 9 14:46:32 CST 2013


Aha!  I bet I know what the problem is (and if so, it's my fault, so I
apologize and will fix later today).

Just to check, does commit c7fc089fc7936f4fb40a03e8224c943dcbcb17a1 work
better for you?

On Sat, Feb 9, 2013 at 12:30 PM, Patrick Marsh <patrickmarshwx@gmail.com>wrote:

> I, too, am having this problem, both on a work machine (Linux) and my
> laptop (OS-X). Both of these issues began when I pulled master for the git
> repo last night.
>
> Here's the result from the ipython notebook --debug
>
> $ ipython notebook --profile=nbserver --debug
> [NotebookApp] Config changed:
> [NotebookApp] {'Application': {'log_level': 10}, 'BaseIPythonApplication':
> {'profile': u'nbserver'}}
> [NotebookApp] Using existing profile dir:
> u'/home/Patrick.Marsh/.config/ipython/profile_nbserver'
> [NotebookApp] Searching path [u'/home/Patrick.Marsh/.config/ipython',
> u'/home/Patrick.Marsh/.config/ipython/profile_nbserver'] for config files
> [NotebookApp] Attempting to load config file: ipython_config.py
> [NotebookApp] Loaded config file:
> /home/Patrick.Marsh/.config/ipython/profile_nbserver/ipython_config.py
> [NotebookApp] Attempting to load config file: ipython_notebook_config.py
> [NotebookApp] Loaded config file:
> /home/Patrick.Marsh/.config/ipython/profile_nbserver/ipython_notebook_config.py
> [NotebookApp] Config changed:
> [NotebookApp] {'InlineBackend': {'rc': {'figure.facecolor': 'white',
> 'savefig.dpi': 72, 'font.size': 10, 'figure.figsize': (8.0, 6.0),
> 'figure.edgecolor': 'white', 'figure.subplot.bottom': 0.125}},
> 'BaseIPythonApplication': {'profile': u'nbserver'}, 'IPKernelApp': {'ip':
> '*', 'pylab_import_all': False, 'pylab': 'inline'}, 'Application':
> {'log_level': 10}, 'Session': {'username': 'Patrick.Marsh'}, 'ProfileDir':
> {}, 'NotebookApp': {'ip': '*', 'password': u'sha1:<removed by me>',
> 'certfile':
> u'/home/Patrick.Marsh/.config/ipython/profile_nbserver/mycert.pem', 'port':
> 9999, 'open_browser': False}, 'NotebookManager': {'notebook_dir':
> u'/home/Patrick.Marsh/notebooks'}}
> [NotebookApp] Serving notebooks from local directory:
> /home/Patrick.Marsh/notebooks
> [NotebookApp] Adding cluster profile 'default'
> [NotebookApp] Adding cluster profile 'phd'
>  [NotebookApp] Adding cluster profile 'nbserver'
> [NotebookApp] The port 9999 is already in use, trying another random port.
> [NotebookApp] The IPython Notebook is running at: https://[all ip
> addresses on your system]:10000/
> [NotebookApp] Use Control-C to stop this server and shut down all kernels.
>
>
>
> Patrick
>
> ---
> Patrick Marsh
> Ph.D. Candidate / Liaison to the HWT
> School of Meteorology / University of Oklahoma
> Cooperative Institute for Mesoscale Meteorological Studies
> National Severe Storms Laboratory
> http://www.patricktmarsh.com
>
>
> On Sat, Feb 9, 2013 at 1:28 PM, Aaron Meurer <asmeurer@gmail.com> wrote:
>
>> I had this issue before and the issue was that the config file raised an
>> exception, which was silently ignored by IPython. I don't know if this has
>> since been fixed, but if not, that might be the problem.
>>
>> Aaron Meurer
>>
>> On Feb 9, 2013, at 11:17 AM, MinRK <benjaminrk@gmail.com> wrote:
>>
>>
>>
>> On Fri, Feb 8, 2013 at 8:12 AM, Moritz Emanuel Beber <
>> moritz.beber@gmail.com> wrote:
>>
>>> Dear all,
>>>
>>> not sure this is an issue or an oversight by me. I recently set up a new
>>> Debian Wheezy installation and naturally want to run IPython on it. I
>>> installed it from github. Current commit is a815e47.
>>>
>>> Now in my ipython_notebook_config.py I like to set the following lines:
>>>
>>> c.IPKernelApp.pylab = "inline"
>>> c.IPKernelApp.pylab_import_all = False
>>> c.InlineBackend.figure_format = "svg"
>>>
>>> all of which are ignored.
>>>
>>> When starting the notebook I do get a message that the correct profile
>>> is used and when I introduce an error in the profile file that is
>>> noticed as well.
>>>
>>> When I start with 'ipython notebook --pylab inline' on the command line
>>> that works fine, too.
>>>
>>> So I'm a bit baffled.
>>>
>>> Any ideas?
>>>
>>
>> what is the output of `ipython notebook --debug`?
>>
>>
>>> Moritz
>>>
>>>
>>> _______________________________________________
>>> IPython-User mailing list
>>> IPython-User@scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-user
>>>
>>
>> _______________________________________________
>> IPython-User mailing list
>> IPython-User@scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-user
>>
>>
>> _______________________________________________
>> IPython-User mailing list
>> IPython-User@scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-user
>>
>>
>
> _______________________________________________
> IPython-User mailing list
> IPython-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20130209/fe70a3ba/attachment-0001.html 


More information about the IPython-User mailing list