Locus Actions crashes APP

Started by kech61, December 29, 2013, 11:13:34

0 Members and 1 Guest are viewing this topic.

kech61

Hi Menion,

I tried to implement the Locus:Actions for downloading and installing OpenAndroMaps themes to locus.
Well, it crashes Locus (the actions from Freizeitkarte too).

Sometimes Locus says that an error occured, sometimes it crashes hard.
There is no errorlog in /locus/logs

Phone: XperiaActive Android 2.3

Script:

<?xml version="1.0" encoding="utf-8"?>
<locusActions>
<download>
<source>http://www.openandromaps.org/wp-content/files/themes/locus/andromaps_hc.zip</source>
<dest>/mapsVector/_themes/andromaps_hc.zip</dest>
<after>extract|deleteSource</after>
</download>
</locusActions>


URL: http://www.openandromaps.org/kartenlegende/andromaps_hc
(klick on Android-Phone symbol)

I tried various encodings, unix and dos EOLs, size tag, - no luck

Best regards,
Christian
www.openandromaps.org
Best regards/ Grüsse
Christian
www.openandromaps.org
  •  

Menion

Hello Christian,
  thank you for a report. Problem in your file was BOM header at start of file (http://en.wikipedia.org/wiki/Byte_order_mark) . Android XML parser has some problems with it. Anyway it's fixed now and will work correctly in next version (available soon)
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •  

kech61

Hi Menion,

Thanks and a happy new year!
Best regards/ Grüsse
Christian
www.openandromaps.org
  •  

Menion

sure, you're welcome. And happy to You and your projects also ;)
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •  

kech61

#4
Hi Menion,

I gave the Locus-Actions a second try and it works in Virtual Tablet, Android 4.
On my XperiaActive, Android 2.3.## it still crashes the App.

Is there any hint you can give, any known problems with android versions, Apps or something like this?

Best regards/ Grüsse
Christian
www.openandromaps.org
  •  

Menion

Hello kech,

I'm not aware of any issues. I think that best should be if you may give me some sample data I may test on own server. I'll fix any problem immediately when possible to simulate issue ..
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •  

tommi

  •  

gynta

Quote from: tommi on September 27, 2014, 22:27:34
For me it works (tested with Firefox on N7 A4.4.2 and S5 A4.4.2)
thx for link tommi
works fine with Dolphin on S2 A4.0.4 stock root

Would logfile from christian help here?
http://docs.locusmap.eu/doku.php?id=manual:faq:issue_reporting
http://docs.locusmap.eu/doku.php?id=manual:faq:how_to_create_debug_log

kech61

Hi,

I have sent the catlog to support.locus@asamm.com
Anyway, it seems to be that the scripting works well on other devices so I will add this method for download and install on Openandromaps in the next weeks.

@Menion: Does the scripting work on Android 4.4.2 Devices?
Best regards/ Grüsse
Christian
www.openandromaps.org
  •  

tommi

Quote from: kech61 on September 28, 2014, 08:18:25
Hi,

I have sent the catlog to support.locus@asamm.com
Anyway, it seems to be that the scripting works well on other devices so I will add this method for download and install on Openandromaps in the next weeks.

@Menion: Does the scripting work on Android 4.4.2 Devices?
See my comment above, yes it does
  •  

Menion

kech, thanks for a log. There seems to be some weird issue in work on background on older devices.

I'm not sure if my small change helps, anyway please try this new BETA version https://dl.dropboxusercontent.com/u/8015949/_temp/LocusFree_324_3.2.3.8_beta.txt and if there still be a problem, create a log for me once more, thanks.
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •