[Bug]: Cannot import from file on latest Mac ARM version #2460

Closed
opened 2026-02-28 20:14:24 -06:00 by GiteaMirror · 6 comments
Owner

Originally created by @openSourcerer9000 on GitHub (Sep 8, 2025).

Verified issue does not already exist?

  • I have searched and found no existing issue

What happened?

Exactly as stated, exported from Windows and tried importing on Mac Silicon. Flashes red "internal error" with no explanation.

How can we reproduce the issue?

Try importing on OSX

Where are you hosting Actual?

Desktop App (Electron)

What browsers are you seeing the problem on?

No response

Operating System

Mac OSX

Originally created by @openSourcerer9000 on GitHub (Sep 8, 2025). ### Verified issue does not already exist? - [x] I have searched and found no existing issue ### What happened? Exactly as stated, exported from Windows and tried importing on Mac Silicon. Flashes red "internal error" with no explanation. ### How can we reproduce the issue? Try importing on OSX ### Where are you hosting Actual? Desktop App (Electron) ### What browsers are you seeing the problem on? _No response_ ### Operating System Mac OSX
GiteaMirror added the electronbug labels 2026-02-28 20:14:24 -06:00
Author
Owner

@k3vinco commented on GitHub (Sep 9, 2025):

I'm also getting the same red internal-error when exporting/importing from/to Apple Silicon.

@k3vinco commented on GitHub (Sep 9, 2025): I'm also getting the same red `internal-error` when exporting/importing from/to Apple Silicon.
Author
Owner

@MikesGlitch commented on GitHub (Sep 9, 2025):

Was this introduced with the last version? It seems ARM64 related, I'm unable to replicate it on my x64 mac.

Could you open up devtools (cmd shift i or View > Toggle Developer Tools) and copy/paste the error that comes up in the console into this thread?

Should help us narrow down the module that needs built for arm64.

@MikesGlitch commented on GitHub (Sep 9, 2025): Was this introduced with the last version? It seems ARM64 related, I'm unable to replicate it on my x64 mac. Could you open up devtools (`cmd shift i` or `View > Toggle Developer Tools`) and copy/paste the error that comes up in the console into this thread? Should help us narrow down the module that needs built for arm64.
Author
Owner

@openSourcerer9000 commented on GitHub (Sep 9, 2025):

Didn't know you could do that in an electron app. There's a few:

Server Log: Database is out of sync with migrations: {
  appliedIds: [
    1548957970627, 1550601598648, 1555786194328,
    1561751833510, 1567699552727, 1582384163573,
    1597756566448, 1608652596043, 1608652596044,
    1612625548236, 1614782639336, 1615745967948,
    1616167010796, 1618975177358, 1632571489012,
    1679728867040, 1681115033845, 1682974838138,
    1685007876842, 1686139660866, 1688749527273,
    1688841238000, 1691233396000, 1694438752000,
    1697046240000, 1704572023730, 1704572023731,
    1707267033000, 1712784523000, 1716359441000,
    1720310586000, 1720664867241, 1720665000000,
    1722717601000, 1722804019000, 1723665565000,
    1730744182000, 1736640000000, 1737158400000,
    1738491452000, 1739139550000, 1740506588539,
    1745425408000, 1749799110000, 1749799110001,
    1754611200000
  ],
  available: [
    '1548957970627_remove-db-version.sql',
    '1550601598648_payees.sql',
    '1555786194328_remove_category_group_unique.sql',
    '1561751833510_indexes.sql',
    '1567699552727_budget.sql',
    '1582384163573_cleared.sql',
    '1597756566448_rules.sql',
    '1608652596043_parent_field.sql',
    '1608652596044_trans_views.sql',
    '1612625548236_optimize.sql',
    '1614782639336_trans_views2.sql',
    '1615745967948_meta.sql',
    '1616167010796_accounts_order.sql',
    '1618975177358_schedules.sql',
    '1632571489012_remove_cache.js',
    '1679728867040_rules_conditions.sql',
    '1681115033845_add_schedule_name.sql',
    '1682974838138_remove_payee_rules.sql',
    '1685007876842_add_category_hidden.sql',
    '1686139660866_remove_account_type.sql',
    '1688749527273_transaction_filters.sql',
    '1688841238000_add_account_type.sql',
    '1691233396000_add_schedule_next_date_tombstone.sql',
    '1694438752000_add_goal_targets.sql',
    '1697046240000_add_reconciled.sql',
    '1704572023730_add_account_sync_source.sql',
    '1704572023731_add_missing_goCardless_sync_source.sql',
    '1707267033000_reports.sql',
    '1712784523000_unhide_input_group.sql',
    '1716359441000_include_current.sql',
    '1720310586000_link_transfer_schedules.sql',
    '1720664867241_add_payee_favorite.sql',
    '1720665000000_goal_context.sql',
    '1722717601000_reports_move_selected_categories.js',
    '1722804019000_create_dashboard_table.js',
    '1723665565000_prefs.js',
    '1730744182000_fix_dashboard_table.sql',
    '1736640000000_custom_report_sorting.sql',
    '1737158400000_add_learn_categories_to_payees.sql',
    '1738491452000_sorting_rename.sql',
    '1739139550000_bank_sync_page.sql',
    '1740506588539_add_last_reconciled_at.sql',
    '1745425408000_update_budgetType_pref.sql',
    '1749799110000_add_tags.sql',
    '1749799110001_tags_tombstone.sql'
  ]
}
(anonymous) @ VM84:1
(anonymous) @ VM4 sandbox_bundle:2
(anonymous) @ VM4 sandbox_bundle:2
emit @ VM4 sandbox_bundle:2
onMessage @ VM4 sandbox_bundle:2
VM85:1 Server Log: Error updating Error: out-of-sync-migrations
    at migrate (/Applications/Actual.app/Contents/Resources/app.asar/build/loot-core/lib-dist/electron/bundle.desktop.js:382:2257)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async runMigrations (/Applications/Actual.app/Contents/Resources/app.asar/build/loot-core/lib-dist/electron/bundle.desktop.js:382:2515)
    at async updateVersion (/Applications/Actual.app/Contents/Resources/app.asar/build/loot-core/lib-dist/electron/bundle.desktop.js:386:240)
    at async _loadBudget (/Applications/Actual.app/Contents/Resources/app.asar/build/loot-core/lib-dist/electron/bundle.desktop.js:386:10773)
    at async Object.app_loadBudget [as load-budget] (/Applications/Actual.app/Contents/Resources/app.asar/build/loot-core/lib-dist/electron/bundle.desktop.js:386:6693)
    at async importActual (/Applications/Actual.app/Contents/Resources/app.asar/build/loot-core/lib-dist/electron/bundle.desktop.js:333:36)
    at async importBudget (/Applications/Actual.app/Contents/Resources/app.asar/build/loot-core/lib-dist/electron/bundle.desktop.js:386:9632)
(anonymous) @ VM85:1
(anonymous) @ VM4 sandbox_bundle:2
(anonymous) @ VM4 sandbox_bundle:2
emit @ VM4 sandbox_bundle:2
onMessage @ VM4 sandbox_bundle:2
VM86:1 Server Log: error SELECT * FROM transactions WHERE isChild=0 AND date IS NOT NULL ORDER BY date ASC LIMIT 1
VM87:1 Server Log: [Exception] TypeError: Error importing budget: Cannot read properties of null (reading 'prepare')
    at runQuery (/Applications/Actual.app/Contents/Resources/app.asar/build/loot-core/lib-dist/electron/bundle.desktop.js:48:75514)
    at db_runQuery (/Applications/Actual.app/Contents/Resources/app.asar/build/loot-core/lib-dist/electron/bundle.desktop.js:203:7770)
    at first (/Applications/Actual.app/Contents/Resources/app.asar/build/loot-core/lib-dist/electron/bundle.desktop.js:203:8293)
    at createAllBudgets (/Applications/Actual.app/Contents/Resources/app.asar/build/loot-core/lib-dist/electron/bundle.desktop.js:174:6905)
    at Object.getBudgetBounds [as get-budget-bounds] (/Applications/Actual.app/Contents/Resources/app.asar/build/loot-core/lib-dist/electron/bundle.desktop.js:326:1316)
    at importActual (/Applications/Actual.app/Contents/Resources/app.asar/build/loot-core/lib-dist/electron/bundle.desktop.js:333:117)
    at async importBudget (/Applications/Actual.app/Contents/Resources/app.asar/build/loot-core/lib-dist/electron/bundle.desktop.js:386:9632)
