fransschreuder / OSMScout-ubuntu

Compile libosmscout for Ubuntu Touch and create an offline routing application
Other
16 stars 10 forks source link

Osm Scout crashes when hitting the download button #46

Open ubuntun00b opened 8 years ago

ubuntun00b commented 8 years ago

Hello,

since OTA-9 the app crashes anytime I hit the download button. I would love to provide a log but I can't figure out how to get in the folder... Do you know this issue? Greeting the n00b

fransschreuder commented 8 years ago

Dear the n00b,

I have seen the problem right after the update, but for some reason the problem solved itself here. I will try to reproduce the problem again here and debug. It must have something to do with qSettings.

Frans

On 21-02-16 13:04, ubuntun00b wrote:

Hello,

since OTA-9 the app crashes anytime I hit the download button. I would love to provide a log but I can't figure out how to get in the folder... Do you know this issue? Greeting the n00b

— Reply to this email directly or view it on GitHub https://github.com/fransschreuder/OSMScout-ubuntu/issues/46.

ubuntun00b commented 8 years ago

Ok thanks. If I can do anything to help let me know! Great App!

Julmuzy commented 8 years ago

Hello Frans. I have the same issue. Crashing as soon as the download button is pressed. Any ideas?

Julmuzy commented 8 years ago

Hello Frans,

Still happening, I'm afraid. Managed to get a log file which I can't attach to this message because github won't let me for some reason. I had a look through it and can find two sections which cause errors.

1) Settings filename /home/phablet/.config/osmscout-support.fransschreuder/osmscout-support.conf Could not create "/home/phablet/.local/share/osmscout-support.fransschreuder" /Maps Looking into path: /home/phablet/.local/share/osmscout-support.fransschreuder/Maps File open... HasError: false File open... HasError: false

and

2) Draw: [35.50434 N -19.65659 W - 61.77104 N 4.42634 E] 8x/3 540x921 241.02866 DPI Paths: 0/0/0/0 (pcs) 0.000/0.000/0.000 (sec) Areas: 0/0/0 (pcs) 0.000/0.000/0.000 (sec) Nodes: 0+0/0 (pcs) 0.000/0.000 (sec) Labels: 0/0/0 (pcs) 0.000 (sec) All: 0.024 Data: 0.001 Draw: 0.022 file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/1.2/Panel.qml:324: ReferenceError: MathUtils is not defined file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/1.2/Panel.qml:324: ReferenceError: MathUtils is not defined Could not create "/home/phablet/.local/share/osmscout-support.fransschreuder" /Maps Looking into path: /home/phablet/.local/share/osmscout-support.fransschreuder/Maps Refreshed Items QNetworkManagerInterface::QNetworkManagerInterface(QObject_) propsReply "An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.462" (uid=32011 pid=9003 comm="OSMScout ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requestedreply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=1464 comm="NetworkManager ")" QNetworkManagerInterface::QNetworkManagerInterface(QObject) nmReply "An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.462" (uid=32011 pid=9003 comm="OSMScout ") interface="org.freedesktop.NetworkManager" member="GetDevices" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=1464 comm="NetworkManager ")" "Object path cannot be empty" Could not create "/home/phablet/.local/share/osmscout-support.fransschreuder" /Maps DownloadListModel size: 0

Hope this helps.

AQbernhard commented 8 years ago

Hello Frans, I had the same issue. It happens when I delete a map. Now I know, that I have to change the value of selectetmap from 1 to 0 in the file osmscout.conf. After this, the App is running again without mistake.

Hope, you will find an solution

Bernhard

Julmuzy commented 8 years ago

Yes, that worked. Thank you.