View Single Post
andrei1089's Avatar
Posts: 81 | Thanked: 109 times | Joined on Apr 2009 @ Brasov/Cluj, Romania
#2
Originally Posted by mgreene View Post
Have installed PyMaemo and python-location. Tried running the example on the PyMaemo PY-Location page, but get the following error:

[sbox-FREMANTLE_ARMEL: ~/gps_work] > run-standalone.sh python2.5 location.py
Traceback (most recent call last):
File "location.py", line 1, in <module>
import location
File "/home/mgreene/gps_work/location.py", line 25, in <module>
control = location.GPSDControl.get_default()
AttributeError: 'module' object has no attribute 'GPSDControl'
Change the name of your file from location.py to something else.