Bitcoin account
Philippe Debrabant
pdebrabant at free.fr
Sun Jan 10 16:17:59 GMT 2021
Hi Thomas,
I tried the AppImage, but it was not possible to change the values in
"Smallest account unit" and "Smallest cash unit" as these fields were
read only.
So I tweaked my file and YES it worked. Now I have a real functionnal
bitcoin account. Thanks for your help. I hope the modification of these
2 fields will be possible in the next public available version.
Best regards,
Philippe
Le 09/01/2021 à 18:45, Thomas Baumgart a écrit :
> Philippe,
>
> On Samstag, 9. Januar 2021 18:21:46 CET Philippe Debrabant wrote:
>
>> Hi, thanks for your fast answer :-)
>>
>> See my joined screen capture : currently, the currency's Price Precision
>> of BTC is already "9"... I think.
>>
>> I tried to build the 5.1.1 version from sources but the make halts
>> immediately on :
>>
>> *******************************************
>> Scanning dependencies of target po-uk-docs-kmymoney-kmymoney-1
>> [ 0%] Generating po/uk/docs/kmymoney/kmymoney.1
>> Note: Writing kmymoney.1
>> [ 0%] Built target po-uk-docs-kmymoney-kmymoney-1
>> Scanning dependencies of target po-uk-docs-kmymoney-index-cache-bz2
>> [ 0%] Generating po/uk/docs/kmymoney/index.cache.bz2
>> [ 0%] Built target po-uk-docs-kmymoney-index-cache-bz2
>> Scanning dependencies of target po-ca-docs-kmymoney-index-cache-bz2
>> [ 0%] Generating po/ca/docs/kmymoney/index.cache.bz2
>> details-formats.docbook:105: parser error : Entity 'ASCII' not defined
>> >armadura &ASCII;</emphasis
>> ^
>> details-formats.docbook:174: parser error : chunk is not well balanced
>
> Ah, that is just a documentation problem. You can simply replace that '&ASCII;' with 'ASCII'
> and write the file back to disk. This may happen in other languages as well. Just
> repeat that replacement and the build should continue.
>
> [...]
>
>> I don't know if I can correct this.
>
> See above.
>
>> So, if you can tell me how I can tweak/patch my data, it can help. I
>> have the 5.0.7 version.
>
> Since you're on Linux, you can try to run the 5.1.1 AppImage version which
> you can download from https://kmymoney.org/appimage. This page also
> contains instructions on how to make that file executable. No need to uninstall
> the version you have on your disk. Using this, you can make the necessary
> modifications to your file and either use your 5.0.7 or stick with the AppImage,
> whatever you prefer. Attached is a screenshot of the enhanced currency dialog.
>
> In case you want to tweak the data file, here is how it works:
>
> Given your data file is named xxx.kmy here are some instructions on how to tweak it:
>
> % cp xxx.kmy xxx.kmy.ori
>
> Just in case :) Now decompress it:
>
> % zcat xxx.kmy > xxx.xml
>
> Open the resulting xxx.xml in any text editor (vi/emacs/kate).
>
> Search for the following line:
>
> <CURRENCY type="3" symbol="BTC" id="BTC" name="Bitcoin" scf="100" rounding-method="7" saf="100" pp="9"/>
>
> The order of the XML attributes may be different, but 'id="BTC"' is what you are looking for as CURRENCY.
>
> Changing the value of saf and scf from 100 to e.g. 10000 gives you e.g. 0.00001 as the smallest amount.
> The more zeroes you add, the smaller the values get. Change both, saf and scf to the same value.
>
> Save the file.
>
> % kmymoney xxx.xml
>
> will open that file and you can check what you did. Once you are confident, that you have what you need
> simply replace the originating file with the new one
>
> % mv xxx.xml xxx.kmy
>
> No need to compress, KMyMoney handles that for you the next time you save that file. In case anything
> goes wrong, you still have xxx.kmy.ori on your disk :)
>
> Hope that helps.
>
>
>
>
More information about the KMyMoney
mailing list