[Bug 788151] New: ebooks conversions are broken since 0.9.3
https://bugzilla.novell.com/show_bug.cgi?id=788151 https://bugzilla.novell.com/show_bug.cgi?id=788151#c0 Summary: ebooks conversions are broken since 0.9.3 Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: x86-64 OS/Version: openSUSE 12.2 Status: NEW Severity: Major Priority: P5 - None Component: Documentation AssignedTo: ke@suse.com ReportedBy: cedric.devillers@gmail.com QAContact: ke@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20100101 Firefox/16.0 Since version 0.9.3, the ebooks conversion code as changed. The cssselect code in python-lxml was splited to another package upstream (python-cssselect) In order to support CCS3, calibre now use this python-cssselect code; see http://bazaar.launchpad.net/~kovid/calibre/trunk/revision/13483 Currently opensuse 12.2 provide python-lxml 2.7. This version still provide cssselect but it doesn't include the functions now used by calibre. So currently, ebooks conversions doesn't work anymore To avoid upgrading to python-lxml 3.0 + new python-cssselect package for the whole distrib, we can add cssselect as "private" python code for calibre. Like it is already done for some other packages. I've build a package implementing this in my branch of documentation:tool and now ebooks conversions works again for me. This is probably not a very elegant solution, but the only other way would be to freeze calibre in a earlier version... Reproducible: Always Steps to Reproduce: 1. Start calibre 2. Choose an ebook and try to convert to another format (in my case, PDF -> AZW3 or MOBI) 3. Get a error, cannot load module cssselect -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=788151 https://bugzilla.novell.com/show_bug.cgi?id=788151#c1 Karl Eichwalder <ke@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |thomas.schraitle@suse.com InfoProvider| |cedric.devillers@gmail.com --- Comment #1 from Karl Eichwalder <ke@suse.com> 2012-11-05 16:25:59 CET --- Thanks for your efforts. Maybe, we can try to build a proper maintenance update for 12.2. In this case, please branch the involved packages from from openSUSE:12.2: osc branch -M openSUSE:12.2 <package> and send submitrequests against openSUSE:12.2:Update. For Factory (12.3) we would probably need proper package updates against Dokumentation:Tools. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=788151 https://bugzilla.novell.com/show_bug.cgi?id=788151#c2 --- Comment #2 from Cedric Devillers <cedric.devillers@gmail.com> 2012-11-05 16:11:07 UTC --- I didn't saw your comment as i was busy making a submit request against Documentation:tools for calibre. I'm not sure to understand what you propose for 12.2. You want a fix in calibre package only or upgrade to python-lxml 3.0 ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=788151 https://bugzilla.novell.com/show_bug.cgi?id=788151#c3 Karl Eichwalder <ke@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium --- Comment #3 from Karl Eichwalder <ke@suse.com> 2012-11-05 17:27:14 CET --- If we know for sure that python-lxml 3.0 is fully backwards compatible, we can probably also update it for 12.2 (we'd probably need the approval from maintenance@opensuse.org). But for 12.2 it is better to fix it in the calibre package only. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=788151 https://bugzilla.novell.com/show_bug.cgi?id=788151#c4 --- Comment #4 from Cedric Devillers <cedric.devillers@gmail.com> 2012-11-05 16:47:47 UTC --- For what i can see in python-lxml changelog, it is expected that some code must be changed in order to be compatible with version >= 3.0. See http://lxml.de/3.0/changes-3.0.html So yes, it is probably better that 12.2 stay with current version (2.3.x) Also, calibre from 12.2 is not impacted because it is still in version 0.8.x Only calibre from Documentation:Tools is impacted because it was upgraded to >= 0.9.3 My submit request is Request 140228 https://build.opensuse.org/request/show/140228 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=788151 https://bugzilla.novell.com/show_bug.cgi?id=788151#c5 --- Comment #5 from Karl Eichwalder <ke@suse.com> 2012-11-05 18:50:14 CET --- Ok, but for a proper fix, we need python-xml in Factory and if you really want to support calibre 0.9.3 or later on openSUSE 12.2 here, use %if statements in the .spec file. This way we can avoid that the private copy of python-cssselect will appear in Factory. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=788151 https://bugzilla.novell.com/show_bug.cgi?id=788151#c6 --- Comment #6 from Bernhard Wiedemann <bwiedemann@suse.com> 2012-11-05 19:00:09 CET --- This is an autogenerated message for OBS integration: This bug (788151) was mentioned in https://build.opensuse.org/request/show/140242 Factory / calibre -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=788151 https://bugzilla.novell.com/show_bug.cgi?id=788151#c7 --- Comment #7 from Cedric Devillers <cedric.devillers@gmail.com> 2012-11-06 17:13:21 UTC --- Ok i've done a new submit request with conditionals to only include the private copy when building for openSuse 12.2 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=788151 https://bugzilla.novell.com/show_bug.cgi?id=788151#c8 Karl Eichwalder <ke@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED InfoProvider|cedric.devillers@gmail.com | Resolution| |FIXED --- Comment #8 from Karl Eichwalder <ke@suse.com> 2012-11-07 10:48:50 CET --- (In reply to comment #7)
Ok i've done a new submit request with conditionals to only include the private copy when building for openSuse 12.2
Thanks, I accepted and forwarded it to openSUSE:Factory: Request 140368 accepted and forwarded to openSUSE:Factory / calibre (request 140539) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=788151 https://bugzilla.novell.com/show_bug.cgi?id=788151#c9 --- Comment #9 from Bernhard Wiedemann <bwiedemann@suse.com> 2012-11-07 11:00:19 CET --- This is an autogenerated message for OBS integration: This bug (788151) was mentioned in https://build.opensuse.org/request/show/140539 Factory / calibre -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=788151 https://bugzilla.novell.com/show_bug.cgi?id=788151#c10 Catalin Iacob <iacobcatalin@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED CC| |iacobcatalin@gmail.com Component|Documentation |Documentation Version|Final |12.3 Milestone 1 Resolution|FIXED | Product|openSUSE 12.2 |openSUSE Factory Target Milestone|--- |12.3 Milestone 1 --- Comment #10 from Catalin Iacob <iacobcatalin@gmail.com> 2013-01-13 18:03:50 UTC --- Reopening because Calibre is broken in Factory since the workaround to build private cssselect is only for 12.2. In an attempt to properly fix this for 12.3 I packaged python-cssselect as a proper stand alone package and submitted it to devel:languages:python, see https://build.opensuse.org/request/show/148308 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=788151 https://bugzilla.novell.com/show_bug.cgi?id=788151#c Karl Eichwalder <ke@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|ke@suse.com |thomas.schraitle@suse.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=788151 https://bugzilla.novell.com/show_bug.cgi?id=788151#c11 --- Comment #11 from Tomáš Chvátal <tchvatal@suse.com> 2013-01-18 17:02:16 UTC --- This should be fixed in submit request #149126. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=788151 https://bugzilla.novell.com/show_bug.cgi?id=788151#c12 --- Comment #12 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-01-18 19:00:26 CET --- This is an autogenerated message for OBS integration: This bug (788151) was mentioned in https://build.opensuse.org/request/show/149130 Factory / calibre -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=788151 https://bugzilla.novell.com/show_bug.cgi?id=788151#c13 Ancor Gonzalez Sosa <ancor@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ancor@suse.com --- Comment #13 from Ancor Gonzalez Sosa <ancor@suse.com> 2013-09-27 11:21:53 UTC --- According to comments, this should be fixed since January. Since we are cleaning up the bugs database today, do you Catalin agree in closing it again? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=788151 https://bugzilla.novell.com/show_bug.cgi?id=788151#c14 Thomas Schraitle <thomas.schraitle@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO InfoProvider| |iacobcatalin@gmail.com --- Comment #14 from Thomas Schraitle <thomas.schraitle@suse.com> 2013-09-27 11:29:29 UTC --- If everything works as expected, I agree we can close the bug. :) Catalin, do you agree? If so, please close the bug. Thanks to all! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=788151 https://bugzilla.novell.com/show_bug.cgi?id=788151#c15 Catalin Iacob <iacobcatalin@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED InfoProvider|iacobcatalin@gmail.com | Resolution| |FIXED --- Comment #15 from Catalin Iacob <iacobcatalin@gmail.com> 2013-09-27 11:32:53 UTC --- It's fixed indeed. Closing -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com