| Summary: | [Update request] - calibre as it can't convert a PDF file to MOBI | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Diego Bello <dbello> |
| Component: | RPM Packages | Assignee: | QA Team <qa-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | mageia, martynvidler, olegbosis, rverschelde, sysadmin-bugs |
| Version: | 3 | Keywords: | Triaged, validated_update |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | feedback MGA3-32-ok MGA3-64-ok | ||
| Source RPM: | calibre-0.9.36-1.2.mga3.src.rpm | CVE: | |
| Status comment: | |||
| Attachments: | python eats too much RAM when converting multipage PDF to MOBI | ||
|
Description
Diego Bello
2013-05-20 16:03:41 CEST
Manuel Hiebel
2013-05-22 12:29:43 CEST
Keywords:
(none) =>
Triaged Thanks for the bug report. I will work on an update when 3/cauldron will be back. Status:
NEW =>
ASSIGNED Advisory ==================== This update of calibre adds 'python-cssselect' as a require. Without this require, PDF file conversion to MOBI file can't work (mga #10180). Moreover, this new version of calibre 0.9.36 adds support for a lot of new reader devices (and/or firmware updates) and also fixed a lot of known bugs. Packages ==================== calibre-0.9.36-1.mga3.src.rpm Steps to Reproduce ==================== - Install Mageia 3 - Install calibre from "core/release" - Launch calibre and import a PDF file - Convert the PDF file to MOBI - Check that it won't works - Install calibre from "core/updates_testing" - Restart the convertion and check it works Hardware:
i586 =>
All
Damien Lallement
2013-06-21 16:28:23 CEST
CC:
(none) =>
mageia I could reproduce the bug on mga3 i586, but the update candidate won't start.
Python ImportError:
[akien@remi ~]$ calibre
Traceback (most recent call last):
File "/usr/lib/calibre/calibre/gui2/main.py", line 278, in initialize
self.initialize_db()
File "/usr/lib/calibre/calibre/gui2/main.py", line 259, in initialize_db
self.initialize_db_stage2(db, None)
File "/usr/lib/calibre/calibre/gui2/main.py", line 235, in initialize_db_stage2
self.start_gui(db)
File "/usr/lib/calibre/calibre/gui2/main.py", line 185, in start_gui
main.initialize(self.library_path, db, self.listener, self.actions)
File "/usr/lib/calibre/calibre/gui2/ui.py", line 208, in initialize
MainWindowMixin.__init__(self, db)
File "/usr/lib/calibre/calibre/gui2/layout.py", line 271, in __init__
self.iactions['Fetch News'].init_scheduler(db)
File "/usr/lib/calibre/calibre/gui2/actions/fetch_news.py", line 28, in init_scheduler
from calibre.gui2.dialogs.scheduler import Scheduler
File "/usr/lib/calibre/calibre/gui2/dialogs/scheduler.py", line 20, in <module>
from calibre.web.feeds.recipes.model import RecipeModel
File "/usr/lib/calibre/calibre/web/feeds/recipes/__init__.py", line 9, in <module>
from calibre.web.feeds.jsnews import JavascriptRecipe
File "/usr/lib/calibre/calibre/web/feeds/jsnews.py", line 16, in <module>
from calibre.web.fetch.javascript import fetch_page, AbortFetch, links_from_selectors
File "/usr/lib/calibre/calibre/web/fetch/javascript.py", line 16, in <module>
from calibre.web.jsbrowser.browser import Timeout
File "/usr/lib/calibre/calibre/web/jsbrowser/browser.py", line 13, in <module>
from PyQt4.Qt import (QObject, QNetworkAccessManager, QNetworkDiskCache,
ImportError: cannot import name QNetworkAccessManagerCC:
(none) =>
remi I too had the same problem on MGA3 32. I ran calibre 0.9.26 Produced the same error Upgraded to 0.9.36-1 and Calibre wont launch. CC:
(none) =>
martynvidler I had the same problem to start calibre 0.9.36-1 on x86_64 and I managed to make it run after some experiments. I've just installed python-qt4-help package and calibre began to start normally. Removing python-qt4-help breaks calibre again so it seems like this package has to be added to calibre dependencies. CC:
(none) =>
olegbosis Thanks all for your tests. Please test calibre-0.9.36-1.1.mga3 Source RPM:
calibre-0.9.36-1.mga3.src.rpm =>
calibre-0.9.36-1.1.mga3.src.rpm Please test calibre-0.9.36-1.2.mga3 as I removed modifications (on specfile) not wanted/asked for this bug. Source RPM:
calibre-0.9.36-1.1.mga3.src.rpm =>
calibre-0.9.36-1.2.mga3.src.rpm Created attachment 4155 [details]
python eats too much RAM when converting multipage PDF to MOBI
Hmm... Honestly I've never used calibre to convert books from one format to another as my PocketBook can read any format I have. But simple testing to convert 912-page book from PDF to MOBI on my laptop with mobile Core i5 CPU and 6 GiB of RAM showed that python eats more that 4 GiB of RAM, system began to swap like hell and the process takes ages. See screenshot attached (sorry for russian GUI).
MGA3 32 & 64 Installed calibre-0.9.36-1.2.mga3 on both arch's No errors Converted 1 page PDF to MOBI urpme calibre No errors Whiteboard:
feedback =>
feedback MGA3-32-ok MGA3-64-ok (In reply to Oleg Bosis from comment #8) > Created attachment 4155 [details] > python eats too much RAM when converting multipage PDF to MOBI > > Hmm... Honestly I've never used calibre to convert books from one format to > another as my PocketBook can read any format I have. But simple testing to > convert 912-page book from PDF to MOBI on my laptop with mobile Core i5 CPU > and 6 GiB of RAM showed that python eats more that 4 GiB of RAM, system > began to swap like hell and the process takes ages. See screenshot attached > (sorry for russian GUI). Strange to take so many RAM but I think it's not related to this update request and that we can let this a side for now. Perhaps you can report it upstream no? Validating Can sysadmin please push calibre-0.9.36-1.2.mga3 from core/updates_testing to core/updates Thank you Keywords:
(none) =>
validated_update Advisory uploaded http://advisories.mageia.org/MGAA-2013-0037.html Status:
ASSIGNED =>
RESOLVED
Nicolas Vigier
2014-05-08 18:05:38 CEST
CC:
boklm =>
(none) |