Custom reports - unable to save/load them

John Ralls jralls at ceridwen.us
Fri Jan 13 10:21:25 EST 2012


On Jan 13, 2012, at 12:20 AM, Geert Janssens wrote:

> On 01/12/2012 10:21 PM, Yann Le Mouel wrote:
>> Hi
>> 
>>>> I have difficulties to save my custom reports: I get this error message
>>>> “Cannot open the file C:\Documents and
>> Settings\Propriétaire\.gnucash\saved-reports-2.4. The error is: system-error
>> - No such file or directory”
>>> I wonder if the problem is the accented character in the directory name?
>> Well, I do not know because if I change the report.scm line to
>> (define gnc:current-saved-reports
>>   "C:/Documents and Settings/Propriétaire/.gnucash/saved-reports-2.4")
>> 
>> the report is successfully saved in the file. But if I close&  reopen
>> GnuCash, there is still no report in the "custom reports" window.
>> 
>> And I cannot change the accented character. Otherwise the other apps I have
>> will not work anymore (what a stupid French I am).
>> 
>> Is there any variable like GNC_DOT_PATH or GNC_DOTGNUCASH_PATH that I can
>> set in the etc/gnucash/environment file?
> You could set the HOME variable in etc/gnucash/environment. This is the path that will be used as a basis to calculate (among others) GNC_DOT_DIR. Beware though that it is also the location of the .gconf and .gconfd directories used by gnucash. So if you redefine HOME, be sure to copy those two directories in the new location as well, together with .gnucash.
> 
> Alternatively, you can try to add GNC_DOT_DIR itself instead to only relocate the path to the local configuration items (.gnucash). I haven't tried this myself yet, but from the code I understand GnuCash checks for the presence of this environment variable.

It does. The Mac bundle uses it to put the config files in ~/Library/Application Support/gnucash, which is a more mac-ish
location (and easier to get to from Finder).

Regards,
John Ralls




More information about the gnucash-user mailing list