Hello Tom et al.
Apparently there is something more missing:
root@deb:/opt/python-amprapi# ./updateros.py -v -n 192.168.0.102
Traceback (most recent call last):
File "./updateros.py", line 180, in <module>
main()
File "./updateros.py", line 110, in main
encap = filter(None, map(filter_encap, get_encap()))
File "./updateros.py", line 41, in get_encap
ampr = amprapi.AMPRAPI()
File "/opt/python-amprapi/amprapi.py", line 72, in __init__
self.enforce_version()
File "/opt/python-amprapi/amprapi.py", line 78, in enforce_version
if not self.check_version():
File "/opt/python-amprapi/amprapi.py", line 75, in check_version
return self._api_version_minor == self.get('version')['version']
File "/opt/python-amprapi/amprapi.py", line 87, in get
return json.loads(r.json())
TypeError: 'unicode' object is not callable
root@deb:/opt/python-amprapi#
I have unicode installed... What else?
Best regards.
--
Tom - SP2L
(ex sp2lob)
------------------------------------
It is nice to be important.
But it is more important to be nice!