Giter Site home page Giter Site logo

Comments (5)

jiffyclub avatar jiffyclub commented on June 24, 2024 3

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.

jiffyclub avatar jiffyclub commented on June 24, 2024

Can you give a little more detail about how you're trying to start snakeviz? Are you using server-only mode?

from snakeviz.

demianw avatar demianw commented on June 24, 2024

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.

demianw avatar demianw commented on June 24, 2024

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.

jiffyclub avatar jiffyclub commented on June 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.