[APP] - version 2.7.X

Started by Menion, October 26, 2012, 16:26:35

0 Members and 1 Guest are viewing this topic.

Menion

#45
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
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •  

Menion

#46
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
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •  

joeloc

#47
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.
  •  

dibrial

#48
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?
  •  

Menion

#49
check please your "Time format". There will be probably a problem
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •  

dibrial

#50
Time format is:

dd-MM-YYYY 'at' HH:mm
  •  

Menion

#51
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 ...
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •  

dibrial

#52
Logging works again. Thanks
  •  

Mek

#53
In recent version of Locus Pro (on google play), crash occurs when deleting whole category of points.
Do you like Scrabble? You can play on SKREBL.EU (my personal project) - free, various language versions available!
  •  

gynta

#54
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

Menion

#55
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)
- 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

#56
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.
  •  

Mek

#57
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
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
Do you like Scrabble? You can play on SKREBL.EU (my personal project) - free, various language versions available!
  •  

gynta

#58
QuoteUSER_COMMENT=deleted a category of points and clicked on it before it disappeared from the list.
Why are you doing this??
QuoteANDROID_VERSION=2.3.6
Why do you use an old OSversion?
QuoteAPP_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?

Mek

#59
Quote from: "gynta"
QuoteUSER_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"
QuoteANDROID_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"
QuoteAPP_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...
Do you like Scrabble? You can play on SKREBL.EU (my personal project) - free, various language versions available!
  •