You are here

Gnucash path problem.

3 posts / 0 new
Last post
cvlowe
Offline
Last seen: 15 years 11 months ago
Joined: 2008-10-11 12:26
Gnucash path problem.

I have a problem with gnucash portable.

My USB drive gets assigned different drive letters on different computers, but gnucash always looks for the data file based on the drive letter from the last computer I used.

Is there any way to set a relative path?

Edit:

Working with the awesome online support people Smile

I found out that if the data file is stored in the default location [USBDrive]:\PortableApps\GnuCashPortable\Data\Profile\[data], GnuCash finds the file no matter what the drive letter is.

If, as I prefer to do, I store the file under [USBDrive]\documents\gnucash\[data], gnucash will always look for the file based on the last drive letter assigned to the flash drive in the last computer I used it in. For example: When I'm at work, the data is saved as E:\documents\gnucash\[data], then when I come home and plug my drive into my computer I get "The file E:\Documents\gnucash\Finances could not be found." because the USB drive is assigned the G: drive letter.

It works using the default location. I just don't like the idea of storing data under the application folder- it makes backing up more complicated... I've lost many files that way in the past.

Thanks in advance for any help you can provide!

Shawn Faucher
Shawn Faucher's picture
Offline
Last seen: 15 years 1 month ago
Developer
Joined: 2007-10-23 22:14
Launcher limitation

That's a limitation of the current launcher. It will only auto-update the path if the data file resides in the profile. I'll look into adding support for updating the drive letter no matter where it resides on the device to the next release.

formerly rayven01

Shawn Faucher
Shawn Faucher's picture
Offline
Last seen: 15 years 1 month ago
Developer
Joined: 2007-10-23 22:14
Fixed in GnuCash 2.2.8 Revision 2

This bug is fixed in GnuCash Portable 2.2.8 Revision 2. Pre-release available here for testing.

formerly rayven01

Log in or register to post comments