Skip to content

importing .gpx files fails #9

@Fuseteam

Description

@Fuseteam

logviewer says:

[02/09/2025 08:41] library "eglSubDriverAndroid.so" not found
[02/09/2025 08:41] Creating a QMirClientScreen now
[02/09/2025 08:41] Got library name:  "/usr/lib/aarch64-linux-gnu/qt5/qml/io/thp/pyotherside/libpyothersideplugin.so"
[02/09/2025 08:41] qml: STARTING GPX
[02/09/2025 08:41] qml: python module os loaded
[02/09/2025 08:41] qml: python loaded
[02/09/2025 08:41] propsReply "An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\", sender=\":1.132\" (uid=32011 pid=10499 comm=\"/usr/lib/qt5/bin/qmlscene qml/Main.qml \" label=\"activitytracker.cwayne18_activitytracker_1.1.4 (enforce)\") interface=\"org.freedesktop.DBus.Properties\" member=\"GetAll\" error name=\"(unset)\" requested_reply=\"0\" destination=\"org.freedesktop.NetworkManager\" (uid=0 pid=1852 comm=\"/usr/sbin/NetworkManager --no-daemon \" label=\"unconfined\")"
[02/09/2025 08:41] nmReply "An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\", sender=\":1.132\" (uid=32011 pid=10499 comm=\"/usr/lib/qt5/bin/qmlscene qml/Main.qml \" label=\"activitytracker.cwayne18_activitytracker_1.1.4 (enforce)\") interface=\"org.freedesktop.NetworkManager\" member=\"GetDevices\" error name=\"(unset)\" requested_reply=\"0\" destination=\"org.freedesktop.NetworkManager\" (uid=0 pid=1852 comm=\"/usr/sbin/NetworkManager --no-daemon \" label=\"unconfined\")"
[02/09/2025 08:41] "Object path cannot be empty"
[02/09/2025 08:41] qml: python module geepeeex loaded
[02/09/2025 08:41] qml: python module gpximport loaded
[02/09/2025 08:41] qml: python module gpxinfo loaded
[02/09/2025 08:41] QGeoTileProviderOsm: Tileserver disabled at  QUrl("http://maps-redirect.qt.io/osm/5.8/satellite")
[02/09/2025 08:41] QGeoTileFetcherOsm: all providers resolved
[02/09/2025 08:41] qml: getting units
[02/09/2025 08:41] qml: kilometers
[02/09/2025 08:41] Failed to vibrate with pattern: "User disallow general vibration"
[02/09/2025 08:41] [PERFORMANCE]: Last frame took 137 ms to render.
[02/09/2025 08:41] file:///usr/lib/aarch64-linux-gnu/qt5/qml/Lomiri/Components/Popups/1.3/Dialog.qml:239:13: QML Column: Cannot specify top, bottom, verticalCenter, fill or centerIn anchors for items inside Column. Column will not function.
[02/09/2025 08:41] qml: 'caller' is DEPRECATED. It has no effect.
[02/09/2025 08:41] file:///usr/lib/aarch64-linux-gnu/qt5/qml/Lomiri/Components/Popups/1.3/Dialog.qml:239:13: QML Column: Cannot specify top, bottom, verticalCenter, fill or centerIn anchors for items inside Column. Column will not function.
[02/09/2025 08:41] Failed to vibrate with pattern: "User disallow general vibration"
[02/09/2025 08:41] qml: In progress
[02/09/2025 08:41] file:///opt/click.ubuntu.com/activitytracker.cwayne18/1.1.4/qml/ImportPage.qml:50: TypeError: Value is undefined and could not be converted to an object
[02/09/2025 08:42] qml: Charged
[02/09/2025 08:42] qml: file:///home/phablet/.cache/activitytracker.cwayne18/HubIncoming/2/Gebied_No.01.gpx
[02/09/2025 08:42] file:///opt/click.ubuntu.com/activitytracker.cwayne18/1.1.4/qml/ImportPage.qml:48: TypeError: Type error
[02/09/2025 08:42] Failed to vibrate with pattern: "User disallow general vibration"
[02/09/2025 08:42] [PERFORMANCE]: Last frame took 36 ms to render.
[02/09/2025 08:42] qml: importing file:///home/phablet/.cache/activitytracker.cwayne18/HubIncoming/2/Gebied_No.01.gpx
[02/09/2025 08:42] Failed to vibrate with pattern: "User disallow general vibration"
[02/09/2025 08:42] ERROR:root:unsupported operand type(s) for /: 'NoneType' and 'int'
[02/09/2025 08:42] Traceback (most recent call last):
[02/09/2025 08:42]   File "/opt/click.ubuntu.com/activitytracker.cwayne18/1.1.4/py/gpximport.py", line 149, in Import_run
[02/09/2025 08:42]     print_gpx_info(gpx, gpx_file,gpx_name,act_type)
[02/09/2025 08:42]   File "/opt/click.ubuntu.com/activitytracker.cwayne18/1.1.4/py/gpximport.py", line 99, in print_gpx_info
[02/09/2025 08:42]     add_run(gpx,gpx_name,act_type,gpx_file,"")
[02/09/2025 08:42]   File "/opt/click.ubuntu.com/activitytracker.cwayne18/1.1.4/py/gpximport.py", line 115, in add_run
[02/09/2025 08:42]     duration = '{:.2f}'.format(gpx_part.get_duration() / 60)
[02/09/2025 08:42] TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'
[02/09/2025 08:42] "PyOtherSide error: Traceback (most recent call last):\n\n  File \"/opt/click.ubuntu.com/activitytracker.cwayne18/1.1.4/py/gpximport.py\", line 149, in Import_run\n    print_gpx_info(gpx, gpx_file,gpx_name,act_type)\n\n  File \"/opt/click.ubuntu.com/activitytracker.cwayne18/1.1.4/py/gpximport.py\", line 99, in print_gpx_info\n    add_run(gpx,gpx_name,act_type,gpx_file,\"\")\n\n  File \"/opt/click.ubuntu.com/activitytracker.cwayne18/1.1.4/py/gpximport.py\", line 115, in add_run\n    duration = '{:.2f}'.format(gpx_part.get_duration() / 60)\n\nTypeError: unsupported operand type(s) for /: 'NoneType' and 'int'\n\n\nDuring handling of the above exception, another exception occurred:\n\n\nTraceback (most recent call last):\n\n  File \"/opt/click.ubuntu.com/activitytracker.cwayne18/1.1.4/py/gpximport.py\", line 153, in Import_run\n    mod_sys.exit(1)\n\nSystemExit: 1\n"
[02/09/2025 08:42] Unhandled PyOtherSide error: Return value of PyObject call is NULL: Traceback (most recent call last):
[02/09/2025 08:42]   File "/opt/click.ubuntu.com/activitytracker.cwayne18/1.1.4/py/gpximport.py", line 149, in Import_run
[02/09/2025 08:42]     print_gpx_info(gpx, gpx_file,gpx_name,act_type)
[02/09/2025 08:42]   File "/opt/click.ubuntu.com/activitytracker.cwayne18/1.1.4/py/gpximport.py", line 99, in print_gpx_info
[02/09/2025 08:42]     add_run(gpx,gpx_name,act_type,gpx_file,"")
[02/09/2025 08:42]   File "/opt/click.ubuntu.com/activitytracker.cwayne18/1.1.4/py/gpximport.py", line 115, in add_run
[02/09/2025 08:42]     duration = '{:.2f}'.format(gpx_part.get_duration() / 60)
[02/09/2025 08:42] TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'
[02/09/2025 08:42] During handling of the above exception, another exception occurred:
[02/09/2025 08:42] Traceback (most recent call last):
[02/09/2025 08:42]   File "/opt/click.ubuntu.com/activitytracker.cwayne18/1.1.4/py/gpximport.py", line 153, in Import_run
[02/09/2025 08:42]     mod_sys.exit(1)
[02/09/2025 08:42] SystemExit: 1
[02/09/2025 08:57] qt.qpa.mirclient: Attempted to deliver an event to a non-existent window, ignoring.
[02/09/2025 08:57] qt.qpa.mirclient: Attempted to deliver an event to a non-existent window, ignoring.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions