04-14-2011, 10:56 PM | #1 |
Junior Member
Posts: 8
Karma: 10
Join Date: Mar 2011
Device: Kindle
|
Build Failing
I'm trying to build calibre on Kubuntu Natty so that it won't look crappy, but I'm running into this error:
Code:
File "/home/brendan/Source/calibre/src/calibre/utils/magick/__init__.py", line 15, in <module> raise RuntimeError('Failed to load ImageMagick: '+_merr) RuntimeError: Failed to load ImageMagick: No module named magick |
04-14-2011, 11:17 PM | #2 |
US Navy, Retired
Posts: 9,865
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Moderator Notice
Thread moved, read this sticky before posting in the Development forum. |
04-15-2011, 07:49 AM | #3 | ||
Sigil & calibre developer
Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
Quote:
Quote:
If you're not using the binary install use that as will give you the latest version. The version packaged in Natty is already 10 versions out of date and won't be updated until Natty+1. I would also recommend against building from source see http://calibre-ebook.com/user_manual...nt-environment for running from source using an existing calibre install. You are going to run into quite a few issues with Ubuntu (and it's variants) most people do. It is also not a distribution we provide support for because the vast majority of Linux related issues are Ubuntu doing something stupid. |
||
04-15-2011, 11:06 AM | #4 | |
Junior Member
Posts: 8
Karma: 10
Join Date: Mar 2011
Device: Kindle
|
Quote:
|
|
04-15-2011, 11:18 AM | #5 |
Sigil & calibre developer
Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
Hmm... The error is related to calibre not being able to load the binary ImageMagick plugin. Calibre uses a binary C plugin that uses libmagickwand. The python binding for the plugin is unable to load the plugin.
Use the -h flag to get a list of commands. It appears the C plugin for ImageMagick isnt being built. See if there is a command to build them. Then try install. |
04-15-2011, 11:34 AM | #6 |
Junior Member
Posts: 8
Karma: 10
Join Date: Mar 2011
Device: Kindle
|
Well I got it to work by commenting out the 2 lines that raised the ValueError, and everything seems to be working so far. It runs, and looks pretty; I am able to view books and was able to convert a pdf to mobi. What exactly is ImageMagick used for in calibre so I can test to see if it's working. I assumed it would be used in image converting when converting books to different formats, is that correct?
Also I did get an unrelated warning after the building. Code:
('PoDoFo not found on your system. Various PDF related', ' functionality will not work. Use the PODOFO_INC_DIR and', ' PODOFO_LIB_DIR environment variables.') Edit: Nevermind about podofo, I found it. Last edited by HalfEmptyHero; 04-15-2011 at 11:40 AM. |
04-15-2011, 11:39 AM | #7 |
creator of calibre
Posts: 44,024
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
image magick is used in lots of places. For example, it is used everytime you set a cover for a book in calibre.
|
04-15-2011, 11:45 AM | #8 |
Junior Member
Posts: 8
Karma: 10
Join Date: Mar 2011
Device: Kindle
|
Well since I am able to set covers, and I don't see any error messages (running from terminal), can I assume imagemagick is working properly?
|
04-15-2011, 12:22 PM | #9 |
creator of calibre
Posts: 44,024
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
yes .
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help! Conversion failing... | Zerotoeleven | Conversion | 2 | 04-05-2011 11:24 PM |
V3 failing to charge | sid201 | HanLin eBook | 2 | 03-04-2011 11:00 PM |
Failing UFC Feed | mufc | Recipes | 0 | 02-18-2011 09:38 AM |
Failing to download Slate | shoukyd | Calibre | 2 | 04-02-2010 11:46 PM |
Update 2.3 failing | geekraver | Kindle Developer's Corner | 7 | 11-28-2009 05:40 PM |