Author Topic: [APP] - version 2.7.X  (Read 22577 times)

Online menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 11793
  • Thanked: 417 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: [APP] - version 2.7.X
« Reply #45 on: November 20, 2012, 18:30:01 »
dibrial thanks, I'll look at it immediately after joelocs problems :)

So Stephan, I'm checking your logs and it's quite interesting.

All explain this error message: "11-20 11:46:51.018 W/FileMapManager(7143): existsNewMaps() - TRUE - not all files initialized, readyFiles:17, files:20"

This mean that Locus at start find three not initialized maps.
Maps that cause problems are probably

GTER-World06.rmap - this map cause singular matrix that I use for coordinate transformations. Interesting
italy.map.xml and CanaryIslands.map.xml - what are these two files? There is one undocumented feature I use sometimes for testing. Locus allow precise map definition thanks to own XML files. So you may define some web online map and add it to personal map even if web map have some weird projections. Anyway this feature is not public and is only partially working. back to topic ... Locus take these files as map and try to load them - in your case - process unsuccessful.

As I wrote, reporting incorrect map works only partially and not in all cases ... you discovered two cases when it do not work
« Last Edit: January 01, 1970, 01:00:00 by Guest »
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
 

Online menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 11793
  • Thanked: 417 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: [APP] - version 2.7.X
« Reply #46 on: November 20, 2012, 18:41:21 »
Quote from: "dibrial"
I cannot log geocaches anymore in 2.7.3. I sent the generated error report. Using JB 4.1 on Motorola XT910.

hmm I see it ... in error is "java.lang.IllegalArgumentException: Unknown pattern character 'Y'" ... so you have probably incorrect pattern for generated log description. I have to add there some warning if you write incorrect one and also protection against these crashes. May you please write me exactly what you have there? Thanks
« Last Edit: January 01, 1970, 01:00:00 by Guest »
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
 

Offline joeloc

  • Premium
  • Padavan of Locus
  • ***
  • Posts: 331
    • View Profile
Re: [APP] - version 2.7.X
« Reply #47 on: November 20, 2012, 18:44:39 »
Ok... understood. So all will be fine if I delete those three offending files? You probably wouldnt have to rescan 20 good maps if 3 bad maps are discovered, but hey... thats nitpicking :-).

Anyway... about the xml files: they come from http://www.openandromaps.org , the best and most complete and prettiest source of mapsforge vector maps for hiking and biking. Every downloaded map is accompanied by exactly one xml file, which I guess contains rendering information for Oruxmaps. The file is not needed for Locus obviously because you have the styles done differently.

However, some people (including me) have a dual installation with Oruxmaps and Locus... you know why :-). It would be nice if you could simply ignore those xml thingies in the maps folder if they dont contain your own private markup.
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline dibrial

  • Premium
  • Apprentice of Locus
  • **
  • Posts: 126
    • View Profile
Re: [APP] - version 2.7.X
« Reply #48 on: November 20, 2012, 18:49:38 »
Menion,

I don't really understand what you mean by "What you have there"
I'm using the basic predefined log (
#{c}, {t}, Thanks) and don't type anything else in the log.
What I do see is that {c} is filled by the no. of caches, but {t} is not.
Could this be the cause?
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Online menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 11793
  • Thanked: 417 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: [APP] - version 2.7.X
« Reply #49 on: November 20, 2012, 19:00:44 »
check please your "Time format". There will be probably a problem
« Last Edit: January 01, 1970, 01:00:00 by Guest »
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
 

Offline dibrial

  • Premium
  • Apprentice of Locus
  • **
  • Posts: 126
    • View Profile
Re: [APP] - version 2.7.X
« Reply #50 on: November 20, 2012, 20:46:10 »
Time format is:

dd-MM-YYYY 'at' HH:mm
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Online menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 11793
  • Thanked: 417 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: [APP] - version 2.7.X
« Reply #51 on: November 20, 2012, 21:14:06 »
fine, that's what I needed to know

For formatting time, Locus use class that handle this format http://docs.oracle.com/javase/1.4.2/doc ... ormat.html . To answer simple, just change YYYY to yyyy and it will work ;)

EDIT: btw. I'm not sure how will work "DD", so you have to test it. In case of troubles,change it to "dd". To next version, I add some testing and better reporting what's wrong ...
« Last Edit: January 01, 1970, 01:00:00 by Guest »
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
 

Offline dibrial

  • Premium
  • Apprentice of Locus
  • **
  • Posts: 126
    • View Profile
Re: [APP] - version 2.7.X
« Reply #52 on: November 20, 2012, 22:49:14 »
Logging works again. Thanks
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline Mek

  • More than Newbie
  • *
  • Posts: 82
    • View Profile
    • http://mekweb.eu/?lang=en
  • Device: SGS4Mini
Re: [APP] - version 2.7.X
« Reply #53 on: November 21, 2012, 18:40:12 »
In recent version of Locus Pro (on google play), crash occurs when deleting whole category of points.
« Last Edit: January 01, 1970, 01:00:00 by Guest »
Do you like Scrabble? You can play on SKREBL.EU (my personal project) - free, various language versions available!
 

Offline gynta

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 3548
  • Thanked: 40 times
    • View Profile
    • Locus live tracking service
  • Device: SM-A530F(A8) Android 8.0.0
Re: [APP] - version 2.7.X
« Reply #54 on: November 21, 2012, 19:47:24 »
hm works fine here.

Can you plz tell us your version number?
Menu->Locus->About->Locus...
---
Can you reproduce this crash?
---
Close Locus
rename your Locus dir (eg -> LLocus)
Start Locus
Create some categorys
Try it again
Delete new Locus dir
rename LLocus -> Locus
---
if Locus crash again
Can you send a logfile please?
-> see at http://docs.locusmap.eu/doku.php/manual ... ating_logs
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Online menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 11793
  • Thanked: 417 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: [APP] - version 2.7.X
« Reply #55 on: November 24, 2012, 12:19:09 »
Mek, I think it was fixed thanks to gynta report just after release 2.7.3 version. Anyway new version is just uploading on Google Play, so check it. In case of problems, as gynta wrote ... logcat is needed (or report by new system after locus crash together with short description)
« Last Edit: January 01, 1970, 01:00:00 by Guest »
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
 

Offline tommi

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 1232
  • Thanked: 2 times
  • Devices: Samsung S7 + S5 + S3 + Nexus7 flo
    • View Profile
Re: [APP] - version 2.7.X
« Reply #56 on: November 24, 2012, 12:47:42 »
Quote from: "menion"
logcat is needed (or report by new system after locus crash together with short description)
logcat vs. new system? Is there something in Locus to make a crash report without logcat? If it is there I'll be happy to use it because logcat doesn't work for me anymore due to the change in Android JB. But actually I'm not sure if I understood correctly.
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline Mek

  • More than Newbie
  • *
  • Posts: 82
    • View Profile
    • http://mekweb.eu/?lang=en
  • Device: SGS4Mini
Re: [APP] - version 2.7.X
« Reply #57 on: November 25, 2012, 11:26:46 »
Yesterday I tried it again. I deleted an empty category and it took like 2 seconds for it to disappear from the list. Then I tried deleting a category again and clicked on it before it disappeared - this is the step that leads to the crash. Exception was generated and wanted to be sent so I am pastng it here. I guess logcat is no longer neccessary :P
Code: [Select]
USER_COMMENT=deleted a category of points and clicked on it before it disappeared from the list.
ANDROID_VERSION=2.3.6
APP_VERSION_NAME=2.7.3
BRAND=samsung
PHONE_MODEL=GT-I9100
AVAILABLE_MEM_SIZE=1575710720
TOTAL_MEM_SIZE=2113748992
CUSTOM_DATA=
STACK_TRACE=java.lang.NullPointerException
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1372)
at android.view.ViewGroup.drawChild(ViewGroup.java:1644)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373)
at android.view.View.draw(View.java:7039)
at android.widget.FrameLayout.draw(FrameLayout.java:357)
at android.widget.ScrollView.draw(ScrollView.java:1703)
at android.view.ViewGroup.drawChild(ViewGroup.java:1646)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373)
at android.view.ViewGroup.drawChild(ViewGroup.java:1644)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373)
at android.view.ViewGroup.drawChild(ViewGroup.java:1644)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373)
at android.view.View.draw(View.java:6936)
at android.support.v4.view.ViewPager.draw(L:1923)
at android.view.ViewGroup.drawChild(ViewGroup.java:1646)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373)
at android.view.View.buildDrawingCache(View.java:6693)
at android.view.ViewGroup.onAnimationStart(ViewGroup.java:1259)
at android.view.ViewGroup.drawChild(ViewGroup.java:1505)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373)
at android.view.ViewGroup.drawChild(ViewGroup.java:1644)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373)
at android.view.ViewGroup.drawChild(ViewGroup.java:1644)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373)
at android.view.View.draw(View.java:6936)
at android.widget.FrameLayout.draw(FrameLayout.java:357)
at android.view.ViewGroup.drawChild(ViewGroup.java:1646)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373)
at android.view.View.draw(View.java:6936)
at android.widget.FrameLayout.draw(FrameLayout.java:357)
at com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.java:1917)
at android.view.ViewRoot.draw(ViewRoot.java:1530)
at android.view.ViewRoot.performTraversals(ViewRoot.java:1266)
at android.view.ViewRoot.handleMessage(ViewRoot.java:1868)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3691)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:907)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:665)
at dalvik.system.NativeStart.main(Native Method)

