osm-gps-map icon indicating copy to clipboard operation
osm-gps-map copied to clipboard

Not loading tiles on Pyinstaller built Windows exe

Open programmin1 opened this issue 3 years ago • 2 comments

I was able to package a program using this with some help from Pyinstaller team: https://github.com/pyinstaller/pyinstaller/issues/6575

However it gives errors trying to run and browse to new tile areas. It doesn't seem to download any:

(repeaterstart.exe:10496): libsoup-CRITICAL **: 23:25:41.363: soup_session_real_requeue_message: assertion 'item != NULL' failed

(repeaterstart.exe:10496): OsmGpsMap-WARNING **: 23:25:41.363: Error downloading tile: 6 - TLS/SSL support not available; install glib-networking

(repeaterstart.exe:10496): libsoup-CRITICAL **: 23:25:41.378: soup_session_real_requeue_message: assertion 'item != NULL' failed

(repeaterstart.exe:10496): OsmGpsMap-WARNING **: 23:25:41.394: Error downloading tile: 6 - TLS/SSL support not available; install glib-networking

(repeaterstart.exe:10496): libsoup-CRITICAL **: 23:25:41.409: soup_session_real_requeue_message: assertion 'item != NULL' failed

(repeaterstart.exe:10496): OsmGpsMap-WARNING **: 23:25:41.425: Error downloading tile: 6 - TLS/SSL support not available; install glib-networking

(repeaterstart.exe:10496): libsoup-CRITICAL **: 23:25:41.425: soup_session_real_requeue_message: assertion 'item != NULL' failed

programmin1 avatar Feb 10 '22 08:02 programmin1

As you can judge from error-s you need glib-networking for libsoup to handle SSL connections which are now the standard (all links to map tiles are https afaik)

czw., 10 lut 2022 o 09:08 programmin1 @.***> napisał(a):

I was able to package a program using this with some help from Pyinstaller team: pyinstaller/pyinstaller#6575 https://github.com/pyinstaller/pyinstaller/issues/6575

However it gives errors trying to run and browse to new tile areas. It doesn't seem to download any:

(repeaterstart.exe:10496): libsoup-CRITICAL **: 23:25:41.363: soup_session_real_requeue_message: assertion 'item != NULL' failed

(repeaterstart.exe:10496): OsmGpsMap-WARNING **: 23:25:41.363: Error downloading tile: 6 - TLS/SSL support not available; install glib-networking

(repeaterstart.exe:10496): libsoup-CRITICAL **: 23:25:41.378: soup_session_real_requeue_message: assertion 'item != NULL' failed

(repeaterstart.exe:10496): OsmGpsMap-WARNING **: 23:25:41.394: Error downloading tile: 6 - TLS/SSL support not available; install glib-networking

(repeaterstart.exe:10496): libsoup-CRITICAL **: 23:25:41.409: soup_session_real_requeue_message: assertion 'item != NULL' failed

(repeaterstart.exe:10496): OsmGpsMap-WARNING **: 23:25:41.425: Error downloading tile: 6 - TLS/SSL support not available; install glib-networking

(repeaterstart.exe:10496): libsoup-CRITICAL **: 23:25:41.425: soup_session_real_requeue_message: assertion 'item != NULL' failed

— Reply to this email directly, view it on GitHub https://github.com/nzjrs/osm-gps-map/issues/94, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACRRKFPC4V67RDRXT6QDGMDU2NXA7ANCNFSM5N74X5AA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Pozdrawiam, Hubert Kowalski

johnny-bit avatar Feb 10 '22 08:02 johnny-bit

Running the script direct works, so do you know how to include library when building?

programmin1 avatar Feb 10 '22 08:02 programmin1