View Single Post
Posts: 17 | Thanked: 0 times | Joined on Jul 2010
#14
After running whereami.py I am getting following error:

Code:
Getting Location from GPS
Call http://ws.geonames.org/findNearestAddress?lat=xxxxxxxxxxx&lng=xxxxxxxxxx
Traceback (most recent call last):
  File "./whereami.py", line 82, in <module>
    addr=get_addr_from_xml(addrxml)
  File "./whereami.py", line 14, in get_addr_from_xml
    addressobj=xmldoc.firstChild.childNodes[1]
IndexError: list index out of range
Could you tell me what's wrong?