obsidian-importer icon indicating copy to clipboard operation
obsidian-importer copied to clipboard

Notes are skipped on import due to attachment name duplicates

Open ilium007 opened this issue 1 year ago • 4 comments

This has been mentioned before in https://github.com/obsidianmd/obsidian-importer/issues/229 and https://github.com/obsidianmd/obsidian-importer/pull/231

Notes are skipped on import due to attachment name duplication (this is a subset of thousands of notes I wanted to migrate):

image

On some notes that have been imported images have been swapped out with other images because filenames in attachments from Bear are the same.

ilium007 avatar Sep 08 '24 14:09 ilium007

Another report here: https://github.com/obsidianmd/obsidian-importer/issues/181

This is a deal breaker for moving to Obsidian and looks like its been reported, and closed, multiple times now.

ilium007 avatar Sep 08 '24 14:09 ilium007

Seems to have been closed multiple times as duplicates. There's an active PR that has been reviewed but the author has since disappeared. Let me see if we can make some more progress on it.

Here's the active PR: https://github.com/obsidianmd/obsidian-importer/pull/231

lishid avatar Sep 10 '24 17:09 lishid

Still very much a problem with 1.6.5 importing from OneNote

jspv avatar Sep 29 '24 14:09 jspv

Thanks for reporting this. Looks like the fix we put in was specific to the Bear format. I'll look into a more generic fix.

tgrosinger avatar Oct 02 '24 17:10 tgrosinger

@jspv, would you mind testing if this update fixes the OneNote importer duplicate attachment names issue for you?

  1. Download this zip: main.zip
  2. Unzip the file.
  3. Open your Obsidian vault, replace /.obsidian/plugins/obsidian-importer/main.js with this file.
  4. Close and reopen Obsidian.

tgrosinger avatar Oct 07 '24 20:10 tgrosinger

This should be resolved in 1.6.8. Please let us know if it is not.

tgrosinger avatar Oct 08 '24 20:10 tgrosinger