Skip to content

coderbot cannot restart #1

Open
@explosivose

Description

@explosivose

File "/home/pi/coderbot/camera.py", line 51, in init
self._streamer = streamer.JpegStreamer...
socket.error: [Errno 98] Address already in use

Caused by JpegStreamer that still using the address because it did not terminate when coderbot was terminated

Fix:

  1. when coderbot is stopped (by ./stop.sh or sudo service coderbot stop) also stop the JpegStreamer server
  2. find and stop JpegStreamer servers using the required address before starting JpegStreamer

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions