Skip to content
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

无法解析特定的epub文件 #47

Closed
chengsuen opened this issue Apr 2, 2024 · 12 comments
Closed

无法解析特定的epub文件 #47

chengsuen opened this issue Apr 2, 2024 · 12 comments
Labels
better parser bug Something isn't working enhancement New feature or request feature bug

Comments

@chengsuen
Copy link

%%please test the bug in a black vault first.
%%if there is something on console, please upload the screenshot.
屏幕截图 2024-04-01 201732

(其实是我这边手头所有的epub都没法解析

@chengsuen chengsuen added better parser bug Something isn't working enhancement New feature or request feature bug labels Apr 2, 2024
@net-frog
Copy link

net-frog commented Apr 2, 2024

I am having the same issue. A test epub is attached.
test.zip

@aoout
Copy link
Owner

aoout commented Apr 4, 2024

@net-frog
What version of the plugin are you using? I didn't find this problem on 0.3.1-beta.1

@aoout
Copy link
Owner

aoout commented Apr 4, 2024

Please upload .epub file.

@net-frog
Copy link

net-frog commented Apr 5, 2024

I have uploaded it in zip, though I am not using beta. How to update it to beta? Obsidian only have 3.0

@aoout
Copy link
Owner

aoout commented Apr 5, 2024

@net-frog
You can get beta through brat.

I just tested on 0.3.0 and everything works equally well.

@net-frog
Copy link

net-frog commented Apr 6, 2024

I have tested with the 0.3.1beta, the epub is imported successfully but all the notes are empty although each note is named as the chapter name in the epub. Also, after deleting the book folder I cannot import the same epub again, it says duplicate folder exists.

@aoout
Copy link
Owner

aoout commented Apr 6, 2024

@net-frog
Sorry, but I can't reproduce your situation.
I retried the import again and everything worked fine and the content displayed normally.

@net-frog
Copy link

net-frog commented Apr 8, 2024

I have tested on 3 different systems it seems there is some underlining bug. If I have base obsidian installer 1.4.13 but have catalyst update to 1.5.12, on one system it works without issue. However, if the base installer is updated to latest 1.5.12 the
following error is thrown. I have also checked with 0.3.1-beta.1 but same result.I suspect that there might be issue with tmp folder Please check with updated installer 1.5.12 but honest with every install I am getting different results.

image

@aoout
Copy link
Owner

aoout commented Apr 13, 2024

@net-frog
I understand, the newer installer brought newer nodejs, and one of the modules I was using had a bug on the newer nodejs, so this all happened.
Reference: ZJONSSON/node-unzipper#286

@aoout
Copy link
Owner

aoout commented Apr 13, 2024

I have replaced it with another module and released version 0.3.1.

@aoout
Copy link
Owner

aoout commented Apr 13, 2024

@chengsuen
请下载0.3.1版本进行尝试

@aoout
Copy link
Owner

aoout commented Apr 21, 2024

I'll close the issue for now. If the bug still exists, please reopen this issue.

@aoout aoout closed this as completed Apr 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
better parser bug Something isn't working enhancement New feature or request feature bug
Projects
None yet
Development

No branches or pull requests

3 participants