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

Error on line 311 #14

Open
turkeyphant opened this issue Apr 26, 2019 · 3 comments
Open

Error on line 311 #14

turkeyphant opened this issue Apr 26, 2019 · 3 comments

Comments

@turkeyphant
Copy link

turkeyphant commented Apr 26, 2019

Keep getting this error. I suspect it's not escaping a file name properly or something but as there's no verbose mode, I can't see which files are causing it issues.

edit: found the verbose mode at bottom of README.md (derp), for some reason couldn't see it in --help or the source.

@turkeyphant
Copy link
Author

This is an example.

[./2 B R 0 2 B.Kurt Vonnegut.epub]      Testing './2 B R 0 2 B.Kurt Vonnegut.epub' for corruption...
[./2 B R 0 2 B.Kurt Vonnegut.epub]      The file has a '.epub' extension, testing with 7z...
[./2 B R 0 2 B.Kurt Vonnegut.epub]      File passed the corruption test, looking for ISBNs...
[./2 B R 0 2 B.Kurt Vonnegut.epub]      Searching file './2 B R 0 2 B.Kurt Vonnegut.epub' for ISBN numbers...
[./2 B R 0 2 B.Kurt Vonnegut.epub]      Ebook MIME type: application/epub+zip
[./2 B R 0 2 B.Kurt Vonnegut.epub]      This application failed to start because it could not find or load the Qt platform plugin "headless"
[./2 B R 0 2 B.Kurt Vonnegut.epub]      in "/usr/lib/calibre/calibre/plugins".
[./2 B R 0 2 B.Kurt Vonnegut.epub]
[./2 B R 0 2 B.Kurt Vonnegut.epub]      Reinstalling the application may fix this problem.
[./2 B R 0 2 B.Kurt Vonnegut.epub]      ERROR on line 569 /ebook-tools/lib.sh!
[./2 B R 0 2 B.Kurt Vonnegut.epub]      ERROR on line 569 /ebook-tools/lib.sh!
[./2 B R 0 2 B.Kurt Vonnegut.epub]      ERROR on line 296 /ebook-tools/organize-ebooks.sh!
ERROR on line 311 /ebook-tools/organize-ebooks.sh!

@di-dc
Copy link
Contributor

di-dc commented Apr 27, 2019

I'm really not sure if this will help, but figured I'd throw it out there -- I've seen similar looking errors in the past when it couldn't download the Goodreads plugin. I submitted a pull request with an updated URL+hash in the Dockerfile, but it's not merged in yet.

The commit is here:
5f51875

The new link is: https://www.mobileread.com/forums/attachment.php?attachmentid=168584
The new hash is: 04cc13ed59a698532b3565eb2dcda4a388744d5af9c7065a13c2a323a9fa1f9a

@DarthDobber
Copy link

I was receiving the exact same error message. Turns out it was a permission error. I ran the script again as sudo and all was well.

Hope this helps you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants