geotiler
geotiler copied to clipboard
Bundling geotiler into an EXE using auto-py-to-exe raises FileNotFoundError
I have created a project that utilizes geotiler attempted to bundle my project into an exe using auto-py-to-exe. However, when I run my program it crashes due to the following error: File "geotiler\map.py", line 107, in init File "geotiler\provider.py", line 112, in find_provider File "geotiler\provider.py", line 164, in read_provider_data FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\ellio\AppData\Local\Temp\_MEI313962\geotiler\source\osm.json'
Bundling files using auto-py-to-exe requires relative file paths due to it placing all files in a temporary folder upon compilation, but this does not appear to work with geotiler files.
What would you have in C:\Users\ellio\AppData\Local\Temp\_MEI313962\geotiler\source directory? It shall contain JSON files for various providers.
Closing due to inactivity. Please reopen if you can provide more information.