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
Bug while trying to use the plugin #62
Comments
Pitty, have forked and update the plugin : https://github.com/clemrdh/obsidian-koreader-sync/ Now it works with page numbers, notes, text, ec... all good 👍 |
Sorry I have no time right now but if you are kind enough to open a PR I'll do my best to approve it |
|
Hey is this ever going to get merged? I seem to be having this same issue. |
Just trying to use the plugin (0.6.1) in win10, with koReader (last version) on D:\ and the Obsidian storage on H:\ .
plugin:obsidian-koreader-plugin:12787 Uncaught (in promise) TypeError: Cannot read property '0' of null
at KOReader.eval (plugin:obsidian-koreader-plugin:12787)
at Generator.next ()
at eval (plugin:obsidian-koreader-plugin:63)
at new Promise ()
at __async (plugin:obsidian-koreader-plugin:47)
at KOReader.createNote (plugin:obsidian-koreader-plugin:12785)
at KOReader.eval (plugin:obsidian-koreader-plugin:12925)
at Generator.next ()
at fulfilled (plugin:obsidian-koreader-plugin:50)
-> Apparently caused by const page = bookmark.text ? parseInt(bookmark.text.match(/\d+/g)[0]) : -1;
-> text.match() is null, so [0] is incorrect.
I don't know if this is due to unaccepted characters in the Book title or other bugs ?
Uncaught (in promise) Error: ENOENT: no such file or directory, mkdir 'H:\Nextcloud\ ...-Christian Arnsperger
Dominique Bourg'
Uncaught (in promise) Error: ENOENT: no such file or directory, open 'H:\Nextcloud\DOCUMENTS\NOTES\OBSIDIAN\04-Other\KoReader_HIghlights(book) Ecologie intégrale_ Pour ...-Christian Arnsperger
Dominique Bourg\on constate que la méthod... - Christian Arnsperger
Dominique Bourg.md'
Uncaught (in promise) Error: ENOENT: no such file or directory, open 'H:\Nextcloud\DOCUMENTS\NOTES\OBSIDIAN\04-Other\KoReader_HIghlights(book) Ecologie intégrale_ Pour ...-Christian Arnsperger
Dominique Bourg\favoriserait une intensif... - Christian Arnsperger
Dominique Bourg.md'
The text was updated successfully, but these errors were encountered: