Comments (6)
Great! Glad we were able to help you resolve it. It's helpful to know about runtime errors in jupyter_notebook_config.py
as being one potential way things break. I'm going to close this issue since it looks like you're all set.
from nbautoexport.
Hi @Ziemersky, thank you for trying out nbautoexport!
After running conda install nbautoexport
, did you run nbautoexport install
? This is a one-time setup step to register nbautoexport with Jupyter to run automatically. Note that if your Jupyter Notebook server is already running, you will need to restart it for it to take effect.
from nbautoexport.
Hi Jay, thanks for the quick response!
Yes I did execute that command, just forgot to mention it. It also gave me the post-save hook installation success message.
I tried reinstalling nbautexport, restarting Jupyter Notebook and my computer several times but nothing helped.
from nbautoexport.
@Ziemersky can you share the output of the following commands:
which jupyter
which nbautoexport
And then also run the jupyter notebook server, open a notebook, explicitly save the notebook, and share the logs that the notebook server prints out when doing that? It should mention the script exports if it is working.
from nbautoexport.
@pjbull since the commands you mentioned throw an error of the following kind:
'which' is not recognized as an internal or external command,
operable program or batch file.,
I assume you mean the "program" --version
command. They give me:
For jupyter --version
:
jupyter core : 4.7.1
jupyter-notebook : 6.3.0
qtconsole : 5.0.3
ipython : 7.22.0
ipykernel : 5.3.4
jupyter client : 6.1.12
jupyter lab : 3.0.14
nbconvert : 6.0.7
ipywidgets : 7.6.3
nbformat : 5.1.3
traitlets : 5.0.5
and for nbautoexport --version
:
0.3.1
.
After starting the server and opening a file called "Glowplug_Temperature_normalized.ipynb", I pressed the "save" button. The output is:
[I 08:08:06.350 NotebookApp] Saving file at /PowerFolders/Droplet_Chamber/03Documentation/Tests/Analysis/Scripts/Glowplug_Temperature_normalized.ipynb
It does not mention the script exports.
from nbautoexport.
Okay I figured it out.
I previously edited my jupyter_notebook_config.py
file in order to open the notebook in Chrome automatically.
To do so, I pasted some code from another forum into it, looking like this:
import webbrowser
webbrowser.register('chrome', None, webbrowser.GenericBrowser('C:\Program Files (x86)\Google\Chrome\Application\chrome.exe'))
c.NotebookApp.browser = 'chrome'
and uncommented line 536 c.NotebookApp.use_redirect_file = False
. Now the server did raise an "unexpected indent"-error on startup but somehow opened the notebook in chrome, so I forgot about it and moved on.
Turned out the path in the code snippet above is wrong. "chrome.exe" lies in C:\Program Files\Google\...
So I changed it, re-commented line 536 again and now it works!
Thanks for your help, without looking at the server outup I would have not looked into this.
from nbautoexport.
Related Issues (20)
- Failed build on master branch (tests #273) HOT 1
- Cells with cell magic output the contents as a really long string! HOT 2
- mkdocstrings does not work with latest setuptools (docs fail to build) HOT 1
- Failed build on master branch (tests #280) HOT 1
- Failed build on master branch (tests #281) HOT 1
- Failed build on master branch (tests #282) HOT 1
- Failed build on master branch (tests #284) HOT 1
- Failed build on master branch (tests #306)
- Failed build on master branch (tests #307)
- Failed build on master branch (tests #308)
- [deploys] Netlify build image needs an update HOT 2
- Failed build: tests HOT 1
- Failed build: tests - Pydantic v2 HOT 4
- Failed build: tests HOT 1
- notebook.services replaced in notebook version 7.0.0 HOT 1
- Failed build: tests
- Failed build: tests HOT 1
- Failed build on master branch (tests #262) HOT 1
- Failed build on master branch (tests #271) HOT 1
- Failed build on master branch (tests #272) HOT 1
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 nbautoexport.