-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Apple Notes] All attachments become "**error reading attachment**" after import #148
Comments
@dinghaoz This is because the importer is having trouble reading the data where your attachments are stored. Unfortunately, without more information I can't tell what exactly the cause of this is.
|
Thanks for the reply. Here are the answers:
|
@mirnovov The code: apple-notes.ts:331 const account = row.ZACCOUNT6 || row.ZACCOUNT5;
sourcePath = path.join(
this.resolvedAccounts[account].path,
'Media', row.ZIDENTIFIER, row.ZGENERATION1 || '', row.ZFILENAME
); |
Yeah, I think this is it. Thanks for the help. It’s not to do with the macOS version I think, I’m on Sonoma (and have tested on a bunch of other versions) and everything is under the Accounts folder for me, and this seems to be the case for the vast majority of people on all versions. Worst case scenario if I can’t figure out I can always just have it check both the first time to determine which one to use. |
@mirnovov there may be some useful prior art in Apple Notes Liberator to find the location of the database |
Unfortunately there isn’t, it assumes the files are always in the same folder like this importer currently does. |
This should now be fixed if you update to Importer 1.5.3 |
I am on macOS 14.0 (23A344). Zero attachments are actually imported.
The text was updated successfully, but these errors were encountered: