philnx wrote in Sat Sep 21, 2013 5:59 pm:By the way, the FGo! wiki page is now up to date, and new translations have been added.
landersohn wrote in Mon Nov 25, 2013 3:33 am:Any ideas?
$ fgo
Traceback (most recent call last):
File "/usr/games/fgo", line 17, in <module>
run(WORKING_DIR)
File "/usr/share/games/fgo/src/__init__.py", line 19, in run
data = Config()
File "/usr/share/games/fgo/src/config.py", line 78, in __init__
self.update(first_run=True)
File "/usr/share/games/fgo/src/config.py", line 208, in update
self.updateAptLists()
File "/usr/share/games/fgo/src/config.py", line 214, in updateAptLists
self._readApt()
File "/usr/share/games/fgo/src/config.py", line 494, in _readApt
self._makeApt()
File "/usr/share/games/fgo/src/config.py", line 372, in _makeApt
lat += float(e[1])
ValueError: could not convert string to float: Version
skip = 4
for line in fin:
if skip:
skip -= 1; continue
# Find runways.
elif code == '10' and line[3] == " ":
e = line.strip().split()
if e[3] != 'xxx':
rwy = e[3]
if rwy.endswith('x'):
rwy = rwy[:-1]
entry += ('=' + rwy)
if e[3] != 'xxx':
for i in [0,18]:
if i+9 >= len(e): break
lat += float(e[i+9])
lon += float(e[i+10])
runway_count += 1
ValueError: could not convert string to float: Version
self.apt_path = "/home/laserman/fg-fgdata/Airports/apt.dat.gz"
fin = gzip.open(self.apt_path)
Users browsing this forum: No registered users and 4 guests