Passing error Warning: valid_commodity: Invalid commodity: 0 fraction

Doug Laidlaw laidlaws at hotkey.net.au
Sat Nov 22 10:44:28 EST 2008


I note that you received no reply, Greg.   I am running Linux, but the file 
should be similar.

Of course the commodity exists, I wonder about fractions of the commodity.  
This is usually to 3 decimal places, but the log says "Invalid commodity: 0 
fraction."  You should be able to fix that in the setup screen for the 
commodity or the investment.

The line about no file headers seems to be a separate error, if it is one at 
all.  The file is a compressed XML file.  Under Linux, it is compressed with 
gzip, which Windows' unzipper can handle.  I will have to leave the Mac 
equivalent to you.

HTH,

Doug,
Bendigo, Vic, on water restrictions 3.5, no river, and one artificial lake.  
Jealous of you in Byron Bay.

On Sunday 19 October 2008 12:09:03 pm Gregory White wrote:
> Hi,
> I have a passing error and my exterm shows the error below.
> If you can help me repair the file I would be extremely grateful.
> This is on OSX 10.5.5 with Guncash 1.8.12 via fink install.
> Warm regards,
> Greg.
>
> ===================================
>
> Error: xaccAccountScrubCommodity: account with no commodity
> Debug: gnc_file_log_replay: gnc_file_log_replay(): Begin...
>
> Debug: gnc_file_log_replay: Filename found: /Users/greg/Documents/
> Accounts2/Byron Homeopathy
> Debug: gnc_file_log_replay: Opening selected file
> Error: gnc_file_log_replay: File header not recognised:
>
> Error: gnc_file_log_replay: Expected:
> mod     trans_guid      split_guid      time_now
> date_entered    date_posted     acc_guid        acc_name
> num     description     notes   memo    action  reconciled
> amount  value   date_reconciled
> Warning: valid_commodity: Invalid commodity: 0 fraction
> Warning: gnc_commodity_end_handler: Invalid commodity parsed
> <gnc:commodity version="2.0.0">
>    <cmdty:space>ISO4217</cmdty:space>
>    <cmdty:id>AUD</cmdty:id>
>    <cmdty:get_quotes/>
>    <cmdty:quote_source>currency</cmdty:quote_source>
>    <cmdty:quote_tz/>
> </gnc:commodity>
> Error: xaccAccountStringToType: asked to translate unknown account
> type string ROOT.
>
> Error: xaccAccountScrubCommodity: account with no commodity
> bash-3.2$
>
> ==================
> Gregory White,
> Homeopath, M.A.H.A., Reg. AROH.
> Australian & NZ Dealer for Kent Homeopathic Associates
> ---------------------------------
> Mullumbimby (Near Byron Bay), Australia
> Phone: +61 (0)2 6684 5557
> Email: greg at repertory.org
> Skypename: repertory.org
> Websites: http://www.repertory.org.
> http://www.kenthomeopathic.com
>
>
>
> _______________________________________________
> 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.




More information about the gnucash-user mailing list