Originally Posted by bcn
No problem here with W8.1 (Dell XPS18 - so tablet as well)
Data directory is C:\ProgramData\opencpn
The install that causes this problem is a portable install on an SD card, so the data files are in the same directory as the executable.
Here's the interesting part. When I insert the SD card in my Win7-64 bit desktop
machine - no error message. The crash directory error only happens when I insert the SD card into my Win8 tablet. In both cases, the SD card is drive E:.
And in so saying this, I have figured out the exact cause of the problem.
The message says:
Directory 'C:\ProgramData\opencpn\CrashReports' couldn't be created (error 3:the system cannot find the path specified.)
On my Win7 desktop
, I also have a "traditional" OpenCPN
install, so that directory is present. But on my Win8 tablet, I have never installed OpenCPN
onto drive C:. I only run OpenCPN from the SD card at E:
So on the tablet I created the empty folder C:\ProgramData\opencpn\ and relaunched, and OpenCPN created the folder C:\ProgramData\opencpn\CrashReports\ with no error message. I have now eliminated the error message on my tablet permanently.
Going forward, anyone who runs O
in portable mode from an SD card on a "virgin PC" (no O
installed) will see the error message. I assume that Linux/Mac will also have the same message under these circumstances.
Two possible fixes:
create the folder C:\ProgramData\opencpn if it is not already present in the PC. (Same for Linux/Mac, though different naming convention.)
Or, when running in portable mode, O
should put the crashreport file in the directory where the executable is located. When in portable mode, it should not look to drive C: for any folder structure.