(anonymous) @ VM87:1
(anonymous) @ VM4 sandbox_bundle:2
(anonymous) @ VM4 sandbox_bundle:2
emit @ VM4 sandbox_bundle:2
onMessage @ VM4 sandbox_bundle:2
index.T3cUsglE.js:383 {name: 'Error', message: 'internal-error', stack: 'Error: internal-error\n    at app://actual/static/j…p://actual/static/js/index.T3cUsglE.js:381:62813)'}
effect @ index.T3cUsglE.js:383
s @ index.T3cUsglE.js:26
(anonymous) @ index.T3cUsglE.js:26
dispatch @ index.T3cUsglE.js:26
(anonymous) @ index.T3cUsglE.js:26
await in (anonymous) (async)
(anonymous) @ index.T3cUsglE.js:26
(anonymous) @ index.T3cUsglE.js:26
(anonymous) @ index.T3cUsglE.js:26
u @ index.T3cUsglE.js:381
await in u (async)
(anonymous) @ index.T3cUsglE.js:61
(anonymous) @ index.T3cUsglE.js:61
onClick @ index.T3cUsglE.js:61
Z3 @ index.T3cUsglE.js:57
(anonymous) @ index.T3cUsglE.js:57
dT @ index.T3cUsglE.js:57
Xu @ index.T3cUsglE.js:57
FS @ index.T3cUsglE.js:58
nO @ index.T3cUsglE.js:58

The last one is:

