pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/51351: no start ipython notebook



>Number:         51351
>Category:       pkg
>Synopsis:       no start ipython notebook
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 20 21:45:00 +0000 2016
>Originator:     K.I.A.Derouiche
>Release:        pkgsrc-current
>Organization:
AITSG
>Environment:
NetBSD Faloudja.lan 7.0.1 NetBSD 7.0.1 i386
>Description:
$ ipython2.7 notebook
>How-To-Repeat:
$ ipython2.7 notebook
Traceback (most recent call last):
  File "/usr/pkg/bin/ipython2.7", line 5, in <module>
    start_ipython()
  File "/usr/pkg/lib/python2.7/site-packages/IPython/__init__.py", line 120, in start_ipython
    return launch_new_instance(argv=argv, **kwargs)
  File "/usr/pkg/lib/python2.7/site-packages/IPython/config/application.py", line 573, in launch_instance
    app.initialize(argv)
  File "<string>", line 2, in initialize
  File "/usr/pkg/lib/python2.7/site-packages/IPython/config/application.py", line 75, in catch_config_error
    return method(app, *args, **kwargs)
  File "/usr/pkg/lib/python2.7/site-packages/IPython/terminal/ipapp.py", line 321, in initialize
    super(TerminalIPythonApp, self).initialize(argv)
  File "<string>", line 2, in initialize
  File "/usr/pkg/lib/python2.7/site-packages/IPython/config/application.py", line 75, in catch_config_error
    return method(app, *args, **kwargs)
  File "/usr/pkg/lib/python2.7/site-packages/IPython/core/application.py", line 369, in initialize
    self.parse_command_line(argv)
  File "/usr/pkg/lib/python2.7/site-packages/IPython/terminal/ipapp.py", line 316, in parse_command_line
    return super(TerminalIPythonApp, self).parse_command_line(argv)
  File "<string>", line 2, in parse_command_line
  File "/usr/pkg/lib/python2.7/site-packages/IPython/config/application.py", line 75, in catch_config_error
    return method(app, *args, **kwargs)
  File "/usr/pkg/lib/python2.7/site-packages/IPython/config/application.py", line 471, in parse_command_line
    return self.initialize_subcommand(subc, subargv)
  File "<string>", line 2, in initialize_subcommand
  File "/usr/pkg/lib/python2.7/site-packages/IPython/config/application.py", line 75, in catch_config_error
    return method(app, *args, **kwargs)
  File "/usr/pkg/lib/python2.7/site-packages/IPython/config/application.py", line 402, in initialize_subcommand
    subapp = import_item(subapp)
  File "/usr/pkg/lib/python2.7/site-packages/IPython/utils/importstring.py", line 42, in import_item
    module = __import__(package, fromlist=[obj])
  File "/usr/pkg/lib/python2.7/site-packages/IPython/html/notebookapp.py", line 64, in <module>
    from .services.contents.manager import ContentsManager
  File "/usr/pkg/lib/python2.7/site-packages/IPython/html/services/contents/manager.py", line 16, in <module>
    from IPython.nbformat import sign, validate, ValidationError
  File "/usr/pkg/lib/python2.7/site-packages/IPython/nbformat/__init__.py", line 29, in <module>
    from .validator import validate, ValidationError
  File "/usr/pkg/lib/python2.7/site-packages/IPython/nbformat/validator.py", line 21, in <module>
    raise ImportError(str(e) + verbose_msg)
ImportError: No module named jsonschema

    IPython notebook format depends on the jsonschema package:
    
        https://pypi.python.org/pypi/jsonschema
    
    Please install it first.
>Fix:
added textproc/py-jsonschema (dependency)

$ diff -ruN Makefile.orig Makefile
--- Makefile.orig	2016-07-20 23:29:13.000000000 +0100
+++ Makefile	2016-07-20 23:29:38.000000000 +0100
@@ -15,6 +15,7 @@
 DEPENDS+=	${PYPKGPREFIX}-pygments-[0-9]*:../../textproc/py-pygments
 DEPENDS+=	${PYPKGPREFIX}-readline-[0-9]*:../../devel/py-readline
 DEPENDS+=	${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
+DEPENDS+=	${PYPKGPREFIX}-jsonschema>=2.4.0:../../textproc/py-jsonschema
 DEPENDS+=	${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
 DEPENDS+=	${PYPKGPREFIX}-tornado-[0-9]*:../../www/py-tornado
 DEPENDS+=	${PYPKGPREFIX}-zmq>=14.0.1:../../net/py-zmq



Home | Main Index | Thread Index | Old Index