Comments (15)
@pixelindigo thanks, forgot to have the other check this. 404 errors make sense now.
from hide_code.
I think this is a bug. Do you have a notebook directory manually configured?
from hide_code.
No, I haven't configured a directory. I store my notebooks under one directory 'my_notebooks' .
from hide_code.
Hello
Thank for your works , I've same problem.
regards
SR
from hide_code.
@stef30360 please post the console output from jupyter when this error occurs. ty
from hide_code.
Hello,
here are...
[W 21:32:04.642 NotebookApp] 404 GET /notebooks/Dropbox/Kepler/KeplerSoft/SOURCE_NOTEBOOK.ipynb/KS_Soft.ipynb/export/pdf (::1): No such file or directory: Dropbox/Kepler/KeplerSoft/SOURCE_NOTEBOOK.ipynb/KS_Soft.ipynb/export/pdf
[W 21:32:04.644 NotebookApp] 404 GET /notebooks/Dropbox/Kepler/KeplerSoft/SOURCE_NOTEBOOK.ipynb/KS_Soft.ipynb/export/pdf (::1) 3.46ms referer=http://localhost:8888/notebooks/Dropbox/Kepler/KeplerSoft/_SOURCE_NOTEBOOK_.ipynb/KS_Soft.ipynb
[I 21:32:04.819 NotebookApp] Starting buffering for 35b09204-a82d-4494-b369-66745db6db15:82ad4582bd21493c8edcb4bda647273d
from hide_code.
hi
I don't understand. When I go back to the file in the source folder, the pdf to latex export works (but without the graphics), however export pdf to html return a 500 error.
from hide_code.
Does the root Jupyter folder contain your Dropbox folder? And if you click on the referrer link from your previous post, does it open the notebook correctly?
from hide_code.
yes , when I click on the referrer link, it works. The root folder Jupyter doesn't contain Dropbox folder.
from hide_code.
@stef30360 just a stab in the dark, but after looking through the output you posted above. Is Jupyter is changing the file path from http://localhost:8888/notebooks/Dropbox/Kepler/KeplerSoft/_SOURCE_NOTEBOOK_.ipynb/KS_Soft.ipynb
to http://localhost:8888/notebooks/Dropbox/Kepler/KeplerSoft/SOURCE_NOTEBOOK.ipynb/KS_Soft.ipynb
? Notice the underscores on either side of SOURCE_NOTEBOOK are mising in the later path.
Also, please run the code below and let me know if it's the correct path to the notebook you're using.
import notebook.notebookapp as nb
app = nb.NotebookApp()
print(app.notebook_dir)
from hide_code.
I changed my file path and I run the code:
import notebook.notebookapp as nb
app = nb.NotebookApp()
print(app.notebook_dir)
result: /Users/srmac/Dropbox/Kepler/KeplerSoft/SOURCE_NOTEBOOK
it's a correct path,but I have still the error 404 on the three possible exports.
[W 07:35:59.461 NotebookApp] 404 GET /notebooks/Dropbox/Kepler/KeplerSoft/SOURCE_NOTEBOOK/KS_Soft.ipynb/export/pdf (::1): No such file or directory: Dropbox/Kepler/KeplerSoft/SOURCE_NOTEBOOK/KS_Soft.ipynb/export/pdf
[W 07:35:59.465 NotebookApp] 404 GET /notebooks/Dropbox/Kepler/KeplerSoft/SOURCE_NOTEBOOK/KS_Soft.ipynb/export/pdf (::1) 5.21ms referer=http://localhost:8888/notebooks/Dropbox/Kepler/KeplerSoft/SOURCE_NOTEBOOK/KS_Soft.ipynb
[I 07:35:59.695 NotebookApp] Starting buffering for 0760e978-488a-48e3-b38c-1f038c83b770:c9259ad548854e9a8e2e9e078d4515d3
from hide_code.
Not sure why, but the path to export is wrong on your output above.
[W 07:35:59.461 NotebookApp] 404 GET /notebooks/Dropbox/Kepler/KeplerSoft/SOURCE_NOTEBOOK/KS_Soft.ipynb/export/pdf (::1): No such file or directory: Dropbox/Kepler/KeplerSoft/SOURCE_NOTEBOOK/KS_Soft.ipynb/export/pdf
Dropbox/Kepler/KeplerSoft/SOURCE_NOTEBOOK/KS_Soft.ipynb/export/pdf
this part should look like this Dropbox/Kepler/KeplerSoft/SOURCE_NOTEBOOK/KS_Soft.ipynb
Does this link export to pdf?
http://localhost:8888/notebooks/Dropbox/Kepler/KeplerSoft/SOURCE_NOTEBOOK/KS_Soft.ipynb/export/pdf
from hide_code.
Hello,
Sorry the link doesn't work . it doesn't export pdf ! KS_Soft.ipynb is a file not directory !
localhost 8888 notebooks Dropbox Kepler KeplerSoft SOURCE NOTEBOOK Soft ipynb export pdf.
ERR_CONNECTION_REFUSED
from hide_code.
Same thing. jupyter:4.4.0, hide_code:0.5.0
Jupyter is started from the same dir as report.ipynb
[W 13:19:26.516 NotebookApp] 404 GET /notebooks/report.ipynb/export/latexpdf (::1): No such file or directory: report.ipynb/export/latexpdf
[W 13:19:26.520 NotebookApp] 404 GET /notebooks/report.ipynb/export/latexpdf (::1) 4.21ms referer=http://localhost:8888/notebooks/report.ipynb
UPD: My bad. Seems that serverextensions were disabled, because I accidentally enabled them from su. Now it works as expected.
from hide_code.
@stef30360 check hide_code is enabled as a server extension. Run jupyter serverextension list
.
You should see an output similar to below.
config dir: /Users/kirbs-/.jupyter
hide_code enabled
- Validating...
hide_code OK
from hide_code.
Related Issues (20)
- URL for exports are incorrect using jupyterhub HOT 1
- Support for recent nbconvert and traitlets HOT 4
- Invalid file name and extension if title contains spaces
- It is impossible to export to HTML if notebook was renamed
- Export to HTML and PDF still with the output HOT 6
- Hide code : Support for letters with accent marks HOT 2
- Using hide_code then convert to PDF HOT 1
- Add Binder demo HOT 1
- Use tags to identify cell disclosure state
- hide-code v0.5.5 cannot be installed via pypi HOT 2
- Install with Conda HOT 1
- Installation problem - No module named hide_code_html_exporter HOT 9
- Exporting result in 404 error on Jupyterhub HOT 1
- 404 : Not Found You are requesting a page that does not exist! HOT 4
- Export issue (jinja2.exceptions.TemplateNotFound: hide_code_full.tpl) HOT 8
- 500: Internal Server Error when exporting to... anything? HOT 6
- Jupyter Lab 3.0 not supported HOT 4
- Can't install into an empty virtual environment HOT 1
- Traitlets too old for Jupyter Server HOT 3
- Impossible to make it work with jupyter installed with anaconda
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 hide_code.