mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #7685 (Fetch News broken on v0.7.30. Images and photos don't show on e-reader.)
This commit is contained in:
parent
128522a946
commit
477dc90089
@ -21,7 +21,7 @@ This is where all dependencies will be installed.
|
|||||||
|
|
||||||
Add C:\Python27\Scripts and C:\Python27 to PATH
|
Add C:\Python27\Scripts and C:\Python27 to PATH
|
||||||
|
|
||||||
Edit mimetypes.py in C:\Python27\Lib and change line 250 UnicodeEncodeError to ValueError
|
Edit mimetypes.py in C:\Python27\Lib and change line 250 UnicodeEncodeError to ValueError and set _winreg = None to prevent reading of mimetypes from the windows registry
|
||||||
|
|
||||||
Install setuptools from http://pypi.python.org/pypi/setuptools
|
Install setuptools from http://pypi.python.org/pypi/setuptools
|
||||||
If there are no windows binaries already compiled for the version of python you are using then download the source and run the following command in the folder where the source has been unpacked::
|
If there are no windows binaries already compiled for the version of python you are using then download the source and run the following command in the folder where the source has been unpacked::
|
||||||
@ -70,7 +70,11 @@ Compiling instructions::
|
|||||||
Python Imaging Library
|
Python Imaging Library
|
||||||
------------------------
|
------------------------
|
||||||
|
|
||||||
Install as normal using provided installer.
|
Install as normal using installer at http://www.lfd.uci.edu/~gohlke/pythonlibs/
|
||||||
|
|
||||||
|
Test it on the target system with
|
||||||
|
|
||||||
|
calibre-debug -c "import _imaging, _imagingmath, _imagingft, _imagingcms"
|
||||||
|
|
||||||
Libunrar
|
Libunrar
|
||||||
----------
|
----------
|
||||||
|
@ -48,6 +48,13 @@ mimetypes.add_type('application/x-cbz', '.cbz')
|
|||||||
mimetypes.add_type('application/x-cbr', '.cbr')
|
mimetypes.add_type('application/x-cbr', '.cbr')
|
||||||
mimetypes.add_type('application/x-koboreader-ebook', '.kobo')
|
mimetypes.add_type('application/x-koboreader-ebook', '.kobo')
|
||||||
mimetypes.add_type('image/wmf', '.wmf')
|
mimetypes.add_type('image/wmf', '.wmf')
|
||||||
|
mimetypes.add_type('image/jpeg', '.jpg')
|
||||||
|
mimetypes.add_type('image/jpeg', '.jpeg')
|
||||||
|
mimetypes.add_type('image/png', '.png')
|
||||||
|
mimetypes.add_type('image/gif', '.gif')
|
||||||
|
mimetypes.add_type('image/bmp', '.bmp')
|
||||||
|
mimetypes.add_type('image/svg+xml', '.svg')
|
||||||
|
|
||||||
guess_type = mimetypes.guess_type
|
guess_type = mimetypes.guess_type
|
||||||
import cssutils
|
import cssutils
|
||||||
cssutils.log.setLevel(logging.WARN)
|
cssutils.log.setLevel(logging.WARN)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user