07-05-2013, 01:13 PM | #1 |
Zealot
Posts: 105
Karma: 414068
Join Date: Feb 2013
Device: iPad Pro, Kobo Aura One
|
pdftoppm misbehaving, can't import books
Hi all,
I've noticed that when importing PDFs, sometimes Calibre becomes unresponsive and appears to crash. However, when I check processes, I notice that the problem is actually pdftoppm (which I presume generates cover image from a PDF). It uses tons on RAM/CPU and becomes unstable. After I kill pdftoppm, Calibre (sometimes) remains unresponsive and you have to force quit is as well. So you basically can't import some books because of a pdftoppm bug. Is there anything that can be done? Can I disable pdftoppm? Thanks Using the latest Calibre, Mac version. Last edited by MelBr; 07-05-2013 at 01:51 PM. |
07-05-2013, 02:31 PM | #2 | |
Well trained by Cats
Posts: 29,837
Karma: 54837878
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Yours is the first complaint on this I have seen here, so I don't think 'bug' |
|
Advert | |
|
07-05-2013, 03:14 PM | #3 | |
Zealot
Posts: 105
Karma: 414068
Join Date: Feb 2013
Device: iPad Pro, Kobo Aura One
|
Quote:
I'm importing ONE 2MB PDF book. pdftoppm is using gigs of RAM and never finishes. If that's not a bug I don't know what is. |
|
07-05-2013, 04:54 PM | #4 |
Handy Elephant
Posts: 1,736
Karma: 26785668
Join Date: Dec 2009
Location: Southern Sweden, far out in the quiet woods
Device: Thinkpad E595, Ubuntu Mate, Huawei Mediapad 5, Bouye Likebook Plus
|
Try another book. Could be a bug in the book. Or something in the pdf that pdftoppm doesn't like.
|
07-05-2013, 11:26 PM | #5 |
creator of calibre
Posts: 43,903
Karma: 22666668
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Preferences->Plugins disable the pdf metadata reader plugin.
|
Advert | |
|
07-06-2013, 03:41 PM | #6 |
Zealot
Posts: 105
Karma: 414068
Join Date: Feb 2013
Device: iPad Pro, Kobo Aura One
|
Thank you Kovid! That works.
I've encountered this pdftoppm bug only twice or thrice so far. There seem to be some PDFs that it doesn't like. If you can point me to its maintainer, I'll send them the PDF in question. The PDF opens fine in Acrobat Pro XI and Preview and neither report any issues with it. |
07-06-2013, 11:06 PM | #7 |
creator of calibre
Posts: 43,903
Karma: 22666668
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
It comes from the poppler project: http://poppler.freedesktop.org/
|
12-24-2014, 03:15 AM | #8 |
Young Kindler
Posts: 6
Karma: 10
Join Date: Sep 2010
Device: Amazon Kindle 3
|
pdftoppm runs long for merged pdf
Downloaded the latest 2.13 and encountered this problem though eventually it was down but took several minutes hogging the CPU tightly. It's probably because the pdf is a merged version from several pdfs.
|
08-01-2015, 02:14 PM | #9 | |
Junior Member
Posts: 4
Karma: 10
Join Date: Nov 2011
Device: none
|
Quote:
so when i tried to add some hundreds of books the machine became unresponsively unused; notice that after i closed calibre pdftoppm continue to take 3 GB of RAM + Swap (definitely a thrashing behaviour) and the only way i found to free that RAM Swap memory was to kill that process I'm on a Ubuntu 10.4 LTS (aka lucid lynx) and i have installed the last workable calibre for that OS release (1.48) ; 2.x release of calibre is not working for me because of the new qt lib used from calibre i guess After i tried more times and got the same problem I found a "divide et impera" partially(i am sure the problem arises only from someone pdf the target is to find that problematic pdfs ) workaround : 1. divide the whole block of books in smaller (say 4 or more) more "manageable" sub-blocks and put every sub-block in a directory(folder) 2. do Add from calibre for the 1st sub-block and after finisced(hopefully whithout problems in contrary case rake note of the problematic pdf and put it out of the containing folder) close calibre 3. reopen it and repeat from step 1. Last edited by harrykar; 08-01-2015 at 05:00 PM. Reason: plus |
|
08-01-2015, 02:38 PM | #10 |
Junior Member
Posts: 4
Karma: 10
Join Date: Nov 2011
Device: none
|
i can't find a so called or similar plugin there in calibre 1.48 any other workaround ?
TIA |
08-01-2015, 02:46 PM | #11 | |
Well trained by Cats
Posts: 29,837
Karma: 54837878
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Goto Preferences: (change Calibre Behavior): Plugins: (expand)Metadata Reader PI: Read PDF Metadata (use the button near the bottom to disable) |
|
08-01-2015, 04:04 PM | #12 |
Junior Member
Posts: 4
Karma: 10
Join Date: Nov 2011
Device: none
|
|
08-04-2015, 11:07 AM | #13 |
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Just as a matter of curiosity, why are you still on 10.04?
I can think of all kinds of reasons to not use unsupported and out-of-date OSes, and not many reasons to stick on one. Are you avoiding the horrifically ugly and anti-useful Unity desktop? If so, switch to Cinnamon and Linux Mint! That is what I... would've done, if I hadn't gone all the way to Arch Linux, anyway. Last edited by eschwartz; 08-04-2015 at 04:57 PM. Reason: typo |
08-04-2015, 12:38 PM | #14 | |
Well trained by Cats
Posts: 29,837
Karma: 54837878
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
|
|
08-19-2015, 05:52 AM | #15 | ||
Junior Member
Posts: 4
Karma: 10
Join Date: Nov 2011
Device: none
|
Quote:
lasiness?! not have to do with new things (if that's not required ) from a point of view you're right (so i did till 2010) -- yes the new interface was the reason initially i'm an old guy afterall -- but i decided to follow the principle "KISS and not change it if not broken and if can do your work" i can't pretend others understand that point but can assure you till now i had no problems (OS security updates are not missing) i guess the reason to change is if you want an app you haven't and is extremely difficult to workaround the OS to do it Quote:
Last edited by harrykar; 08-19-2015 at 06:08 AM. |
||
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sigil book view misbehaving? | mariopanz | Sigil | 3 | 03-06-2013 05:34 AM |
Neat solution for a misbehaving reader screen | Tunney | enTourage eDGe | 8 | 12-02-2011 03:07 AM |
Can't import books? | naoki.hime | Library Management | 4 | 10-16-2011 02:20 AM |
Import E-books | renegado369 | Library Management | 1 | 08-20-2011 01:36 AM |
Misbehaving Page Bar | scotty1024 | iRex | 20 | 12-12-2007 08:10 AM |