{
    "name": "Error",
    "message": "internal-error",
    "stack": "Error: internal-error
    at app://actual/static/js/index.T3cUsglE.js:58:98728
    at async app://actual/static/js/index.T3cUsglE.js:26:19839
    at async u (app://actual/static/js/index.T3cUsglE.js:381:62813)"
}
@openSourcerer9000 commented on GitHub (Sep 9, 2025): Didn't know you could do that in an electron app. There's a few: ``` Server Log: Database is out of sync with migrations: { appliedIds: [ 1548957970627, 1550601598648, 1555786194328, 1561751833510, 1567699552727, 1582384163573, 1597756566448, 1608652596043, 1608652596044, 1612625548236, 1614782639336, 1615745967948, 1616167010796, 1618975177358, 1632571489012, 1679728867040, 1681115033845, 1682974838138, 1685007876842, 1686139660866, 1688749527273, 1688841238000, 1691233396000, 1694438752000, 1697046240000, 1704572023730, 1704572023731, 1707267033000, 1712784523000, 1716359441000, 1720310586000, 1720664867241, 1720665000000, 1722717601000, 1722804019000, 1723665565000, 1730744182000, 1736640000000, 1737158400000, 1738491452000, 1739139550000, 1740506588539, 1745425408000, 1749799110000, 1749799110001, 1754611200000 ], available: [ '1548957970627_remove-db-version.sql', '1550601598648_payees.sql', '1555786194328_remove_category_group_unique.sql', '1561751833510_indexes.sql', '1567699552727_budget.sql', '1582384163573_cleared.sql', '1597756566448_rules.sql', '1608652596043_parent_field.sql', '1608652596044_trans_views.sql', '1612625548236_optimize.sql', '1614782639336_trans_views2.sql', '1615745967948_meta.sql', '1616167010796_accounts_order.sql', '1618975177358_schedules.sql', '1632571489012_remove_cache.js', '1679728867040_rules_conditions.sql', '1681115033845_add_schedule_name.sql', '1682974838138_remove_payee_rules.sql', '1685007876842_add_category_hidden.sql', '1686139660866_remove_account_type.sql', '1688749527273_transaction_filters.sql', '1688841238000_add_account_type.sql', '1691233396000_add_schedule_next_date_tombstone.sql', '1694438752000_add_goal_targets.sql', '1697046240000_add_reconciled.sql', '1704572023730_add_account_sync_source.sql', '1704572023731_add_missing_goCardless_sync_source.sql', '1707267033000_reports.sql', '1712784523000_unhide_input_group.sql', '1716359441000_include_current.sql', '1720310586000_link_transfer_schedules.sql', '1720664867241_add_payee_favorite.sql', '1720665000000_goal_context.sql', '1722717601000_reports_move_selected_categories.js', '1722804019000_create_dashboard_table.js', '1723665565000_prefs.js', '1730744182000_fix_dashboard_table.sql', '1736640000000_custom_report_sorting.sql', '1737158400000_add_learn_categories_to_payees.sql', '1738491452000_sorting_rename.sql', '1739139550000_bank_sync_page.sql', '1740506588539_add_last_reconciled_at.sql', '1745425408000_update_budgetType_pref.sql', '1749799110000_add_tags.sql', '1749799110001_tags_tombstone.sql' ] } (anonymous) @ VM84:1 (anonymous) @ VM4 sandbox_bundle:2 (anonymous) @ VM4 sandbox_bundle:2 emit @ VM4 sandbox_bundle:2 onMessage @ VM4 sandbox_bundle:2 VM85:1 Server Log: Error updating Error: out-of-sync-migrations at migrate (/Applications/Actual.app/Contents/Resources/app.asar/build/loot-core/lib-dist/electron/bundle.desktop.js:382:2257) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async runMigrations (/Applications/Actual.app/Contents/Resources/app.asar/build/loot-core/lib-dist/electron/bundle.desktop.js:382:2515) at async updateVersion (/Applications/Actual.app/Contents/Resources/app.asar/build/loot-core/lib-dist/electron/bundle.desktop.js:386:240) at async _loadBudget (/Applications/Actual.app/Contents/Resources/app.asar/build/loot-core/lib-dist/electron/bundle.desktop.js:386:10773) at async Object.app_loadBudget [as load-budget] (/Applications/Actual.app/Contents/Resources/app.asar/build/loot-core/lib-dist/electron/bundle.desktop.js:386:6693) at async importActual (/Applications/Actual.app/Contents/Resources/app.asar/build/loot-core/lib-dist/electron/bundle.desktop.js:333:36) at async importBudget (/Applications/Actual.app/Contents/Resources/app.asar/build/loot-core/lib-dist/electron/bundle.desktop.js:386:9632) (anonymous) @ VM85:1 (anonymous) @ VM4 sandbox_bundle:2 (anonymous) @ VM4 sandbox_bundle:2 emit @ VM4 sandbox_bundle:2 onMessage @ VM4 sandbox_bundle:2 VM86:1 Server Log: error SELECT * FROM transactions WHERE isChild=0 AND date IS NOT NULL ORDER BY date ASC LIMIT 1 VM87:1 Server Log: [Exception] TypeError: Error importing budget: Cannot read properties of null (reading 'prepare') at runQuery (/Applications/Actual.app/Contents/Resources/app.asar/build/loot-core/lib-dist/electron/bundle.desktop.js:48:75514) at db_runQuery (/Applications/Actual.app/Contents/Resources/app.asar/build/loot-core/lib-dist/electron/bundle.desktop.js:203:7770) at first (/Applications/Actual.app/Contents/Resources/app.asar/build/loot-core/lib-dist/electron/bundle.desktop.js:203:8293) at createAllBudgets (/Applications/Actual.app/Contents/Resources/app.asar/build/loot-core/lib-dist/electron/bundle.desktop.js:174:6905) at Object.getBudgetBounds [as get-budget-bounds] (/Applications/Actual.app/Contents/Resources/app.asar/build/loot-core/lib-dist/electron/bundle.desktop.js:326:1316) at importActual (/Applications/Actual.app/Contents/Resources/app.asar/build/loot-core/lib-dist/electron/bundle.desktop.js:333:117) at async importBudget (/Applications/Actual.app/Contents/Resources/app.asar/build/loot-core/lib-dist/electron/bundle.desktop.js:386:9632) (anonymous) @ VM87:1 (anonymous) @ VM4 sandbox_bundle:2 (anonymous) @ VM4 sandbox_bundle:2 emit @ VM4 sandbox_bundle:2 onMessage @ VM4 sandbox_bundle:2 index.T3cUsglE.js:383 {name: 'Error', message: 'internal-error', stack: 'Error: internal-error\n at app://actual/static/j…p://actual/static/js/index.T3cUsglE.js:381:62813)'} effect @ index.T3cUsglE.js:383 s @ index.T3cUsglE.js:26 (anonymous) @ index.T3cUsglE.js:26 dispatch @ index.T3cUsglE.js:26 (anonymous) @ index.T3cUsglE.js:26 await in (anonymous) (async) (anonymous) @ index.T3cUsglE.js:26 (anonymous) @ index.T3cUsglE.js:26 (anonymous) @ index.T3cUsglE.js:26 u @ index.T3cUsglE.js:381 await in u (async) (anonymous) @ index.T3cUsglE.js:61 (anonymous) @ index.T3cUsglE.js:61 onClick @ index.T3cUsglE.js:61 Z3 @ index.T3cUsglE.js:57 (anonymous) @ index.T3cUsglE.js:57 dT @ index.T3cUsglE.js:57 Xu @ index.T3cUsglE.js:57 FS @ index.T3cUsglE.js:58 nO @ index.T3cUsglE.js:58 ``` The last one is: ``` { "name": "Error", "message": "internal-error", "stack": "Error: internal-error at app://actual/static/js/index.T3cUsglE.js:58:98728 at async app://actual/static/js/index.T3cUsglE.js:26:19839 at async u (app://actual/static/js/index.T3cUsglE.js:381:62813)" } ```
Author
Owner

@MikesGlitch commented on GitHub (Sep 9, 2025):

Ah that's interesting. This doesn't look like an electron issue. Are you using an external server like pikapods by chance?

I think the problem is because your electron app is not up to date with your server - if you use them both together the versions need to be aligned. This is hassle, which is why we don't recommend users use the Electron app with an external server.

For users with external servers, we have the PWA, which has similar functionality to electron- it gives the desktop app experience but ensures your up to date with the server at all times. You can install that via the browser - guide

If you absolutely need to use the server with electron, the problem should go away if you install the latest version https://github.com/actualbudget/actual/releases

@MikesGlitch commented on GitHub (Sep 9, 2025): Ah that's interesting. This doesn't look like an electron issue. Are you using an external server like pikapods by chance? I think the problem is because your electron app is not up to date with your server - if you use them both together the versions need to be aligned. This is hassle, which is why we don't recommend users use the Electron app with an external server. For users with external servers, we have the PWA, which has similar functionality to electron- it gives the desktop app experience but ensures your up to date with the server at all times. You can install that via the browser - [guide](https://pwa-store-7x5.pages.dev/store/how/en/) If you absolutely need to use the server with electron, the problem should go away if you install the latest version https://github.com/actualbudget/actual/releases
Author
Owner

@MikesGlitch commented on GitHub (Sep 11, 2025):

@openSourcerer9000 Are you still having the issue after updating?

@MikesGlitch commented on GitHub (Sep 11, 2025): @openSourcerer9000 Are you still having the issue after updating?
Author
Owner

@openSourcerer9000 commented on GitHub (Sep 11, 2025):

Either in the release last week or the latest Mac update, it did get fixed thanks!

@openSourcerer9000 commented on GitHub (Sep 11, 2025): Either in the release last week or the latest Mac update, it did get fixed thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#2460