Skip to content

nt_helper failed to start #140

Description

@spacejam

nt_helper 2.43.18-macos
macos 26.5.2

Error: PathAccessException: Cannot copy file to '/Users/me/Documents/nt_helper/nt_helper_db.sqlite', path = '/Users/me/Documents/nt_helper_db.sqlite' (OS Error: Operation not permitted, errno = 1)

Stack trace:
#0      _File.throwIfError (dart:io/file_impl.dart:779)
#1      _File.copySync (dart:io/file_impl.dart:419)
#2      migrateExistingFiles (package:nt_helper/utils/app_directory.dart:76)
#3      getAppDirectory (package:nt_helper/utils/app_directory.dart:48)
<asynchronous suspension>
#4      DatabaseIntegrityService.getDatabaseFile (package:nt_helper/services/database_integrity_service.dart:25)
<asynchronous suspension>
#5      DatabaseIntegrityService.checkIntegrity (package:nt_helper/services/database_integrity_service.dart:30)
<asynchronous suspension>
#6      StartupLogService.traceAsync (package:nt_helper/services/startup_log_service.dart:90)
<asynchronous suspension>
#7      _bootstrapApp (package:nt_helper/main.dart:234)
<asynchronous suspension>
#8      main.<anonymous closure> (package:nt_helper/main.dart:100)
<asynchronous suspension>

log contents:

[2026-08-01T14:01:25.930241] ============================================================
[2026-08-01T14:01:25.930679] nt_helper Dart startup log attached
[2026-08-01T14:01:25.930869] Log file: /Users/me/.nt_helper/logs/nt_helper_startup.log
[2026-08-01T14:01:25.931154] Platform: macos Version 26.5.2 (Build 25F84)
[2026-08-01T14:01:25.931298] Dart runtime: 3.12.2 (stable) (Tue Jun 9 01:11:39 2026 -0700) on "macos_arm64"
[2026-08-01T14:01:25.931499] Executable: /private/var/folders/vy/qfvzht7s0wx7kzmg7wnm0q0w0000gn/T/AppTranslocation/8A4E3F38-8E3C-4722-A1EA-7B29A795047A/d/nt_helper.app/Contents/MacOS/nt_helper
[2026-08-01T14:01:25.931802] Script: file:///main.dart
[2026-08-01T14:01:25.931972] Current directory: /
[2026-08-01T14:01:25.932131] Arguments:
[2026-08-01T14:01:25.932722] Locale: en_US
[2026-08-01T14:01:25.932879] main() entered
[2026-08-01T14:01:25.933099] Global error handlers installed
[2026-08-01T14:01:25.933211] START WidgetsFlutterBinding.ensureInitialized
[2026-08-01T14:01:25.934241] END WidgetsFlutterBinding.ensureInitialized
[2026-08-01T14:01:25.934418] START WindowController.fromCurrentEngine
[2026-08-01T14:01:25.978871] END WindowController.fromCurrentEngine
[2026-08-01T14:01:25.979094] START windowManager.ensureInitialized
[2026-08-01T14:01:26.073244] END windowManager.ensureInitialized
[2026-08-01T14:01:26.073521] START SharedPreferences.getInstance
[2026-08-01T14:01:26.074066] END SharedPreferences.getInstance
[2026-08-01T14:01:26.074215] START WindowBoundsManager.loadBounds
[2026-08-01T14:01:26.074351] END WindowBoundsManager.loadBounds
[2026-08-01T14:01:26.074485] Saved window bounds: Instance of 'Rect'
[2026-08-01T14:01:26.074622] START WindowBoundsManager.init
[2026-08-01T14:01:26.074717] END WindowBoundsManager.init
[2026-08-01T14:01:26.074809] Initial window size: Instance of 'Size'
[2026-08-01T14:01:26.074951] START windowManager.waitUntilReadyToShow
[2026-08-01T14:01:26.086638] Applying saved window bounds: Instance of 'Rect'
[2026-08-01T14:01:26.086953] END windowManager.waitUntilReadyToShow
[2026-08-01T14:01:26.087148] START DatabaseIntegrityService.checkIntegrity
[2026-08-01T14:01:26.143348] FAILED DatabaseIntegrityService.checkIntegrity: PathAccessException: Cannot copy file to '/Users/me/Documents/nt_helper/nt_helper_db.sqlite', path = '/Users/me/Documents/nt_helper_db.sqlite' (OS Error: Operation not permitted, errno = 1)
[2026-08-01T14:01:26.143692] Stack trace:
#0      _File.throwIfError (dart:io/file_impl.dart:779)
#1      _File.copySync (dart:io/file_impl.dart:419)
#2      migrateExistingFiles (package:nt_helper/utils/app_directory.dart:76)
#3      getAppDirectory (package:nt_helper/utils/app_directory.dart:48)
<asynchronous suspension>
#4      DatabaseIntegrityService.getDatabaseFile (package:nt_helper/services/database_integrity_service.dart:25)
<asynchronous suspension>
#5      DatabaseIntegrityService.checkIntegrity (package:nt_helper/services/database_integrity_service.dart:30)
<asynchronous suspension>
#6      StartupLogService.traceAsync (package:nt_helper/services/startup_log_service.dart:90)
<asynchronous suspension>
#7      _bootstrapApp (package:nt_helper/main.dart:234)
<asynchronous suspension>
#8      main.<anonymous closure> (package:nt_helper/main.dart:100)
<asynchronous suspension>

[2026-08-01T14:01:26.143822] UNCAUGHT startup zone error: PathAccessException: Cannot copy file to '/Users/me/Documents/nt_helper/nt_helper_db.sqlite', path = '/Users/me/Documents/nt_helper_db.sqlite' (OS Error: Operation not permitted, errno = 1)
[2026-08-01T14:01:26.143923] Stack trace:
#0      _File.throwIfError (dart:io/file_impl.dart:779)
#1      _File.copySync (dart:io/file_impl.dart:419)
#2      migrateExistingFiles (package:nt_helper/utils/app_directory.dart:76)
#3      getAppDirectory (package:nt_helper/utils/app_directory.dart:48)
<asynchronous suspension>
#4      DatabaseIntegrityService.getDatabaseFile (package:nt_helper/services/database_integrity_service.dart:25)
<asynchronous suspension>
#5      DatabaseIntegrityService.checkIntegrity (package:nt_helper/services/database_integrity_service.dart:30)
<asynchronous suspension>
#6      StartupLogService.traceAsync (package:nt_helper/services/startup_log_service.dart:90)
<asynchronous suspension>
#7      _bootstrapApp (package:nt_helper/main.dart:234)
<asynchronous suspension>
#8      main.<anonymous closure> (package:nt_helper/main.dart:100)
<asynchronous suspension>

[2026-08-01T14:01:26.144145] UNCAUGHT startup zone error: PathAccessException: Cannot copy file to '/Users/me/Documents/nt_helper/nt_helper_db.sqlite', path = '/Users/me/Documents/nt_helper_db.sqlite' (OS Error: Operation not permitted, errno = 1)
[2026-08-01T14:01:26.144243] Stack trace:
#0      _File.throwIfError (dart:io/file_impl.dart:779)
#1      _File.copySync (dart:io/file_impl.dart:419)
#2      migrateExistingFiles (package:nt_helper/utils/app_directory.dart:76)
#3      getAppDirectory (package:nt_helper/utils/app_directory.dart:48)
<asynchronous suspension>
#4      DatabaseIntegrityService.getDatabaseFile (package:nt_helper/services/database_integrity_service.dart:25)
<asynchronous suspension>
#5      DatabaseIntegrityService.checkIntegrity (package:nt_helper/services/database_integrity_service.dart:30)
<asynchronous suspension>
#6      StartupLogService.traceAsync (package:nt_helper/services/startup_log_service.dart:90)
<asynchronous suspension>
#7      _bootstrapApp (package:nt_helper/main.dart:234)
<asynchronous suspension>
#8      main.<anonymous closure> (package:nt_helper/main.dart:100)
<asynchronous suspension>

[2026-08-01T14:01:26.173792] Desktop window shown for startup failure
[2026-08-01T14:01:26.174020] Desktop window shown for startup failure

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions