[GNC] Possible Bug with GNUCash - GNUCash cannot see/open files with OneDrive

cbpodd at gmail.com cbpodd at gmail.com
Tue Jul 20 12:49:38 EDT 2021


Hi Derek,

Yeah - that's kind of where I am as well. It's there and not corrupted. As soon as I move the file out of OneDrive (to my Downloads folder or something like that) it works fine, but when I move it back in, it fails again. 

Yes - in both cases - starting GNUCash or selecting and opening it - it doesn't work. In the case of starting GNUCash and File -> Open, I can't even browse my parent OneDrive directory - or get to the subdirectory where my file is. 

That's why I suspect there is something about the most recent OneDrive update GNUCash isn't handling well/correctly. 

Cameron Podd
cbpodd at gmail.com | +1 (303) 653-3718

-----Original Message-----
From: Derek Atkins <derek at ihtfp.com> 
Sent: Tuesday, July 20, 2021 9:47 AM
To: Cameron Podd <cbpodd at gmail.com>
Cc: gnucash-user at gnucash.org
Subject: Re: [GNC] Possible Bug with GNUCash - GNUCash cannot see/open files with OneDrive

HI,

Well, this shows the file is there and is not corrupted, so I am at a loss as to why GnuCash says it cannot parse it.

If you start GnuCash and then File -> Open, can you browse to the file?
If you select it and click open -- same error?

-derek


On Tue, July 20, 2021 12:36 pm, Cameron Podd wrote:
> Hi Derek,
>
>
>   1.  head
> <?xml version="1.0" encoding="utf-8" ?>
> <gnc-v2
>      xmlns:gnc="http://www.gnucash.org/XML/gnc"
>      xmlns:act="http://www.gnucash.org/XML/act"
>      xmlns:book="http://www.gnucash.org/XML/book"
>      xmlns:cd="http://www.gnucash.org/XML/cd"
>      xmlns:cmdty="http://www.gnucash.org/XML/cmdty"
>      xmlns:price="http://www.gnucash.org/XML/price"
>      xmlns:slot="http://www.gnucash.org/XML/slot"
>      xmlns:split=http://www.gnucash.org/XML/split
>
>
>   1.  tail
>           <slot:key>2</slot:key>
>           <slot:value type="numeric">-159644/100</slot:value>
>         </slot>
>       </slot:value>
>     </slot>
>   </bgt:slots>
> </gnc:budget>
> </gnc:book>
> </gnc-v2>
>
> Thanks – Cameron
>
> From: Derek Atkins <derek at ihtfp.com>
> Date: Tuesday, July 20, 2021 at 9:25 AM
> To: Cameron Podd <cbpodd at gmail.com>
> Cc: Derek Atkins <derek at ihtfp.com>, gnucash-user at gnucash.org 
> <gnucash-user at gnucash.org>
> Subject: Re: [GNC] Possible Bug with GNUCash - GNUCash cannot see/open 
> files with OneDrive What about:
>
> gunzip < /Users/..../CameronPoddMoney.gnucash | head
>
> And also:
>
> gunzip < /Users/..../CameronPoddMoney.gnucash | tail
>
> If it can see if there, I don't see why GnuCash can't see it.  Unless 
> the data is corrupted.  The head and tail will help discover that.
>
> -derek
>
> On Tue, July 20, 2021 11:54 am, Cameron Podd wrote:
>> Hi Derek,
>>
>> From gzip, I get “gzip compressed data, original size modulo 2^32 
>> 1969815”/
>>
>> From zcat, I get “zcat: can't stat: CameronPoddMoney.gnucash
>> (CameronPoddMoney.gnucash.Z): No such file or directory”.
>>
>> Thanks - Cameron
>>
>> From: Derek Atkins <derek at ihtfp.com>
>> Date: Tuesday, July 20, 2021 at 8:52 AM
>> To: Cameron Podd <cbpodd at gmail.com>
>> Cc: gnucash-user at gnucash.org <gnucash-user at gnucash.org>
>> Subject: Re: [GNC] Possible Bug with GNUCash - GNUCash cannot 
>> see/open files with OneDrive Hi,
>>
>> On Tue, July 20, 2021 11:43 am, Cameron Podd wrote:
>>> Hi Derek – thanks for your response.
>>>
>>>
>>>   1.  I am using MacOS Big Sur 11.4
>>>   2.  Yes, my OneDrive is mounted. I can access that spot from my 
>>> filesystem & terminal and see/copy/move the data file there.
>>
>> Okay, if you open the terminal, what do you get from:
>>
>>   file /Users/<username>/OneDrive/Documents/GnuCashData.gnucash
>>
>> Assuming it says gzipped data, what do you get from:
>>
>>   zcat /Users/<username>/OneDrive/Documents/GnuCashData.gnucash | 
>> head
>>
>> -derek
>>
>>>
>>> Thanks – Cameron
>>>
>>> From: Derek Atkins <derek at ihtfp.com>
>>> Date: Tuesday, July 20, 2021 at 8:40 AM
>>> To: Cameron Podd <cbpodd at gmail.com>
>>> Cc: gnucash-user at gnucash.org <gnucash-user at gnucash.org>
>>> Subject: Re: [GNC] Possible Bug with GNUCash - GNUCash cannot 
>>> see/open files with OneDrive Hi,
>>>
>>> On Tue, July 20, 2021 11:33 am, Cameron Podd wrote:
>>>> I am wondering if anyone has encountered - or has a possible 
>>>> solution to
>>>> -
>>>> this bug I have found. I usually store my GNUCash file in OneDrive.
>>>> However, with the new update of OneDrive, GNUCash cannot see the file.
>>>> See
>>>> the error below. Has anyone also seen this error - or know how to 
>>>> correct it?
>>>>
>>>> Can't parse the URL
>>>> /Users/<username>/OneDrive/Documents/GnuCashData.gnucash
>>>
>>> What OS/Distro are you using?
>>> Is OneDrive actually *mounted*?
>>> Can you browse to /Users/<username>/OneDrive/Documents from a 
>>> Terminal/Command-line and see your data file there?
>>>
>>>> Thanks - Cameron
>>>
>>>> Please remember to CC this list on all your replies.
>>>> You can do this by using Reply-To-List or Reply-All.
>>>
>>> -derek
>>>
>>> --
>>>        Derek Atkins                 617-623-3745
>>>        derek at ihtfp.com             www.ihtfp.com<http://www.ihtfp.com>
>>>        Computer and Internet Security Consultant 
>>> _______________________________________________
>>> gnucash-user mailing list
>>> gnucash-user at gnucash.org
>>> To update your subscription preferences or to unsubscribe:
>>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>>> If you are using Nabble or Gmane, please see 
>>> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
>>> -----
>>> Please remember to CC this list on all your replies.
>>> You can do this by using Reply-To-List or Reply-All.
>>>
>>
>>
>> --
>>        Derek Atkins                 617-623-3745
>>        derek at ihtfp.com             www.ihtfp.com<http://www.ihtfp.com>
>>        Computer and Internet Security Consultant 
>> _______________________________________________
>> gnucash-user mailing list
>> gnucash-user at gnucash.org
>> To update your subscription preferences or to unsubscribe:
>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>> If you are using Nabble or Gmane, please see 
>> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
>> -----
>> Please remember to CC this list on all your replies.
>> You can do this by using Reply-To-List or Reply-All.
>>
>
>
> --
>        Derek Atkins                 617-623-3745
>        derek at ihtfp.com             www.ihtfp.com<http://www.ihtfp.com>
>        Computer and Internet Security Consultant 
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> If you are using Nabble or Gmane, please see 
> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
>


-- 
       Derek Atkins                 617-623-3745
       derek at ihtfp.com             www.ihtfp.com
       Computer and Internet Security Consultant




More information about the gnucash-user mailing list