Giter Site home page Giter Site logo

Fix automatic port selection about snakeviz HOT 2 CLOSED

jiffyclub avatar jiffyclub commented on September 26, 2024
Fix automatic port selection

from snakeviz.

Comments (2)

andrew-hill avatar andrew-hill commented on September 26, 2024

it seems manual port selection doesn't even work:

% snakeviz --port=8081 output.log
Traceback (most recent call last):
  File "/usr/local/bin/snakeviz", line 8, in <module>
    load_entry_point('snakeviz==0.1.1', 'console_scripts', 'snakeviz')()
  File "/Library/Python/2.7/site-packages/snakeviz-0.1.1-py2.7.egg/snakeviz/cli.py", line 66, in main
    app.listen(8080, address=hostname)
  File "/Library/Python/2.7/site-packages/tornado-3.1.1-py2.7.egg/tornado/web.py", line 1463, in listen
    server.listen(port, address)
  File "/Library/Python/2.7/site-packages/tornado-3.1.1-py2.7.egg/tornado/tcpserver.py", line 117, in listen
    sockets = bind_sockets(port, address=address)
  File "/Library/Python/2.7/site-packages/tornado-3.1.1-py2.7.egg/tornado/netutil.py", line 90, in bind_sockets
    sock.bind(sockaddr)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
socket.error: [Errno 48] Address already in use

Note the second line of the traceback is still trying on 8080

from snakeviz.

jiffyclub avatar jiffyclub commented on September 26, 2024

Fixed in #42 (4524aab).

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.