View Single Post
Posts: 28 | Thanked: 109 times | Joined on May 2010 @ Normandy, France
#8
I've downloaded Paris map from http://pmetro.su/Maps.html , and Metromap does not start anymore after choosing Paris in the town selection menu.

Here is the trace when launching Metromap from terminal :

~$ python /opt/metromap/metromap.py
Traceback (most recent call last):
File "/opt/metromap/metromap.py", line 755, in <module>
city_changed(CITY)
File "/opt/metromap/metromap.py", line 512, in city_changed
MD = MapDisplay(mdlines, mdstations, mdvectors, station_selected, sh, cachedir=CACHEDIR, debug=DEBUG, pb=Iface, one_button=Iface.one_button)
File "/home/opt/metromap/modules/MapDisplay.py", line 122, in __init__
minx = min(map(lambda st: min(st['x'] - st['diameter'] / 2 - 5, st['namerect'][0] - 5), self.Stations.values()))
ValueError: min() arg is an empty sequence