Luke-Jr
|
2010-08-12
, 20:38
|
Posts: 53 |
Thanked: 40 times |
Joined on May 2009
@ Brooksville, Florida
|
#21
|
|
2010-08-12
, 22:28
|
Posts: 44 |
Thanked: 16 times |
Joined on Mar 2010
|
#22
|
|
2010-08-13
, 17:38
|
|
Posts: 546 |
Thanked: 85 times |
Joined on Feb 2008
@ Winnipeg, Canada
|
#23
|
Sorry - I have been away and without decent internet access for the last month...
The delete button doesn't delete it? What browser are you using?
This is the password you set for the device (optional) when you press the actions button.
$ /home/opt/n900tracker/getactions.py Call http://tracking.isgreat.org/api?IMEI=MYIMEI&IMSI=MYIMSI&Pass=MYPASSWORD mode is location Checking if location was requested Starting Location finder Getting Location from GPS Call http://ws.geonames.org/findNearestAddress?lat=49.8794868775&lng=-97.1204716712 Traceback (most recent call last): File "/opt/n900tracker/whereami.py", line 82, in <module> addr=get_addr_from_xml(addrxml) File "/opt/n900tracker/whereami.py", line 14, in get_addr_from_xml addressobj=xmldoc.firstChild.childNodes[1] IndexError: list index out of range Checking if ssh was requested Checking if SMS was requested
This XML file does not appear to have any style information associated with it. The document tree is shown below. <geonames/>
The Following User Says Thank You to grog For This Useful Post: | ||
|
2010-08-13
, 17:51
|
Posts: 44 |
Thanked: 16 times |
Joined on Mar 2010
|
#24
|
...
When I hit the URL from the previous command:Code:Getting Location from GPS Call http://ws.geonames.org/findNearestAddress?lat=49.8794868775&lng=-97.1204716712 Traceback (most recent call last): File "/opt/n900tracker/whereami.py", line 82, in <module> addr=get_addr_from_xml(addrxml) File "/opt/n900tracker/whereami.py", line 14, in get_addr_from_xml addressobj=xmldoc.firstChild.childNodes[1] IndexError: list index out of range Checking if ssh was requested Checking if SMS was requested
Is all that's returned, so I'm guessing it's a site/API issue(?)Code:This XML file does not appear to have any style information associated with it. The document tree is shown below. <geonames/>
TX
The Following User Says Thank You to n900-dk For This Useful Post: | ||
|
2010-08-13
, 19:43
|
|
Posts: 546 |
Thanked: 85 times |
Joined on Feb 2008
@ Winnipeg, Canada
|
#25
|
The 'findNearestAddress' from geonames.org works only in the US, guess you are not there?
But I have modified the 'whereami.py', so it will just return the GPS coordinates, and in the webservice at http://whereismydevice.com/devices, you will then have a link to Google Maps for this position. Works fine for me here in Denmark
$ diff getactions.py getactions.py.001 45c45 < script += "whereami.sh" --- > script = "whereami.sh" 54c54 < script += "ssh.sh" --- > script = "ssh.sh"
|
2010-08-13
, 19:57
|
Posts: 44 |
Thanked: 16 times |
Joined on Mar 2010
|
#26
|
One more thing. Running getactions.py while selecting the ssh tunnel action gave the error "/bin/sh: ssh.sh not found".
54c54Code:$ diff getactions.py getactions.py.001 45c45 < script += "ssh.sh" --- > script = "ssh.sh"
The Following User Says Thank You to n900-dk For This Useful Post: | ||
|
2010-08-14
, 13:45
|
Posts: 82 |
Thanked: 44 times |
Joined on Feb 2010
|
#27
|
The 'findNearestAddress' from geonames.org works only in the US, guess you are not there? But I have modified the 'whereami.py', so it will just return the GPS coordinates, and in the webservice at http://whereismydevice.com/devices, you will then have a link to Google Maps for this position. Works fine for me here in Denmark
|
2010-08-15
, 00:03
|
Posts: 92 |
Thanked: 8 times |
Joined on Mar 2010
|
#28
|
|
2010-08-15
, 00:42
|
Posts: 515 |
Thanked: 193 times |
Joined on Oct 2009
|
#29
|
|
2010-08-15
, 07:34
|
Posts: 82 |
Thanked: 44 times |
Joined on Feb 2010
|
#30
|
Hi,
Are you ever gonna give the code for the site up so we can run it on our own servers?