Comments (5)
latest master should fix this, but note that this is still using the v4 notebook format.
from notedown.
Same error here, even if with a slightly different stack trace:
(PYTHON3) 🦊 notedown
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.6/bin/notedown", line 7, in <module>
from notedown.main import app
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/notedown/__init__.py", line 8, in <module>
from .contentsmanager import NotedownContentsManager
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/notedown/contentsmanager.py", line 8, in <module>
from notebook.services.contents.filemanager import FileContentsManager
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/notebook/services/contents/filemanager.py", line 21, in <module>
from .manager import ContentsManager
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/notebook/services/contents/manager.py", line 37, in <module>
class ContentsManager(LoggingConfigurable):
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/notebook/services/contents/manager.py", line 69, in ContentsManager
untitled_notebook = Unicode(_("Untitled"), config=True,
NameError: name '_' is not defined
Thanks!
from notedown.
Ditto on 2.7:
Traceback (most recent call last):
File "/usr/local/bin/notedown", line 7, in <module>
from notedown.main import app
File "/usr/local/lib/python2.7/site-packages/notedown/__init__.py", line 8, in <module>
from .contentsmanager import NotedownContentsManager
File "/usr/local/lib/python2.7/site-packages/notedown/contentsmanager.py", line 8, in <module>
from notebook.services.contents.filemanager import FileContentsManager
File "/usr/local/lib/python2.7/site-packages/notebook/services/contents/filemanager.py", line 21, in <module>
from .manager import ContentsManager
File "/usr/local/lib/python2.7/site-packages/notebook/services/contents/manager.py", line 37, in <module>
class ContentsManager(LoggingConfigurable):
File "/usr/local/lib/python2.7/site-packages/notebook/services/contents/manager.py", line 69, in ContentsManager
untitled_notebook = Unicode(_("Untitled"), config=True,
NameError: name '_' is not defined
from notedown.
adding
import notebook.transutils
on top of each file which imports from manager
should fix the issue.
from notedown.
Same error here when using notebook v5.2.0
from notedown.
Related Issues (20)
- IPython.html.widgets` has moved to `ipywidgets`.", ShimWarning HOT 2
- error after adding c.NotebookApp.contents_manager_class = 'notedown.NotedownContentsManager' HOT 2
- Conda version not working: line 4, in <module> import notedown.main File "<frozen importlib._bootstrap>", line 971, in _find_and_load
- UnicodeDecodeError on Windows but not WSL
- Code blocks in markdown HOT 1
- pandoc is producing non-ascii characters
- UnicodeEncoderError when converting notebook containing Chinese characters HOT 4
- Integration with Jupyter HOT 4
- Issue with Tables due to Linewrap HOT 1
- Jupyter Lab: use markdown as its storage format HOT 2
- Markdown header is incorrectly broken into multiple lines (and displayed strangely) HOT 2
- 这个插件是不是不能兼容Python2.7啊 HOT 1
- Notedown fork: Knitty HOT 3
- Can't open .MD file correctly.
- notedown ignores comments in markdown
- pip install failed (format missing) HOT 1
- fedora 32 not install
- Error while saving file: foo.md display_priority.j2
- Invalid Syntax
- Used nbconverter template is deprecated now and throws an error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from notedown.