Broadband-Hamnet™ Forum :: General
Welcome Guest   [Register]  [Login]
 Subject :bbhn-utils topology.. 2017-05-16- 12:30:27 
w4qed
Member
Joined: 2013-06-17- 23:18:42
Posts: 7
Location

 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


IP Logged
 Subject :Re:bbhn-utils topology.. 2017-05-17- 03:40:56 
w4qed
Member
Joined: 2013-06-17- 23:18:42
Posts: 7
Location

 A little more information is following.

The Pi that I am trying to get the topology bbhn-utils to work on is also a Pi NODE. I am sure that this will have an affect on how the program works. If you have a fix or it won't work at all, please let me know.


IP Logged
Page # 


Powered by ccBoard


SPONSORED AD: