[GH-ISSUE #2457] [Bug]: Import of data with long numbers such as -0.30000000000000004 messes the server and we see internal error in multiple places. #7924

Closed
opened 2026-04-10 18:03:06 -05:00 by GiteaMirror · 5 comments
Owner

Originally created by @yeluripati-ha on GitHub (Mar 12, 2024).
Original GitHub issue: https://github.com/actualbudget/actual/issues/2457

Verified issue does not already exist?

  • I have searched and found no existing issue
  • I have checked my server logs and could not see any errors there
  • I will be attaching my server logs to this issue
  • I will be attaching my client-side (browser) logs to this issue
  • I understand that this issue will be automatically closed if insufficient information is provided

What happened?

If an imported file/data includes numbers with a long decimal, the server does not seem to be able to handle it. When you scroll the list of transactions to the errant transaction, the server throws an error and needs to be restarted. This cannot be fixed, there is no way to view the transaction so it can be deleted. Restarting the server does not help. I am not able to close the account/delete it, I get an internal error, other screens (like Custom Reports) display internal error after this. My only option is to close and delete the entire file and restart again.

Client version: v24.3.0
Server version: v24.3.0

What error did you receive?

This is the error in the client side browser:

Error: safeNumber: can’t safely perform arithmetic with number: 3000000000000000500 at N_ (https://192.168.25.175:5006/static/js/index.O6ABAWXP.js:58:92092) at _n (https://192.168.25.175:5006/static/js/index.O6ABAWXP.js:58:92257) at wt (https://192.168.25.175:5006/static/js/wide.Puo4nQYF.chunk.js:1:56913) at https://192.168.25.175:5006/static/js/wide.Puo4nQYF.chunk.js:1:64250 at Object.Ak [as useState] (https://192.168.25.175:5006/static/js/index.O6ABAWXP.js:56:22457) at Ee.useState (https://192.168.25.175:5006/static/js/index.O6ABAWXP.js:9:6382) at https://192.168.25.175:5006/static/js/wide.Puo4nQYF.chunk.js:1:64237 at J1 (https://192.168.25.175:5006/static/js/index.O6ABAWXP.js:56:19539) at yv (https://192.168.25.175:5006/static/js/index.O6ABAWXP.js:58:3139) at bD (https://192.168.25.175:5006/static/js/index.O6ABAWXP.js:58:2351)

Where are you hosting Actual?

Docker

What browsers are you seeing the problem on?

Chrome

Operating System

Linux

Originally created by @yeluripati-ha on GitHub (Mar 12, 2024). Original GitHub issue: https://github.com/actualbudget/actual/issues/2457 ### Verified issue does not already exist? - [X] I have searched and found no existing issue ### Is this related to GoCardless, Simplefin or another bank-sync provider? - [ ] I have checked my server logs and could not see any errors there - [ ] I will be attaching my server logs to this issue - [X] I will be attaching my client-side (browser) logs to this issue - [ ] I understand that this issue will be automatically closed if insufficient information is provided ### What happened? If an imported file/data includes numbers with a long decimal, the server does not seem to be able to handle it. When you scroll the list of transactions to the errant transaction, the server throws an error and needs to be restarted. This cannot be fixed, there is no way to view the transaction so it can be deleted. Restarting the server does not help. I am not able to close the account/delete it, I get an internal error, other screens (like Custom Reports) display internal error after this. My only option is to close and delete the entire file and restart again. Client version: v24.3.0 Server version: v24.3.0 ### What error did you receive? This is the error in the client side browser: Error: safeNumber: can’t safely perform arithmetic with number: 3000000000000000500 at N_ (https://192.168.25.175:5006/static/js/index.O6ABAWXP.js:58:92092) at _n (https://192.168.25.175:5006/static/js/index.O6ABAWXP.js:58:92257) at wt (https://192.168.25.175:5006/static/js/wide.Puo4nQYF.chunk.js:1:56913) at https://192.168.25.175:5006/static/js/wide.Puo4nQYF.chunk.js:1:64250 at Object.Ak [as useState] (https://192.168.25.175:5006/static/js/index.O6ABAWXP.js:56:22457) at Ee.useState (https://192.168.25.175:5006/static/js/index.O6ABAWXP.js:9:6382) at https://192.168.25.175:5006/static/js/wide.Puo4nQYF.chunk.js:1:64237 at J1 (https://192.168.25.175:5006/static/js/index.O6ABAWXP.js:56:19539) at yv (https://192.168.25.175:5006/static/js/index.O6ABAWXP.js:58:3139) at bD (https://192.168.25.175:5006/static/js/index.O6ABAWXP.js:58:2351) ### Where are you hosting Actual? Docker ### What browsers are you seeing the problem on? Chrome ### Operating System Linux
GiteaMirror added the bugneeds info labels 2026-04-10 18:03:06 -05:00
Author
Owner

@youngcw commented on GitHub (Mar 12, 2024):

in the short term you could try to find the value in the db file and fix it there.

<!-- gh-comment-id:1991772187 --> @youngcw commented on GitHub (Mar 12, 2024): in the short term you could try to find the value in the db file and fix it there.
Author
Owner

@youngcw commented on GitHub (Mar 12, 2024):

how was this bad value imported?

<!-- gh-comment-id:1991804498 --> @youngcw commented on GitHub (Mar 12, 2024): how was this bad value imported?
Author
Owner

@slimslickner commented on GitHub (Mar 19, 2024):

I recreated this same issue a while back. I got to this point by aggregating a split transaction with pandas from a Quicken export to then import to Actual.

Imported using CSV import in Actual.

<!-- gh-comment-id:2007014071 --> @slimslickner commented on GitHub (Mar 19, 2024): I recreated this same issue a while back. I got to this point by aggregating a split transaction with pandas from a Quicken export to then import to Actual. Imported using CSV import in Actual.
Author
Owner

@MatissJanis commented on GitHub (Mar 21, 2024):

👋 Would you mind providing an example file to reproduce the issue? Without a clear reproduction path it will be very difficult to assist in fixing this.

<!-- gh-comment-id:2013249029 --> @MatissJanis commented on GitHub (Mar 21, 2024): 👋 Would you mind providing an example file to reproduce the issue? Without a clear reproduction path it will be very difficult to assist in fixing this.
Author
Owner

@MatissJanis commented on GitHub (Mar 23, 2024):

Actually.. this is a duplicate of https://github.com/actualbudget/actual/issues/1811. And since we have reproduction steps in 1811 - I'll close this one.

<!-- gh-comment-id:2016429626 --> @MatissJanis commented on GitHub (Mar 23, 2024): Actually.. this is a duplicate of https://github.com/actualbudget/actual/issues/1811. And since we have reproduction steps in 1811 - I'll close this one.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#7924