question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Handling of full SD card with GeocacheData on SD active

See original GitHub issue
Detailed steps causing the problem:
  • Have a full SD-card
  • Open nearby list
  • Try to store search results
Actual behavior after performing these steps:

c:geo is stuck in download progress 0/20

Expected behavior after performing these steps:

Some (to be discussed) handling of that problem

Version of c:geo used:

http://ci.cgeo.org/job/cgeo pull request/816/artifact/main/build/outputs/apk/cgeo-debug.apk

Is the problem reproducible for you?

Yes

System information:

tbc

Other comments and remarks:

Just a quick test performed. Better test later.

Log:

23:28:08.896 Debug cgeo 10326  [refresh--2] Saving GC5NB80 Adneter Marmor ([]) to DB
23:28:09.006 Error cgeo 10326  [network--6] Could not make directories /storage/extSdCard/Android/data/cgeo.geocaching/files/GeocacheData/GC5NB80
23:28:09.006 Error cgeo 10326  [network--6] Could not make directories /storage/extSdCard/Android/data/cgeo.geocaching/files/GeocacheData/GC5NB80
23:28:09.006 Error cgeo 10326  [network--5] Could not make directories /storage/extSdCard/Android/data/cgeo.geocaching/files/GeocacheData/GC5NB80
23:28:09.006 Error cgeo 10326  [network--4] Could not make directories /storage/extSdCard/Android/data/cgeo.geocaching/files/GeocacheData/GC5NB80
23:28:09.006 Error cgeo 10326  [network--2] Could not make directories /storage/extSdCard/Android/data/cgeo.geocaching/files/GeocacheData/GC5NB80
23:28:09.006 Error cgeo 10326  [network--9] Could not make directories /storage/extSdCard/Android/data/cgeo.geocaching/files/GeocacheData/GC5NB80
23:28:09.006 Error cgeo 10326  [network--7] Could not make directories /storage/extSdCard/Android/data/cgeo.geocaching/files/GeocacheData/GC5NB80
23:28:09.006 Error cgeo 10326  [network--2] Could not make directories /storage/extSdCard/Android/data/cgeo.geocaching/files/GeocacheData/GC5NB80
23:28:09.006 Error cgeo 10326  [network--8] Could not make directories /storage/extSdCard/Android/data/cgeo.geocaching/files/GeocacheData/GC5NB80
23:28:09.116 Error cgeo 10326  [network--1] Could not make directories /storage/extSdCard/Android/data/cgeo.geocaching/files/GeocacheData/GC5NB80
23:28:09.116 Error cgeo 10326  [network--6] Could not make directories /storage/extSdCard/Android/data/cgeo.geocaching/files/GeocacheData/GC5NB80
23:28:09.116 Error cgeo 10326  [network--10] Could not make directories /storage/extSdCard/Android/data/cgeo.geocaching/files/GeocacheData/GC5NB80
23:28:09.116 Error cgeo 10326  [network--6] Could not make directories /storage/extSdCard/Android/data/cgeo.geocaching/files/GeocacheData/GC5NB80
23:28:09.116 Error cgeo 10326  [network--4] Could not make directories /storage/extSdCard/Android/data/cgeo.geocaching/files/GeocacheData/GC5NB80
23:28:09.116 Error cgeo 10326  [network--3] Could not make directories /storage/extSdCard/Android/data/cgeo.geocaching/files/GeocacheData/GC5NB80
23:28:09.116 Error cgeo 10326  [network--3] Could not make directories /storage/extSdCard/Android/data/cgeo.geocaching/files/GeocacheData/GC5NB80
23:28:09.116 Error cgeo 10326  [network--2] Could not make directories /storage/extSdCard/Android/data/cgeo.geocaching/files/GeocacheData/GC5NB80
23:28:09.116 Error cgeo 10326  [network--9] Could not make directories /storage/extSdCard/Android/data/cgeo.geocaching/files/GeocacheData/GC5NB80
23:28:09.116 Error cgeo 10326  [network--8] Could not make directories /storage/extSdCard/Android/data/cgeo.geocaching/files/GeocacheData/GC5NB80
23:28:09.116 Error cgeo 10326  [network--1] Could not make directories /storage/extSdCard/Android/data/cgeo.geocaching/files/GeocacheData/GC5NB80
23:28:09.116 Error cgeo 10326  [network--1] Could not make directories /storage/extSdCard/Android/data/cgeo.geocaching/files/GeocacheData/GC5NB80
23:28:09.116 Error cgeo 10326  [network--1] Could not make directories /storage/extSdCard/Android/data/cgeo.geocaching/files/GeocacheData/GC5NB80
23:28:09.116 Debug cgeo 10326  [refresh--2] Saving GC5NB80 Adneter Marmor ([14]) to DB
23:28:09.116 Error cgeo 10326  [network--6] Could not make directories /storage/extSdCard/Android/data/cgeo.geocaching/files/GeocacheData/GC5NB80
23:28:09.116 Error cgeo 10326  [network--4] Could not make directories /storage/extSdCard/Android/data/cgeo.geocaching/files/GeocacheData/GC5NB80
23:28:09.116 Error cgeo 10326  [network--7] Could not make directories /storage/extSdCard/Android/data/cgeo.geocaching/files/GeocacheData/GC5NB80
23:28:09.116 Debug cgeo 10326  [refresh--2] StaticMaps.downloadMap: request ignored because of recent "permission denied" answer

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:13 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
Lineflyercommented, Apr 21, 2017

IMHO the recently introduced warning is a sufficient solution for this issue. Will test it and if it works I suggest closing this issue.

1reaction
pstorchcommented, Mar 25, 2017

What options do we have to handle this?

  • stop storing geocache data, might be safe, but maybe not what the user would expect
  • fallback to other storage location:
    • usage in parallel, might complicate our storage logic
    • move data to other and continue there, might be risky, too

I think the best thing is to stop and let the user take action. Cleanup or move to another storage location manually.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Moving files on GPS to SD - Geocaching Forums
I noticed that the internal drive is almost full and am wondering what files I can move to the SD card.
Read more >
Endura: What types of data can be stored on the microSD cards?
Geocache files in .GPX or .LOC format must be stored in the internal user avail memory on Endura. In order to load Geocache...
Read more >
FAQ - c:geo
If you remove the external SD card or the SD card is full the additional geocache data will no longer be available and...
Read more >
Geocaching | Technology Tutorials
We will wire wrap up an Arduino Nano, a Virtuabotix SD card reader, and the Adafruit Ultimate ... LESSON 25: Display Your GPS...
Read more >
c:geo Settings
If you remove the external SD card or the SD card is full the additional geocache data will no longer be available and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found