Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 07-09-2013, 04:30 AM   #1
alisaeed101
Junior Member
alisaeed101 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jul 2013
Device: calibre
Post using python 2.7 instead of 2.6 for running calibre

I have two installation of python 2.6 and 2.7. The system bydefault return 2.6. How can i make calibre to use 2.7 instead of 2.6. Please help me with the following error:

[user]# ebook-convert Invoice_Template.pdf test.epub
1% Converting input to HTML...
InputFormatPlugin: PDF Input running
on /var/tmp/testCalibreFiles/Invoice_Template.pdf
Parsing all content...
Generating default TOC from spine...
34% Running transforms on ebook...
Merging user specified metadata...
Detecting structure...
Auto generated TOC with 0 entries.
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Removing fake margins...
Cleaning up manifest...
Trimming unused files from manifest...
Creating EPUB Output...
67% Running EPUB Output plugin
Traceback (most recent call last):
File "site.py", line 58, in main
File "site-packages/calibre/ebooks/conversion/cli.py", line 331, in main
File "site-packages/calibre/ebooks/conversion/plumber.py", line 1177, in run
File "site-packages/calibre/ebooks/conversion/plugins/epub_output.py", line 179, in convert
File "site-packages/calibre/ebooks/oeb/transforms/rescale.py", line 17, in __call__
File "site-packages/calibre/ebooks/oeb/transforms/rescale.py", line 20, in rescale
File "site-packages/calibre/utils/magick/__init__.py", line 15, in <module>
RuntimeError: Failed to load ImageMagick: libXdmcp.so.6: cannot open shared object file: No such file or directory
alisaeed101 is offline   Reply With Quote
Old 07-09-2013, 04:32 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,198
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
calibre comes with its own python, it doesn't sue the systemv ersion. And that error is pretty lcear, your system is missing libXdmcp.so.6
kovidgoyal is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Touch Python/Pygame successfully running on Kobo Touch KevinShort Kobo Developer's Corner 18 10-24-2012 03:08 PM
Running recipe error: Python function terminated unexpectedly (Error Code: 1) jpassarella Recipes 0 10-05-2012 12:54 PM
Running python recipes standonlone on hosted webserver oecherprinte Calibre 6 08-03-2011 04:30 PM
The Idiot's Guide to running Igorsk's Python Scripts Nate the great Workshop 9 05-22-2010 12:17 PM
Python 2.5 and Calibre FizzyWater Calibre 1 03-27-2009 02:15 AM


All times are GMT -4. The time now is 08:52 AM.


MobileRead.com is a privately owned, operated and funded community.