As I mentioned on the tail end of a previous post of a similar title, I booted the system this morning and the problem has returned.
I opened an SSH session and ran ‘weniopi’ with the following result:
“2016-07-02 16:03:11 - WebIOPi - ERROR - [Errno 98] Address already in use
Traceback (most recent call last):
File “/usr/local/lib/python3.4/dist-packages/WebIOPi-0.7.22-py3.4-linux-armv7l.egg/webiopi/protocols/http.py”, line 45, in init
BaseHTTPServer.HTTPServer.init(self, (”", port), HTTPHandler)
File “/usr/lib/python3.4/socketserver.py”, line 429, in init
File “/usr/lib/python3.4/http/server.py”, line 133, in server_bind
File “/usr/lib/python3.4/socketserver.py”, line 440, in server_bind
OSError: [Errno 98] Address already in use"
Hope this helps.
========== update ===================
After I closed the browser. and thus, the Pi’s wifi connection, the Cayenne and Weaved results returned to the correct state…
I’m going to try and edit the config file to add another, different, port and Pi root directory for my testing. This presumes each port can have its own document root directory.
If any one knows differently, let me know. Otherwise consider this done.