google-code-export / geobeagle

Automatically exported from code.google.com/p/geobeagle
1 stars 0 forks source link

Problems to show Details - Message: "error reading folder /sdcard, ..." #151

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Connect PC via micro-USB cable and enable the connection
2. Imported GPX files to Geobeagle on HTC Magic Vodafone - Android 1.6
3. Disconnect USB 
4. Select a cache (window with the big arrow) and press button "Details"

What is the expected output? What do you see instead?
Expected: Detail information on the cache. This was working on an earlier 
version.
What I get is the error message: "Error reading folder /sdcard, please make 
sure your sdcard is readable. 
If I'm accessing my sdcard through ASTRO, it works fine. 

What version of the product are you using? On what operating system?
Geobeagle: 1.0.17
Android: 1.6

Please provide any additional information below.
* I've updated the version recently, maybe it is connected. 
* Maybe it is connected with the way how I disconnect the USB cable, but so  
far my changes in that did not show any difference.
* I can supply sample cache files if necessary. Please contact me.

Original issue reported on code.google.com by MisterAlea@googlemail.com on 10 May 2010 at 7:50

GoogleCodeExporter commented 9 years ago
With previous versions of GeoBeagle, all of the cache details data was stored 
in /sdcard/GeoBeagle.  Over time (since we didn't 
delete them), this meant thousands of files.  Putting so many files in one 
directory became *the* major performance problem 
with importing caches.

The new version stores the cache data in GeoBeagle/data/SOURCE.gpx/CACHE.html 
where SOURCE is the name of the source 
GPX file, and CACHE is the geocaching id.  With much fewer files in each 
directory, the import is much faster.

Please describe what you see in the /sdcard/GeoBeagle directory.  Maybe try 
renaming /sdcard/GeoBeagle to something else, 
select "Delete All Caches" and try the import again. Could be there is a bug in 
gpx file handling; have you tried .zip files as well?

Go ahead and attach sample cache files and I'll try them out.

Thanks,

Steve

Original comment by stephen5...@gmail.com on 10 May 2010 at 9:38

GoogleCodeExporter commented 9 years ago
Status: 
There is no GeoBeagle/data/ directory on my sdcard. I see a number of files 
with the 
name using the pattern CACHE_ID.html.

Taken actions: 
1. Rename /sdcard/GeoBeagle to /sdcard/_GeoBeagle
2. Start GeoBeagle
3. Delete all Caches - Result: "No Caches--Click Menu ..."
4. Sync GPX files
5. Select a single Cache
6. Press "Details" - Result: Details get displayed. :-)

Additional:
7. Check /sdcard/GeoBeagle - Result: There is a subdirectory data

Conclusion:
On my device, the subdirectory data did not get created. But after having a new 
GeoBeagle directory, it worked.

Additional info:
I have tried to reproduce the situation with the following steps:
a. Remove the new GeoBeagle directory and restore the old one
b. Delete all caches
c. Sync GPX files
d. Open a cache and show details - Result: It worked. Data subdirectory was 
created.

Conclusion: The issue is related to the existence of old cache files.

Hope this helps
If you still need my files, please let me know.

Original comment by MisterAlea@googlemail.com on 11 May 2010 at 7:09

GoogleCodeExporter commented 9 years ago
I'm still a little confused about how this happened (and there are other 
reports of sync problems so I'd like to 
get to the bottom of it).

Did you try syncing originally before doing the rename?  What happened?

Are you able to reproduce the problem now at all?

Thanks,

Steve

Original comment by stephen5...@gmail.com on 13 May 2010 at 5:16

GoogleCodeExporter commented 9 years ago
Unfortunately I'm not sure if I have tried syncing before. 
Moreover I can't check it out now. Maybe I can give it a try later.

Original comment by MisterAlea@googlemail.com on 16 May 2010 at 9:32

GoogleCodeExporter commented 9 years ago

Original comment by stephen5...@gmail.com on 9 Sep 2010 at 3:23