Crash when importing .gpx Tracks - Stacktrace attached

Started by daubor, March 09, 2011, 19:51:19

0 Members and 1 Guest are viewing this topic.

daubor

Hi,

i'm new to Locus, just installed 0.9.27 today.
When importing a .gpx file, Locus suddenly crashes.
I've tried it with different tracks from gpsies.de; bug is reproducable.

<entry key="STACK_TRACE_KEY">java.util.FormatFlagsConversionMismatchException: Mismatched Convertor =s, Flags=  
   at java.util.Formatter$FormatToken.ensureOnlyMinus(Formatter.java:1300)
   at java.util.Formatter$Transformer.transformFromString(Formatter.java:1517)
   at java.util.Formatter$Transformer.transform(Formatter.java:1395)
   at java.util.Formatter.doFormat(Formatter.java:1082)
   at java.util.Formatter.format(Formatter.java:994)
   at java.lang.String.format(String.java:2254)
   at android.content.res.Resources.getString(Resources.java:283)
   at android.content.Context.getString(Context.java:195)
   at menion.android.settings.Loc.get(Loc.java:17)
   at menion.android.gui.FileBrowser.browseTo(FileBrowser.java:249)
   at menion.android.gui.FileBrowser.onItemClick(FileBrowser.java:104)
   at android.widget.AdapterView.performItemClick(AdapterView.java:284)
   at android.widget.ListView.performItemClick(ListView.java:3382)
   at android.widget.AbsListView$PerformClick.run(AbsListView.java:1696)
   at android.os.Handler.handleCallback(Handler.java:587)
   at android.os.Handler.dispatchMessage(Handler.java:92)
   at android.os.Looper.loop(Looper.java:144)
   at android.app.ActivityThread.main(ActivityThread.java:4937)
   at java.lang.reflect.Method.invokeNative(Native Method)
   at java.lang.reflect.Method.invoke(Method.java:521)
   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
   at dalvik.system.NativeStart.main(Native Method)
</entry>
  •  

Menion

Hi,
  fine stacktracke is nice but it don't tell me much. If you have this problem with every try, best is to attach your track file or send it to my email!
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 final download
  •  

Hubm

I have the same problem with official Geocaching.com GPX files. I'm using a Desire with 2.3.3. Maybe it's platform related? Is Locus tested with 2.3 emulator?
  •  

Menion

same issue as here

viewtopic.php?f=10&t=297

wait for fix or change language if you really need this functionality now ...
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 final download
  •  

daubor

Thx! Workaround works fine!
  •  

daffne666

Hi, can't find it inside the settings, so my questions is: where can I change the language?

Same problem with the import of tracks (gpx and kml) here. I have attached a kml-file.

Here is my crashlog:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
<properties>
<comment>crash-1299837710583.err</comment>
<entry key="ID_KEY">FROYO</entry>
<entry key="PACKAGE_NAME_KEY">menion.android.locus</entry>
<entry key="STACK_TRACE_KEY">java.util.FormatFlagsConversionMismatchException: Mismatched Convertor =s, Flags=  
at java.util.Formatter$FormatToken.ensureOnlyMinus(Formatter.java:1300)
at java.util.Formatter$Transformer.transformFromString(Formatter.java:1517)
at java.util.Formatter$Transformer.transform(Formatter.java:1395)
at java.util.Formatter.doFormat(Formatter.java:1082)
at java.util.Formatter.format(Formatter.java:994)
at java.lang.String.format(String.java:2254)
at android.content.res.Resources.getString(Resources.java:283)
at android.content.Context.getString(Context.java:195)
at menion.android.settings.Loc.get(Loc.java:17)
at menion.android.gui.FileBrowser.browseTo(FileBrowser.java:249)
at menion.android.gui.FileBrowser.onItemClick(FileBrowser.java:104)
at android.widget.AdapterView.performItemClick(AdapterView.java:284)
at android.widget.ListView.performItemClick(ListView.java:3672)
at android.widget.AbsListView$PerformClick.run(AbsListView.java:1812)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:4627)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
at dalvik.system.NativeStart.main(Native Method)
</entry>
<entry key="CUSTOM_DATA_KEY"></entry>
<entry key="TYPE_KEY">user</entry>
<entry key="FINGERPRINT_KEY">samsung/GT-I9000/GT-I9000/GT-I9000:2.2/FROYO/XXJPO:user/release-keys</entry>
<entry key="FILE_PATH_KEY">/data/data/menion.android.locus/files</entry>
<entry key="TIME_KEY">1295618530000</entry>
<entry key="VERSION_NAME_KEY">0.9.27</entry>
<entry key="USER_KEY">root</entry>
<entry key="TOTAL_MEM_SIZE_KEY">2011086848</entry>
<entry key="ANDROID_VERSION_KEY">2.2.1</entry>
<entry key="PHONE_MODEL_KEY">GT-I9000</entry>
<entry key="DISPLAY_KEY">Darky&apos;s v9.3</entry>
<entry key="MODEL_KEY">GT-I9000</entry>
<entry key="BOARD_KEY">GT-I9000</entry>
<entry key="DEVICE_KEY">GT-I9000</entry>
<entry key="PRODUCT_KEY">GT-I9000</entry>
<entry key="BRAND_KEY">samsung</entry>
<entry key="AVAILABLE_MEM_SIZE_KEY">1726578688</entry>
<entry key="HOST_KEY">DELL105</entry>
<entry key="TAGS_KEY">release-keys</entry>
</properties>
  •  

Menion

in app lang cannot be changed, you ahve to use another app like "more locale". Anyway version here on forum works fine, so use this if you need some import/export features or wait for market release with fix
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 final download
  •