start of uNav through a shell script stopped working
-
I'm used to start
uNav
from a modified desktop entry and at the end through some small shell script (to connect the modified app to a local running HTTP server). The desktop entry is:[Desktop Entry] Name=unav-osm Type=Application Exec=/usr/bin/nohup /home/phablet/unav.sh Icon=/userdata/system-data/opt/click.ubuntu.com/navigator.costales/current/icon.png Terminal=false X-Ubuntu-Touch=true
and the shell script is at the end to launch
uNav
:# 2.3 cd /opt/click.ubuntu.com/navigator.costales/2.3 aa-exec-click -p navigator.costales_navigator_2.3 -- qmlscene %u qml/Main.qml > /tmp/unav.err 2> /tmp/unav.err
This gives in the file
/tmp/unav.err
the following messages:# cat /tmp/unav.err Loading module: 'libubuntu_application_api_touch_mirclient.so.3.0.0' Creating a QMirClientScreen now "/opt/click.ubuntu.com/navigator.costales/2.3/%u" does not exist. <Unknown File>: WARNING: the use of the Ubuntu.Components.Extras.Browser and Ubuntu.Web namespace is deprecated, please consider updating your applications to import Morph.Web instead. file:///opt/click.ubuntu.com/navigator.costales/2.3/qml/Main.qml:24 module "com.canonical.Oxide" is not installed
Any idea what might be missing now or is wrong. It still worked in summer 2020 and I think that the problem is caused by installing one of the last OTA.
Thanks
Matthias -
@guru
Just by reading the log, I'd say%u
is not used anymore or something like that.
Or maybe this argument should be set after the filename...First I would try to remove this
%u
and see how it works.
I don't know its purpose but I think it won't work.And more importantly, Oxide support has been removed from Ubuntu Touch. There were many warnings before doing it. I think uNav has been updated but if you still use an old qml file it might need an update...
-
@guru Your script targets an old version of uNav (2.3) which uses the old Oxide web library that has been removed in one of the latest OTA's after having been deprecated for a few previous OTA's.
The latest version of uNav is 3.13.
-
@arubislander Oh right, didn't pay much attention to the release version.
-
@applee: you beat me to the right answer, though ...