Comments (10)
Hi @epifanio what version of jupyterlab-latex
, jupyterhub
, jupyter notebook
& jupyter lab
are you using?
from jupyterlab-latex.
Hi @mpacer , I'm running jupyterlab
and jupyterlab-latex
from github master. hub and notebook are pip installed.
-
Edit: I just updated
jupyterhub
to master, I'll do the same with the notebook and check again thejupyterlab-latex
logs. -
Edit2:
jupyterlab-latex
,jupyterhub
,jupyter notebook
&jupyter lab
are now updated to their git master branch versions. (Note: I've also installed jupyterlab hub extension, which was not installed before).
The jupyterlab-latex
logs are the same (can't find .tex
file)
from jupyterlab-latex.
could you pip install jupyter_conf_search
and then run
jupyter_conf_search base_url
?
from jupyterlab-latex.
it gives me:
jupyter_conf_search base_url
/root/.jupyter/jupyter_notebook_config.py
78: ## DEPRECATED use base_url
84: #c.NotebookApp.base_url = '/'
I run the hub as root with a custom config which is in:
/etc/jupyterhub/jupyterhub_config.py
cat /etc/jupyterhub/jupyterhub_config.py | grep base
# Dict of token:username to be loaded into the database.
## The base URL of the entire application
#c.JupyterHub.base_url = '/'
# The Hub should be able to resume from database state.
# The Hub should be able to resume from database state.
## Include any kwargs to pass to the database connection. See
## url for the database. e.g. `sqlite:///jupyterhub.sqlite`
## log all database transactions. This has A LOT of output
## Purge and reset the database.
## Dict of token:servicename to be loaded into the database.
## Upgrade the database automatically on start.
# Only safe if database is regularly backed up. Only SQLite databases will be
# auth_state will be encrypted and stored in the Hub's database. This can
# (or more, separated by ;) 32B encryption keys. These can be either base64 or
from jupyterlab-latex.
Where do you define the root directory for the users of your jupyterhub cluster?
from jupyterlab-latex.
In my config I have:
c.Spawner.notebook_dir = '~/notebooks'
from jupyterlab-latex.
Ah… so that's the problem. I think that notebook_dir
is being used there and we're looking for base_url
on the notebook application.
@minrk which of these should actually be used for our purposes? @ian-r-rose said he had gotten the approach to use webapp.settings['base_url']
from jupyterlab (I think? Ian can you verify that?) so I'm not sure how this differs from that case.
from jupyterlab-latex.
base_url is only used as a prefix to all URLs in the webapp. It shouldn't be involved in locating files, however it is necessary when receiving a URL to not consider the base url part of the path to the file.
Notebooks are served from NotebookApp.notebook_dir, not necessarily the CWD, which is my guess as to the source of your issue.
You can test with:
jupyter notebook /path/to/some/dir
and see if it is locating files correctly
from jupyterlab-latex.
@minrk is there a way to get access to the notebook traitlets without needing to inherit the entire NotebookApp
?
from jupyterlab-latex.
Fixed by #55, thanks for the report @epifanio
from jupyterlab-latex.
Related Issues (20)
- jupyterlab 3.0 HOT 10
- Compiling with Revtex4.2 HOT 2
- Table of contents failing to display HOT 1
- Failure when running "jupyter labextension install @jupyterlab/latex" HOT 2
- Pagenumbers aren't defined
- Add prebuilt extension HOT 1
- Make default binder a "live" preview HOT 1
- Download Icon not visible on dark theme
- Server extension error, can't use extension at all HOT 3
- Continue releasing npm packages (3.1.0+)
- Scroll editor to page is not working but scroll pdf to cursor works fine. HOT 2
- GET 500 while use synctex to scroll editor to page HOT 1
- Server Extension Error when generating LaTeX preview in Docker (jupyterlab/scipy-notebook) HOT 1
- Latex macros in Jupyter Lab HOT 1
- Jupyterlab-latex update for Jupyterlab 4 and Lumino 2 HOT 1
- Support lualatex? HOT 1
- jupyterlab 4.x issues with latex and creating new files in the root dir of jlab HOT 3
- please add 3.2.0 on PyPI HOT 9
- v4.0 does not work in collaborative session in jlab 4 HOT 2
- please add 4.0.0 on PyPI
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 jupyterlab-latex.