You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I am using France osm.pbf I got from geofabric and converted it into a .osm with osmconvert (The file size is surprisingly only around 200Mo).
When loading the file inside the program, it crash and display this message :
Traceback (most recent call last):
File "C:\Users\Utilisateur\Documents\code\python-style-map\src\gui\MainWindow\MainWindowHandlers.py", line 203, in loadOSMFile
self._map.setOSMFile(fileName)
File "C:\Users\Utilisateur\Documents\code\python-style-map\src\gui\Widgets\mapwidget.py", line 80, in setOSMFile
self._map = Map(self.width(), self.height(), fname, self._config)
File "C:\Users\Utilisateur\Documents\code\python-style-map\src\core\Map.py", line 139, in __init__
root = ET.parse(fname).getroot()
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.1776.0_x64__qbz5n2kfra8p0\lib\xml\etree\ElementTree.py", line 1202, in parse
tree.parse(source, parser)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.1776.0_x64__qbz5n2kfra8p0\lib\xml\etree\ElementTree.py", line 595, in parse
self._root = parser._parse_whole(source)
xml.etree.ElementTree.ParseError: encoding specified in XML declaration is incorrect: line 1, column 31
The text was updated successfully, but these errors were encountered:
Hello,
I am using France osm.pbf I got from geofabric and converted it into a .osm with osmconvert (The file size is surprisingly only around 200Mo).
When loading the file inside the program, it crash and display this message :
The text was updated successfully, but these errors were encountered: