You are not logged in.

#1 2020-04-29 01:25:02

libra_kevin
Member
Registered: 2016-09-29
Posts: 6

[SOLVED] sagemath-jupyter's dependency on sage-notebook-exporter

Hi, I'd like to report a seemingly packaging issue. I don't know if this is the best place, but I don't find any section on the forum specific for official packages. If anybody knows a better place, please kindly point me there, thanks!

sagemath-jupyter requires sage-notebook-exporter as an optional dependency, but it cannot start without sage-notebook-exporter installed. It requires 'sagenb_export' on start, and shows 404 in the browser. So it seems that sage-notebook-exporter should be a required dependency for sagemath-jupyter.

This is the console error message:

```
    Traceback (most recent call last):
      File "/usr/lib/python3.8/site-packages/notebook/notebookapp.py", line 1670, in init_server_extensions
        mod = importlib.import_module(modulename)
      File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
        return _bootstrap._gcd_import(name[level:], package, level)
      File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
      File "<frozen importlib._bootstrap>", line 991, in _find_and_load
      File "<frozen importlib._bootstrap>", line 961, in _find_and_load_unlocked
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
      File "<frozen importlib._bootstrap>", line 991, in _find_and_load
      File "<frozen importlib._bootstrap>", line 973, in _find_and_load_unlocked
    ModuleNotFoundError: No module named 'sagenb_export'
```

Last edited by libra_kevin (2020-04-30 00:31:39)

Offline

#2 2020-04-29 02:21:17

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] sagemath-jupyter's dependency on sage-notebook-exporter

You're correct, the forum isn't the right place for this. You should file a bug report against the sagemath-jupyter package.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2020-04-29 06:24:18

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,304

Re: [SOLVED] sagemath-jupyter's dependency on sage-notebook-exporter

There is no bug here, you're just not starting the notebook correctly. See the output of 'sage -h'

Offline

#4 2020-04-30 00:29:35

libra_kevin
Member
Registered: 2016-09-29
Posts: 6

Re: [SOLVED] sagemath-jupyter's dependency on sage-notebook-exporter

Thanks a lot! I should have read the help carefully. It's my fault!

Last edited by libra_kevin (2020-04-30 00:32:53)

Offline

Board footer

Powered by FluxBB