Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 01-30-2011, 09:05 AM   #1
mala88
Junior Member
mala88 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jan 2011
Device: mala88
ebook-convert segfault

Hi,

I'm getting a segfault when I try to run ebook-convert using cron, however, the same command works fine from the command line. I'm running Ubuntu 10.04 and this error started after I upgraded to the latest version of Calibre.

Any suggestions on how to fix this? Why would it work from the command line but not from cron?

Crontab entry:
ebook-convert /home/user/recipes/ars_technica.recipe /home/user/ebooks/ars.mobi

Error in var/log/messages:
kernel: [240510.690619] ebook-convert[17469]: segfault at 4 ip 00793a7d sp bfbec1d0 error 4 in libpython2.7.so.1.0[728000+134000]

Thanks in advance for any help.
mala88 is offline   Reply With Quote
Old 01-30-2011, 10:38 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: 43,839
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
When you run something from cron always use a full path to the executable and make sure the environment variables are the same.
kovidgoyal is offline   Reply With Quote
Advert
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to batch-convert with ebook-convert? cypresstwist Conversion 8 02-22-2011 09:28 AM
Command Line problems: ebook-convert, ebook-meta with tags: --series, --series-index omnivorous Calibre 4 11-07-2010 02:42 PM
Calibre 0.6.40 source - segfault after successful build on Linux Megatron-UK Calibre 7 02-20-2010 04:29 AM
SegFault in 0.6.16 when trying to convert ikarus9999 Calibre 1 10-03-2009 06:02 PM
Recipe causes segfault: Ubuntu Intrepid, Calibre 0.6.14 rogue_ronin Calibre 1 10-02-2009 12:35 AM


All times are GMT -4. The time now is 05:21 PM.


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