Comments (5)
Do you get a 404, or nothing at all?
You can't go to just the root of the app (e.g. http://127.0.0.1:8888) because there's no handler for that, it will 404. You need to go to the full URL for a specific profile. SnakeViz prints that out when you start it.
from snakeviz.
Can you give a little more detail about how you're trying to start snakeviz? Are you using server-only mode?
from snakeviz.
Hello! I'm in a remote SSH session, using the port forwarding option
-L 8888:127.0.0.1:8888
And I'm starting snakeviz on that specific port and in server mode.
Then, I start a browser on my local machine and go to the address 127.0.0.1 port 8888
This works perfectly with other tornado-based web apps such as the ipython notebook
Thanks!
Demian Wassermann, PhD
[email protected]
Research Scientist
Athena Project Team
INRIA Sophia Antipolis - Méditerranée
2004 route des lucioles - FR-06902
On May 14, 2015, at 18:55, Matt Davis [email protected] wrote:
Can you give a little more detail about how you're trying to start snakeviz? Are you using server-only mode?
—
Reply to this email directly or view it on GitHub.
from snakeviz.
You're right. That was the problem! Thanks, this is a great tool.
If you give me a couple pointers, maybe I could help in adding a root handler that just performs redirection. Unless there's a reason not to have a root handler
from snakeviz.
We might want to save the root handler to be a file browser, but I don't have any immediate plans to work on that. One thing the root handler could be for now is a list of known profiles. (You can always change the URL to open a visualization of a different profile than the one you originally started from.) I think the best way to keep that list would be as a Python set in the Tornado application's settings dictionary. The set could be updated every time SnakeViz serves a profile.
If it's something you're interested in we can talk about it more, but no rush or pressure.
from snakeviz.
Related Issues (20)
- Please tag version 2.1.0 HOT 2
- charts not adding up HOT 1
- requested an insecure frame HOT 1
- Can I use SnakeViz in Google Colab? HOT 1
- %snakeviz magic lumps everything under builtins.exec HOT 2
- Snakeviz over an ssh-forwarded Jupyter-lab server connection?
- TypeError: 'int' object is not iterable
- How reset sorting? HOT 1
- Profile accuracy HOT 1
- Chart load error
- add info for trending
- chart time problem HOT 1
- Error "not a valid profile" on python 3.8.9 HOT 1
- a question about show message info HOT 2
- Option to write output to html file HOT 1
- An error occurred processing your profile. You can try a lower depth, a larger cutoff, or try profiling a smaller portion of your code. If you continue to have problems you can contact us on GitHub. HOT 1
- Drop support for EOL Pythons HOT 9
- Snakeviz not showing visualization via online jupyterLab HOT 4
- subprocesses HOT 2
- miniconda3 python3.12.1 on Win10 , snakeviz fails to start 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 snakeviz.