Open Archie-2021 opened 5 months ago
I don't know what I can do for linux, I have no way to debug on it. Maybe I will do something, after I know more about linux, or someone else is willing to help me.
I don't know what I can do for linux, I have no way to debug on it. Maybe I will do something, after I know more about linux, or someone else is willing to help me.
I guess it is the issue, but I am not sure as I don't know what method your plugin uses to convert the notes. It seems like it can find the file and do a lot of conversion. I mean it should not be a necessity for a plugin developer to deal with this, because Obsidian/Electron is cross platform and don't depend on an specific OS
Anyway, I wanted to confirm first that this is indeed a platform difference. Please upload the corresponding .epub file so that I can test it on windows.
Anyway, I wanted to confirm first that this is indeed a platform difference. Please upload the corresponding .epub file so that I can test it on windows.
Sure , here is the link: https://file.io/6VUvdoDI4BTo
I have the same issue on Linux with 104 different books
Hey, so I did some debugging (rather just inserted som breakpoints) and it tries to stat a file that has a filename made from both the exec path and the actual vault path ... see screenshot ... hope this helps
After this it tries to read several files from a tmp folder in the exec path that is where obsidian was started from, these paths looks right
'/home/olterman/bin/tmp/b2fa5dcf6e4d9aec2a37188ecd2ef71d/OPS/s005-Chapter-002.xhtml'
and I am guessing this is where the actual content would have been temporarily stored ... only it doesnt exist. no tempfiles have been created
After this it tries to stat the image folder whit the same weird double path: /home/olterman/bin/home/olterman/Documents......
and the it complains that { "errno": -20, "code": "ENOTDIR", "syscall": "scandir", "path": "/home/olterman/Documents/Obsdidian/test-vault/.obsidian/workspace.json" }
is not a directory many times ....
@olterman Can I see your settings for this plugin?
sure
I just tested this plugin on a empty (test/sandbox) vault and it created moc and notes very good, but on both of two my tests all the notes it creates are empty. and in console it just says it imported the book successfully.
I am using Linux, maybe that is an issue.
Have been looking to see such a plugin for such a plugin for a long time. I used to convert books manually using pandoc, and it was such a pain (so much that I gave up). Hope to see it fully functinal soon.