Comments (4)
It checks whether the any running server was started in a path that's a prefix of the current notebook path. E.g. if I have a server running in /home/thomas
and I try to open /home/thomas/foo/bar.ipynb
, it will use the existing server. But if I try to open /opt/baz.ipynb
, it will start a new server.
from nbopen.
Well, I got an error on Windows this afternoon, but this is working on
Linux. Let me check tomorrow morning again. Maybe my mistake with the paths
or something.
On Tue, Nov 15, 2016 at 12:05 AM, Thomas Kluyver [email protected]
wrote:
It checks whether the any running server was started in a path that's a
prefix of the current notebook path. E.g. if I have a server running in
/home/thomas and I try to open /home/thomas/foo/bar.ipynb, it will use
the existing server. But if I try to open /opt/baz.ipynb, it will start a
new server.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#38 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHgZ5ZPg30z-Gfj00mdae39424-oRBDqks5q-UuxgaJpZM4KyI0I
.
from nbopen.
There may be a bug because I'm used to case-sensitive Linux paths, and Windows paths are case-insensitive.
from nbopen.
I spent quite some time debugging and fixing this problem only to find this pull request which fixes the issue in the master:
My solution is based on notebookapp, but is essentially the same:
relpath = os.path.relpath(filename, start=server_inf['notebook_dir'])
# based on "start" method in notebookapp
uri = url_escape(url_path_join('notebooks', *relpath.split(os.sep)))
url = url_path_join(server_inf['url'], uri)
from nbopen.
Related Issues (20)
- Missing icon for .ipynb notebooks (Ubuntu 18.10) HOT 3
- installed nbopen and when I double click, it opens in chrome but says connecting to kernel.
- nbopen has encountered a fatal error HOT 1
- nbopen doesn't create file it it doesn't exist HOT 4
- nbopen is inconsistent in re returning to interactive prompt after execution. HOT 1
- How do I undo "python3 -m nbopen.install_win" ? HOT 1
- terminal window appear for every notebook i open
- nbopen does not work, it simply flashes Python interpreter command prompt HOT 17
- Possibilty to open Jupyter lab instead of Notebook HOT 4
- 'Error while finding module specification...' in cmd and jupyter
- How Undo integration to File manager? HOT 1
- Error or nothing HOT 5
- "localhost refused to connect" for some files HOT 6
- Double-clicking .ipynb file does not work with nbopen HOT 7
- ImportError: DLL load failed while importing error: The specified module could not be found. HOT 1
- nbopen asks for token/password, even when using an existing server that is already authenticated --- and jupyter notebook list does not show the required tokens HOT 1
- Launch Error with Application
- How to have nbopen working with Anaconda on Windows 10? HOT 4
- 404 : Not Found error on CloudStorage drives HOT 6
- It isn't working anymore HOT 4
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 nbopen.