Comments (8)
It seems there is a special character in your notebook name (from the stack trace). Is it really named 03a_*.ipynb? That might be the source of the problem.
from nbdev.
It seems there is a special character in your notebook name (from the stack trace). Is it really named 03a_*.ipynb? That might be the source of the problem.
My notebook's name is 03a_module_layers.ipynb.
from nbdev.
Maybe something goes wrong because of the backslashes used in Windows paths? Or has nbdev been tested on Windows already?
from nbdev.
No, this is not that. nbdev works on Windows and has been tested, with the exception of the diff command however (this will be fixed when I have time to rewrite it).
from nbdev.
@BirkhoffG can you supply a public version of this notebook ( or a stripped-down version thereof )? I would like to see if I can reproduce this error!
from nbdev.
@BirkhoffG this appears to definitely be something in your notebook. For example, if I open 00_export.ipynb
and run the following cells
# copy existing notebook for testing
! cp 99_search.ipynb 03a_module_layers.ipynb
notebook2script('03a_module_layers.ipynb')
I don't see your error. Hope that helps
from nbdev.
I'm closing the issue since we can't reproduce and fix, please do not hesitate to reopen with an example of the bug (preferably with the notebook file that fails).
from nbdev.
Hello,
I had a similar issue, I'm working with windows. The notebook2script() worked fine until I made submodules. After I got the error, I created new modules that aren't nested and they could be exported fine, so it seems that notebook2script() fails specifically the submodules.
Then I updated nbdev from 0.1.6 to the latest to date 0.2.12 and it worked fine. Hope it can help someone.
from nbdev.
Related Issues (20)
- `nbdev_docs` raises `FileNotFoundError` when looking for `_proc/docs` HOT 2
- No documentation rendered for return type when function has no arguments
- No configuration options for `meta.yml` used by `nbdev_conda`, immediate fix required.
- nbdev_import HOT 2
- `proc_nbs` does not make use of its arguments `file_glob` and `file_re`
- Use of `pkg_resources` is deprecated
- Nested `lib_path` values break module -> notebook sync
- Specify multiple directories in `nbs_path` or exclude certain subdirectories HOT 3
- showdoc: SyntaxWarning: invalid escape sequence with Python 3.12
- update `ipywidgets` > 8.0.4 HOT 1
- Support Quarto Profiles
- [idea]support for deno or other languages(simple directive is enough) HOT 1
- fastai/workflows/quarto-ghp@master failing and reporting "no module named 'pandas' HOT 1
- nbdev_install_quarto doesn't work with Windows 10 system HOT 1
- Blog post broken links
- Add code folding for `exports`
- Move `exports` source after the show_doc
- Add magic `__` symbols to `show_doc` output
- Remove boxes since they broke ToC
- UnboundLocalError: cannot access local variable '_TEMPLATE' where it is not associated with a value HOT 2
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 nbdev.