mirror of
https://github.com/janeczku/calibre-web
synced 2025-02-07 06:30:06 +00:00
Update FAQ
parent
393afffe29
commit
68c28965aa
8
FAQ.md
8
FAQ.md
@ -1,6 +1,6 @@
|
||||
### What to do with problems during installation with error message Import-Error?
|
||||
### What to do with problems during installation with error message "Import-Error"?
|
||||
|
||||
Python is a very modular programming language, special funcionality can be included to the program by "importing moduls". If one of this modules isn't found you get the error message 'ImportError: No module named xxxx'. This shouldn't be happen, you normally can solve this by installing the missing module with 'pip[3] --target vendor install [module-name]'. Pip3 is normally used if you are using python 3.x if you are still using python 2.x normally pip does the job.
|
||||
Python is a very modular programming language, special funcionality can be included to the program by "importing moduls". If one of this modules isn't found you get the error message 'ImportError: No module named xxxx'. This shouldn't be happen, you normally can solve this by installing the missing module with `pip[3] --target vendor install [module-name]`. Pip3 is normally used if you are using python 3.x if you are still using python 2.x normally pip does the job.
|
||||
|
||||
|
||||
### What do I do if I lose my "Admin" password?
|
||||
@ -51,12 +51,12 @@ If you just organize your epubs with calibre-web, the content of the epub is not
|
||||
If you use the included epub-reader, it is a different story:\
|
||||
Calibre-web unpacks the epub (which are normal zip files) to a folder on the server which is accessible by the browser. Then calibre-web sends the reader page to the browser. The browser starts the epub-reader JavaScript file, which itself starts to build up the webpage you see. During that process, the file contents of the epub file is loaded into the browser. The content is just normal html pages, which can include stylesheet files and JavaScript files. So if there is malicious code included the epub, or links to JavaScript code the browser (if not prevented anyhow) will start to interpret it.
|
||||
|
||||
If you are not sure, you could rename the epub to zip open it and search for js-code and delete it, and afterwards rename t to epub again. Also tools like the [sigil epub editor](https://github.com/Sigil-Ebook/Sigil) could help to dig deeper into the suspicious books.
|
||||
If you are not sure, you could rename the epub to zip open it and search for js-code and delete it, and afterwards rename t to epub again. Also tools like the [Sigil Epub Editor](https://github.com/Sigil-Ebook/Sigil) could help to dig deeper into the suspicious books.
|
||||
|
||||
|
||||
### What to do if cover pictures are not extracted from PDF files:
|
||||
|
||||
Symptom: Calibre-Web logs a message like: "WARNING - Pdf extraction forbidden by Imagemagick policy: not authorized `/tmp/calibre_web/xxxxxxxxxxxxxxxxxx' @ error/constitute.c/ReadImage/412" during upload of PDF files.
|
||||
Symptom: Calibre-Web logs a message like: `WARNING - Pdf extraction forbidden by Imagemagick policy: not authorized `/tmp/calibre_web/xxxxxxxxxxxxxxxxxx' @ error/constitute.c/ReadImage/412` during upload of PDF files.
|
||||
Imagemagick recently changed their security policy, they now deny per default pdf operations, so covers can't extracted anymore, you have to allow it in the policy.xml file of Imagemagick (located in etc/Imagemagick-6) by changing line:
|
||||
`<policy domain="coder" rights="none" pattern="PDF" />`
|
||||
to
|
||||
|
Loading…
x
Reference in New Issue
Block a user