Open benbucksch opened 1 month ago
As seen by Elena @raffikastudio :
Error:
{
"id": 174,
"success": false,
"message": "Cannot open database because the directory does not exist",
"backendStack": "TypeError: Cannot open database because the directory does not exist\n at new Database (C:\\Users\\Elena\\AppData\\Local\\Programs\\parula\\resources\\app.asar\\node_modules\\better-sqlite3\\lib\\database.js:65:9)\n at new Database (C:\\Users\\Elena\\AppData\\Local\\Programs\\parula\\resources\\app.asar\\out\\main\\index.js:124716:5)\n at getSQLiteDatabase (C:\\Users\\Elena\\AppData\\Local\\Programs\\parula\\resources\\app.asar\\out\\main\\index.js:136759:10)\n at JPCWebSocket.callListener (C:\\Users\\Elena\\AppData\\Local\\Programs\\parula\\resources\\app.asar\\out\\main\\index.js:35593:18)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async WSCall._incomingMessage (C:\\Users\\Elena\\AppData\\Local\\Programs\\parula\\resources\\app.asar\\out\\main\\index.js:35178:20)\n at async WebSocket.<anonymous> (C:\\Users\\Elena\\AppData\\Local\\Programs\\parula\\resources\\app.asar\\out\\main\\index.js:35272:9)",
"originalCall": {
"id": 174,
"path": "call",
"arg": {
"obj": "17143693227985522688",
"args": [
"backup/mail-backup.db"
]
}
}
}
Stack:
Error
at index-ogBq-r3Y.js:232388:16
at new Promise (<anonymous>)
at WSCall.makeCall (index-ogBq-r3Y.js:232383:12)
at JPCWebSocket.callRemote (index-ogBq-r3Y.js:235016:31)
at index-ogBq-r3Y.js:234386:55
at getDatabase$4 (index-ogBq-r3Y.js:26559:30)
at async SQLSourceEMail.save (index-ogBq-r3Y.js:26572:12)
at async IMAPEMail.save (index-ogBq-r3Y.js:32357:5)
at async index-ogBq-r3Y.js:33819:15
at async IMAPFolder.runCommand (index-ogBq-r3Y.js:33727:14)
backgroundError @ index-ogBq-r3Y.js:25702
(anonymous) @ index-ogBq-r3Y.js:33823
await in (anonymous) (async)
runCommand @ index-ogBq-r3Y.js:33727
await in runCommand (async)
downloadMessages @ index-ogBq-r3Y.js:33797
downloadAllMessages @ index-ogBq-r3Y.js:32697
countChanged @ index-ogBq-r3Y.js:33854
On MacOS:
/Users/username/Library/Mustang/backup
with no files in it/Users/username/Library/Application Support/Mustang
with calendar.db
and other .db
files
Possible causes:
await SQLSourceEMail.save(this);
inEMail.save()
IMAPFolder.downloadMessages()
saves correctly, butIMAPEMail.download()
does not