bingryan/obsidian-ibook-plugin

Why won't a certain book import?

Closed this issue ยท 8 comments

Hello,
I was able to import four books to my Obsidian vault, lovely. Canceling Readwise in 4... 3... 2...
However on the fifth book, it just seemed to silently fail.
There are many highlights in the book, and it's the same format as the others, which is epub, but it just doesn't show up in the target folder.
How can I troubleshoot this please?
Thanks for any guidance

Can you search for your book through export-single-book-by-search

delelte ibook dir, and try again.

you can open view-> Toggle Developer Tools, Check to see if there are five records like:

$ echo "
		SELECT 
			DISTINCT ZASSETID
		FROM ZBKLIBRARYASSET
	" | sqlite3  xxxxxxx

Can you search for your book through export-single-book-by-search

Yes and that is in fact how I'm doing this... is there a bulk import?

delelte ibook dir, and try again.

I did this and it had no apparent effect.

you can open view-> Toggle Developer Tools, Check to see if there are five records like:

$ echo "
		SELECT 
			DISTINCT ZASSETID
		FROM ZBKLIBRARYASSET
	" | sqlite3  xxxxxxx

There are not those records, but there is this when I try to import the book. It is indeed a lengthy book, is it hitting a word/character limit?
2023-05-13 17 46 42 CleanShot Obsidian

Can you search for your book through export-single-book-by-search

Yes and that is in fact how I'm doing this... is there a bulk import?

https://github.com/bingryan/obsidian-ibook-plugin#export-all

delelte ibook dir, and try again.

I did this and it had no apparent effect.

you can open view-> Toggle Developer Tools, Check to see if there are five records like:

$ echo "
		SELECT 
			DISTINCT ZASSETID
		FROM ZBKLIBRARYASSET
	" | sqlite3  xxxxxxx

There are not those records, but there is this when I try to import the book. It is indeed a lengthy book, is it hitting a word/character limit? 2023-05-13 17 46 42 CleanShot Obsidian

default 200KB, For your issue, I should increase the buffer :)

Confirmed fixed! Thank you. I'll check into the mass export soon.
I have an existing spreadsheet which I exported to CSV.
I want to combine my notes with the ibooks import somehow... that's my next project.
Thanks!