[IPython-dev] Notebook doesn't load with latest master

Dave Hirschfeld dave.hirschfeld@gmail....
Mon Mar 25 08:06:56 CDT 2013


The error I get is:

  File "c:\dev\code\ipython\IPython\frontend\html\notebook\notebookapp.py", line 
553, in init_signal
    signal.signal(signal.SIGUSR1, self._signal_info)
AttributeError: 'module' object has no attribute 'SIGUSR1'

Seems it may not be available on windows? See below for more detail...

Thanks,
Dave


C:\Users\dhirschfeld>ipython
Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)]
Type "copyright", "credits" or "license" for more information.

IPython 1.0.dev -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.

In [1]: from IPython.utils.sysinfo import sys_info

In [2]: print sys_info()
{'commit_hash': '2f0cc6b',
 'commit_source': 'repository',
 'default_encoding': 'cp850',
 'ipython_path': 'c:\\dev\\code\\ipython\\IPython',
 'ipython_version': '1.0.dev',
 'os_name': 'nt',
 'platform': 'Windows-7-6.1.7601-SP1',
 'sys_executable': 'C:\\dev\\bin\\Python27\\python.exe',
 'sys_platform': 'win32',
 'sys_version': '2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit 
(Intel)]'}

In [3]:
Do you really want to exit ([y]/n)? y


C:\Users\dhirschfeld>ipython notebook
[NotebookApp] Using existing profile dir: 
u'C:\\Users\\dhirschfeld\\.ipython\\profile_default'
Traceback (most recent call last):
  File "C:\dev\bin\Python27\Scripts\ipython-script.py", line 9, in <module>
    load_entry_point('ipython==1.0.dev', 'console_scripts', 'ipython')()
  File "c:\dev\code\ipython\IPython\frontend\terminal\ipapp.py", line 390, in 
launch_new_instance
    app.initialize()
  File "<string>", line 2, in initialize
  File "c:\dev\code\ipython\IPython\config\application.py", line 84, in 
catch_config_error
    return method(app, *args, **kwargs)
  File "c:\dev\code\ipython\IPython\frontend\terminal\ipapp.py", line 315, in 
initialize
    super(TerminalIPythonApp, self).initialize(argv)
  File "<string>", line 2, in initialize
  File "c:\dev\code\ipython\IPython\config\application.py", line 84, in 
catch_config_error
    return method(app, *args, **kwargs)
  File "c:\dev\code\ipython\IPython\core\application.py", line 323, in 
initialize
    self.parse_command_line(argv)
  File "c:\dev\code\ipython\IPython\frontend\terminal\ipapp.py", line 310, in 
parse_command_line
    return super(TerminalIPythonApp, self).parse_command_line(argv)
  File "<string>", line 2, in parse_command_line
  File "c:\dev\code\ipython\IPython\config\application.py", line 84, in 
catch_config_error
    return method(app, *args, **kwargs)
  File "c:\dev\code\ipython\IPython\config\application.py", line 428, in 
parse_command_line
    return self.initialize_subcommand(subc, subargv)
  File "<string>", line 2, in initialize_subcommand
  File "c:\dev\code\ipython\IPython\config\application.py", line 84, in 
catch_config_error
    return method(app, *args, **kwargs)
  File "c:\dev\code\ipython\IPython\config\application.py", line 367, in 
initialize_subcommand
    self.subapp.initialize(argv)
  File "<string>", line 2, in initialize
  File "c:\dev\code\ipython\IPython\config\application.py", line 84, in 
catch_config_error
    return method(app, *args, **kwargs)
  File "c:\dev\code\ipython\IPython\frontend\html\notebook\notebookapp.py", line 
616, in initialize
    self.init_signal()
  File "c:\dev\code\ipython\IPython\frontend\html\notebook\notebookapp.py", line 
553, in init_signal
    signal.signal(signal.SIGUSR1, self._signal_info)
AttributeError: 'module' object has no attribute 'SIGUSR1'

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

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


C:\Users\dhirschfeld>






More information about the IPython-dev mailing list