BUILD=BOARD=GT-I9100
BOOTLOADER=unknown
BRAND=samsung
CPU_ABI=armeabi-v7a
CPU_ABI2=armeabi
DEVICE=GT-I9100
DISPLAY=UltraToxic ROM v8.1 XWLA4
FINGERPRINT=samsung/GT-I9100/GT-I9100:2.3.6/GINGERBREAD/XWLA4:user/release-keys
HARDWARE=smdkc210
HOST=DELLBUILDER01
ID=GINGERBREAD
MANUFACTURER=samsung
MODEL=GT-I9100
PRODUCT=GT-I9100
RADIO=unknown
SERIAL=unknown
TAGS=release-keys
TIME=1326809369000
TYPE=user
UNKNOWN=unknown
USER=root
« Last Edit: January 01, 1970, 01:00:00 by Guest »
Do you like Scrabble? You can play on SKREBL.EU (my personal project) - free, various language versions available!
 

Offline gynta

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 3548
  • Thanked: 40 times
    • View Profile
    • Locus live tracking service
  • Device: SM-A530F(A8) Android 8.0.0
Re: [APP] - version 2.7.X
« Reply #58 on: November 25, 2012, 14:42:39 »
Quote
USER_COMMENT=deleted a category of points and clicked on it before it disappeared from the list.
Why are you doing this??
Quote
ANDROID_VERSION=2.3.6
Why do you use an old OSversion?
Quote
APP_VERSION_NAME=2.7.3
Why do you use an old Locus version? plz try it with the current google play versions?
Quote
...and it took like 2 seconds for it to disappear from the list
...and why your SGS2 is soooo slow?
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline Mek

  • More than Newbie
  • *
  • Posts: 82
    • View Profile
    • http://mekweb.eu/?lang=en
  • Device: SGS4Mini
Re: [APP] - version 2.7.X
« Reply #59 on: November 25, 2012, 20:04:45 »
Quote from: "gynta"
Quote
USER_COMMENT=deleted a category of points and clicked on it before it disappeared from the list.
Why are you doing this??
Because this is how the problem can be reproduced with empty category. Now I tried deleting a category with 200 points, and it is still displayed after 2 minutes. Now I clicked on ANOTHER category and locus crashed as well. So it's not a problem of user workflow.
Quote from: "gynta"
Quote
ANDROID_VERSION=2.3.6
Why do you use an old OSversion?
Because it is a custom ROM and I didn't have time to upgrade yet.
Quote from: "gynta"
Quote
APP_VERSION_NAME=2.7.3
Why do you use an old Locus version? plz try it with the current google play versions?
Didn't know there was a newer version, Locus is updated so often, you know... but now I tried the same in latest version and the crash is still there.
Quote from: "gynta"
Quote
...and it took like 2 seconds for it to disappear from the list
...and why your SGS2 is soooo slow?
I can assure you my SGS2 is fast enough ;) However, it seems to me like if the busy indicator was hidden before Locus has finished its work? Dunno...
« Last Edit: January 01, 1970, 01:00:00 by Guest »
Do you like Scrabble? You can play on SKREBL.EU (my personal project) - free, various language versions available!