Comments (9)
Could you share the logs of the data importer when it runs into this amount? It should be able to deal with this.
from firefly-iii.
@JC5 Backend (docker) logs, or the output that is shown in the browser during the import?
from firefly-iii.
Docker logs.
https://docs.firefly-iii.org/how-to/general/debug/
from firefly-iii.
OK. First glance in the logs I couldn't see anything even vaguely relevant, so I did the import again. Here we go:
[2024-01-16 17:31:22] local.DEBUG: Now submitting transaction 3/3
[2024-01-16 17:31:22] local.DEBUG: Duplicate detection method is "none", so this method is skipped (return true).
[2024-01-16 17:31:22] local.DEBUG: Transaction #3 is not checked beforehand on uniqueness.
[2024-01-16 17:31:22] local.DEBUG: Going to map data for this line.
[2024-01-16 17:31:22] local.DEBUG: Submitting to Firefly III: {"group_title":null,"error_if_duplicate_hash":false,"transactions":[{"type":"withdrawal","date":"XXXX","currency_id":1,"currency_code":null,"amount":"1.000000000000","description":"XXXX","source_id":1,"source_name":null,"destination_id":null,"destination_name":"XXXX","original_source":"jc5-data-import-v1.4.1","tags":[],"source_iban":null,"source_number":null,"source_bic":null,"destination_iban":null,"destination_number":null,"destination_bic":null}]}
[2024-01-16 17:31:23] local.DEBUG: isReadyForFileStep("submit")
[2024-01-16 17:31:23] local.DEBUG: isReadyForFileStep: Return true
[2024-01-16 17:31:23] local.DEBUG: Now at App\Http\Controllers\Import\SubmitController::status(submission-hjUj2s9LHFjV)
[2024-01-16 17:31:23] local.DEBUG: Now in startOrFindJob(submission-hjUj2s9LHFjV)
[2024-01-16 17:31:23] local.DEBUG: Try to see if file exists for job submission-hjUj2s9LHFjV.
[2024-01-16 17:31:23] local.DEBUG: Status file exists for job submission-hjUj2s9LHFjV.
[2024-01-16 17:31:23] local.DEBUG: Status: submission_running
[2024-01-16 17:31:23] local.DEBUG: Messages: 1, warnings: 0, errors: 1
172.18.0.1 - - [16/Jan/2024:17:31:23 +0100] "GET /import/submit/status?identifier=submission-hjUj2s9LHFjV HTTP/1.1" 200 1477 "http://XXXX/import/submit" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:121.0) Gecko/20100101 Firefox/121.0"
[2024-01-16 17:31:23] local.INFO: Add message to index #2: Created withdrawal <a target="_blank" href="XXXX">XXXX</a> (EUR 1)
[2024-01-16 17:31:23] local.DEBUG: Add message on index #2 (line no. 3): Created withdrawal <a target="_blank" href="XXXX>#XXXX"</a> (EUR 1)
[2024-01-16 17:31:23] local.DEBUG: Now in App\Services\Shared\Import\Status\SubmissionStatusManager::storeSubmissionStatus(submission-hjUj2s9LHFjV): submission_running
[2024-01-16 17:31:23] local.DEBUG: Messages: 2, warnings: 0, errors: 1
[2024-01-16 17:31:23] local.INFO: Created withdrawal <a target="_blank" href="XXXX">#XXXX</a> (EUR 1)
[2024-01-16 17:31:23] local.DEBUG: Going to add import tag to transaction group #8359
[2024-01-16 17:31:24] local.DEBUG: Added import tag to transaction group #8359
[2024-01-16 17:31:24] local.INFO: Done submitting 3 transactions to your Firefly III instance.
Don't be distracted by the errors: 1
message, there was a zero amount transaction in the data.
from firefly-iii.
Sorry, just checked the link - should I rerun with further debugging enabled, or is the above enough?
from firefly-iii.
Search for these kinds of line:
Decimal character in "%s" seems to be a dot.
Converted amount from "%s" to "%s".
No decimal character found. Converted amount from "%s" to "%s".
Probably earlier in the process, and the %s things are just placeholders.
from firefly-iii.
How does this look?
[2024-01-16 17:31:03] local.DEBUG: Start with amount "-1.000"
[2024-01-16 17:31:03] local.DEBUG: Stripped "-1.000" to "-1.000"
[2024-01-16 17:31:03] local.DEBUG: Decimal is still NULL, probably number with >2 decimals. Search for a dot.
[2024-01-16 17:31:03] local.DEBUG: Searched from the left for "." in amount "-1.000", assume this is the decimal sign.
[2024-01-16 17:31:03] local.DEBUG: Converted amount from "-1.000" to "-1.000".
[2024-01-16 17:31:03] local.DEBUG: Final NUMERIC value is: "-1.000"
[2024-01-16 17:31:03] local.DEBUG: Stored column #4 with value "-1.000" and role "amount" in field "amount"
Wish my developers would write logging like this :)
from firefly-iii.
Perfect. I'll pick it up.
And thanks for the compliments 😁
from firefly-iii.
Hi there! This is an automatic reply. Share and enjoy
This issue is now 🔒 closed. Please be aware that closed issues are not monitored by the developer of Firefly III.
- If the original bug is not actually fixed, please open a new issue. Refer to this issue for clarity.
- Follow-up questions must be posted in a new discussion
- Further replies to this issue may get no response.
If there is more to discuss, please open a new issue or discussion.
Thank you for your contributions.
from firefly-iii.
Related Issues (20)
- Data Importer times out trying to connect to Spectre
- Enhance search: usae of wildcard for amount HOT 2
- Error 500 after upgrade from v6.1.13 to v6.1.14 or v6.1.15 HOT 29
- data export gives error 405 Method Not Allowed HOT 3
- Triger on a Rule doesn't work fine when searching for an string that contains numbers
- deleted transaction keeps getting reimported (saltedge) HOT 13
- Data Importer importing duplicates from CSV HOT 6
- Budget page crash HOT 6
- Column for income and expenses are not on top of each other HOT 3
- Split recurring transaction gets wrong (split) titles HOT 1
- Show upcomming transactions HOT 2
- Send slack notification when a transaction is created or updated manually HOT 3
- Oops! An Error Occurred The server returned a "500 Internal Server Error". Login page HOT 7
- Make rules non-uppercase sensitive HOT 2
- Automation not work HOT 5
- Transaction not imported if interest date is in the past HOT 5
- API Account Search all fields HOT 2
- A single Account constantly loses its Account NUmber / IBAN HOT 5
- Attachments no longer uploading (500) after SQLSTATE[HY000] [2006] Error HOT 4
- Empty webhooks page HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from firefly-iii.