'No such file or directory' error while trying to save a report

Michael Leone turgon at mike-leone.com
Wed Feb 6 12:34:56 EST 2013


This is setting a Windows environmental variable, right? They are set
the next time the environment is called. So it should have just
happened.

Easy test would be to log out and log back in, and try again.

On Wed, Feb 6, 2013 at 12:18 PM, Geert Janssens
<janssens-geert at telenet.be> wrote:
> On 06-02-13 18:00, Максим Кобєлєв wrote:
>>
>> Thanks, Geert!
>>
>> I tried to add this at the end of the enviroment file:
>>
>> # Added by Maksym Kobieliev
>> HOME=D:\MAINDOCS\my_configs\GnuCash
>>
>> and restarted GnuCash, but nothing changes, and the errror message stays
>> the same:
>> "Could not open the file C:\Users\Максим\.gnucash\saved-reports-2.4. The
>> error is: system-error - No such file or directory".
>>
>> It looks like GnuCash did not recognize the new enviroment value.
>>
>> What am I doing wrong?
>
> I'm not sure. I never tried this with an absolute path. Perhaps there is an
> issue internally when converting from windows notation to gtk notation.
>
> With the changed path, did gnucash create directories in
> D:\MAINDOCS\my_configs\GnuCash ?
> Is there for example a .gnucash, .gconf, .gconfd directory in there now ?
>
> And what happens if you use double backslashes, like this:
> HOME=D:\\MAINDOCS\\my_configs\\GnuCash
>
> Geert
>>
>>
>>
>> 2013/2/6 Geert Janssens <janssens-geert at telenet.be
>> <mailto:janssens-geert at telenet.be>>
>>
>>     On 06-02-13 16:45, Максим Кобєлєв wrote:
>>
>>         Thanks for replying!
>>
>>         Could you please direct me on where the GnuCash environment
>>         file is located
>>         and how is it called?
>>
>>     The file is called "environment" and can be found in
>>     <path-where-you-have-installed-gnucash>\etc\gnucash
>>
>>     For example, the default location on an English Windows XP is:
>>     c:\Program Files\gnucash\etc\gnucash\environment
>>
>>
>>         Also, is it possible that this problem will be solved in
>>         future releases? I
>>         have already posted a bug for this:
>>         https://bugzilla.gnome.org/show_bug.cgi?id=693034
>>
>>     Strictly speaking this is most likely not a bug in gnucash but in
>>     guile, an external library used by gnucash. Ideally this should be
>>     fixed in guile after which it will also be fixed in gnucash
>>     automatically. Perhaps it can be fixed directly in gnucash instead
>>     by not depending on guile for loading and saving the files. I fear
>>     that will require a rather large code rewrite though, so it may
>>     not happen soon.
>>
>>         My GnuCash version is 2.4.11
>>
>>     Geert
>>     _______________________________________________
>>     gnucash-user mailing list
>>     gnucash-user at gnucash.org <mailto:gnucash-user at gnucash.org>
>>     https://lists.gnucash.org/mailman/listinfo/gnucash-user
>>     -----
>>     Please remember to CC this list on all your replies.
>>     You can do this by using Reply-To-List or Reply-All.
>>
>>
>>
>>
>> --
>> /*Не Україна для нас, а ми для України!*/
>> /Дмитро Мирон
>>
>> /
>
>
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.



-- 

An ounce of perception
A pound of obscure
              "Vital Signs", Rush



More information about the gnucash-user mailing list