You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm attempting to import a CSV from my bitcoin exchange (Coinbase), but Firefly seems to get the BTC amount wrong each time (showing an impossibly postive/negative bitcoin balance), as if it's ignoring the decimals. At first, I was attempting to import the whole file (about 70 transactions), but for some reason Firefly kept saying there were 350 transactions while importing. From there, I started stripping off columns (the transaction count issue may be due to a weirdly-formatted CSV, I'll dig into that later), and still got the incorrect balances. From looking in the logs, I noticed it was saying that it wasn't recognizing the decimal character.
Steps to reproduce
Attempt to import following CSV file in to new bitcoin asset account (config is selecting headers, date format as Y-m-d, and then using Date and Amount columns):
[2017-12-19 19:45:15] production.DEBUG: debet amount is NULL
[2017-12-19 19:45:15] production.DEBUG: credit amount is NULL
[2017-12-19 19:45:15] production.DEBUG: convertedAmount is NULL
[2017-12-19 19:45:15] production.DEBUG: Amount value is not NULL, assume this is the correct value.
[2017-12-19 19:45:15] production.DEBUG: Converter class is FireflyIII\Import\Converter\Amount
[2017-12-19 19:45:15] production.DEBUG: Start with amount "-0.115"
[2017-12-19 19:45:15] production.DEBUG: No decimal character found. Converted amount from "-0.115" to "-0115".
[2017-12-19 19:45:15] production.DEBUG: First attempt to convert gives "-115.000000000000"
[2017-12-19 19:45:15] production.DEBUG: After modifiers the result is: "-115.000000000000"
[2017-12-19 19:45:15] production.DEBUG: convertedAmount is: "-115.000000000000"
[2017-12-19 19:45:15] production.DEBUG: In createCurrency()
The text was updated successfully, but these errors were encountered:
Thanks for including the logs, and thanks of course for reporting this bug. I believe that the amount converter is unable to handle more than 2 decimals. I’ll check it out and get back to you!
Sounds good, thanks for the quick fix! I'll check it out with the next release.
I actually got impatient and just patched 4.6.11.1 and it definitely solves it! I can close the issue now, or we can leave it open until it gets released.
Cheers
EDIT: My thing transaction counts ended up being a non-issue, after doing a good import, I realized that the number in the import progress bar that it gives you must be something besides the transaction count, perhaps the number of fields it's parsing?
It's the number of lines * the number of steps, which is 5. So 20 transactions is about 100 steps. It's not perfect (not all steps are the same size) but it works fairly well.
I've linked this to the next release and I'll close it when it goes live!
I am running Firefly III version 4.6.11.1
Description of my issue:
I'm attempting to import a CSV from my bitcoin exchange (Coinbase), but Firefly seems to get the BTC amount wrong each time (showing an impossibly postive/negative bitcoin balance), as if it's ignoring the decimals. At first, I was attempting to import the whole file (about 70 transactions), but for some reason Firefly kept saying there were 350 transactions while importing. From there, I started stripping off columns (the transaction count issue may be due to a weirdly-formatted CSV, I'll dig into that later), and still got the incorrect balances. From looking in the logs, I noticed it was saying that it wasn't recognizing the decimal character.
Steps to reproduce
Y-m-d
, and then using Date and Amount columns):Other important details (log files, system info):
/firefly/storage/logs/ff3-apache2handler-2017-12-19.log
The text was updated successfully, but these errors were encountered: