I have the bbhn-utils topology working on my ubuntu Pi. (16.04.02) at http://w4qed/hamshack.info:8888/img/topology.png and I'm trying to help another ham get it working on his Raspbian GNU/Linux 8. Anyway everything seemed to install well using: sudo apt-get install phthon3 graphviz imagemagick awscli xdot -y I am getting the following error when running topology.sh (after a very long delay): Traceback (most recent call last): File "/usr/lib/python3.4/urllib/request.py", line 1174, in do_open h.request(req.get_method(), req.selector, req.data, headers) File "/usr/lib/python3.4/http/client.py", line 1090, in request self._send_request(method, url, body, headers) File "/usr/lib/python3.4/http/client.py", line 1128, in _send_request self.endheaders(body) File "/usr/lib/python3.4/http/client.py", line 1086, in endheaders self._send_output(message_body) File "/usr/lib/python3.4/http/client.py", line 924, in _send_output self.send(msg) File "/usr/lib/python3.4/http/client.py", line 859, in send self.connect() File "/usr/lib/python3.4/http/client.py", line 836, in connect self.timeout, self.source_address) File "/usr/lib/python3.4/socket.py", line 509, in create_connection raise err File "/usr/lib/python3.4/socket.py", line 500, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/mnt/bbhn-utils/topology.py", line 96, in <module> lines = urllib.request.urlopen("http://" + HOST + ":" + str(PORT) + "/").readlines() File "/usr/lib/python3.4/urllib/request.py", line 153, in urlopen return opener.open(url, data, timeout) File "/usr/lib/python3.4/urllib/request.py", line 455, in open response = self._open(req, data) File "/usr/lib/python3.4/urllib/request.py", line 473, in _open '_open', req) File "/usr/lib/python3.4/urllib/request.py", line 433, in _call_chain result = func(*args) File "/usr/lib/python3.4/urllib/request.py", line 1202, in http_open return self.do_open(http.client.HTTPConnection, req) File "/usr/lib/python3.4/urllib/request.py", line 1176, in do_open raise URLError(err) urllib.error.URLError: <urlopen error [Errno 110] Connection timed out> convert: unable to open image `/tmp/topology.png': No such file or directory @ error/blob.c/OpenBlob/2712. convert: unable to open file `/tmp/topology.png' @ error/png.c/ReadPNGImage/3922. upload failed: ../../var/www/html/topology.png to s3://media.ve3irr.ca/bbhn/topology.png Unable to locate credentials
I am wondering if it is because it is having trouble accessing the NODE? It is linked to a WRT54GS. Now I did change the topology.sh from: /home/pi/bin/topology.py > /tmp/topology.dot to read: /mnt/bbhn-utils/topology.py > /tmp/topology.dot Of course using: sudo ./topology.sh
Thanks, Ben ARS w4qed
|