[GNC] Export from Android can't open XML on Windows

John Ralls jralls at ceridwen.us
Mon May 20 14:49:46 EDT 2019



> On May 20, 2019, at 11:27 AM, D via gnucash-user <gnucash-user at gnucash.org> wrote:
> 
> Not sure, but XBT is not listed as a valid ISO4217 code, so it's likely Gnucash doesn't like it.
> 
> What would you use it for? What did you use it for last July 29th?
> 
> David
> 
> On May 20, 2019, at 11:35 PM, dragospuri <dragospuri at gmail.com> wrote:
> 
> 
>> Ok. I believe I have found it. It wasn't a transaction, but a <price>.
>> Removing the following lets me open the file in gnucash:
>>       <price>
>>         <price:id type="guid">4625ffc94c6f4ed68528191dab4f5602</price:id>
>>         <price:commodity>
>>           <cmdty:space>ISO4217</cmdty:space>
>>           <cmdty:id>RON</cmdty:id>
>>         </price:commodity>
>>         <price:currency>
>>           <cmdty:space>ISO4217</cmdty:space>
>>           <cmdty:id>XBT</cmdty:id>
>>         </price:currency>
>>         <price:time>
>>           <ts:date>2018-07-29 00:32:29 +0300</ts:date>
>>         </price:time>
>>         <price:source>user:xfer-dialog</price:source>
>>         <price:value>39/1254250</price:value>
>>       </price>
>> Probably XBT isn't accepted?!
>> I'm not sure yet how this will affect my transactions that involve this
>> (worried), or how to find them.
>> Thanks a lot for the help.

David,

XBT is commonly used for Bitcoin.

Dragos,

Just put it in a different namespace and change the type of the asset account(s) holding it to "stock". You'll need to do that outside of GnuCash.

You should file a bug with GnuCash-for-Android. If Ngewi wants to allow non-ISO currency codes that's his business but he should warn that it will make the file incompatible with GnuCash.

Regards,
John Ralls




More information about the gnucash-user mailing list