Skip to content

Vizapp and Inference Errors #288

@katinthehat

Description

@katinthehat

When running poetry run vizapp --config config.yaml, this error pops up saying the default port can't be used because that address is already in use. Changing the port from 5005 to 5006 in the config.yaml in the plots folder fixed the issue.

2024-10-07 13:23:18,469 - vizapp - INFO - Application ready!
INFO:bokeh.server.server:Starting Bokeh server version 3.4.3 (running on Tornado 6.4.1)
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/katrine.kompanets/aframev2/projects/plots/plots/vizapp/main.py", line 23, in cli
    main(**vars(args))
  File "/home/katrine.kompanets/aframev2/projects/plots/plots/vizapp/main.py", line 11, in main
    server = Server({"/": app}, num_procs=1, port=port, address="0.0.0.0")
  File "/home/katrine.kompanets/miniconda3/envs/plots-vDSl_3PO-py3.9/lib/python3.9/site-packages/bokeh/server/server.py", line 430, in __init__
    sockets, self._port = bind_sockets(opts.address, opts.port)
  File "/home/katrine.kompanets/miniconda3/envs/plots-vDSl_3PO-py3.9/lib/python3.9/site-packages/bokeh/server/util.py", line 68, in bind_sockets
    ss = netutil.bind_sockets(port=port or 0, address=address)
  File "/home/katrine.kompanets/miniconda3/envs/plots-vDSl_3PO-py3.9/lib/python3.9/site-packages/tornado/netutil.py", line 162, in bind_sockets
    sock.bind(sockaddr)
OSError: [Errno 98] Address already in use

The vizapp itself showed a point with a high detection statistic, but no actual background event and only noise in the spectrograms (as well as a display issue where H1 and L1 are not showing in the Background Event).

Screenshot 2024-10-08 at 6 43 24 PM Screenshot 2024-10-08 at 6 47 43 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions