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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 04-29-2014, 12:53 AM   #1
Ahmad Samir
Zealot
Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!
 
Posts: 114
Karma: 5246
Join Date: Jul 2010
Device: none
ebook-edit fails to merge css files

Hello. I was trying to merge some css files in an EPUB, but the operation failed, the backtrace follows:
Code:
Traceback (most recent call last):
  File "/usr/lib64/calibre/calibre/gui2/tweak_book/boss.py", line 67, in ans
    return func(*args, **kwargs)
  File "/usr/lib64/calibre/calibre/gui2/tweak_book/boss.py", line 951, in merge_requested
    merge(current_container(), category, names, master)
  File "/usr/lib64/calibre/calibre/ebooks/oeb/polish/split.py", line 459, in merge
    merge_css(container, names, master)
  File "/usr/lib64/calibre/calibre/ebooks/oeb/polish/split.py", line 421, in merge_css
    [sheet.remove(r) for r in cr]
AttributeError: 'CSSStyleSheet' object has no attribute 'remove'
The same issue happens when using ebook-edit from the calibre-1.34 binary tarball.
Ahmad Samir is offline   Reply With Quote
Old 04-29-2014, 01:44 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,778
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://github.com/kovidgoyal/calibr...0c93dc058380bb
kovidgoyal is offline   Reply With Quote
Advert
Old 04-29-2014, 01:57 AM   #3
Ahmad Samir
Zealot
Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!
 
Posts: 114
Karma: 5246
Join Date: Jul 2010
Device: none
Excellent. Thanks.
Ahmad Samir is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Merge books with Edit Metadata bulk option? Nialls Calibre 1 02-07-2013 11:35 AM
How to merge multiple azw files into one Fabius Workshop 2 10-04-2012 02:26 PM
Merge multiple XHTML files at once gmw Sigil 1 12-28-2010 02:35 AM
How to merge Mobi files? King Mook Mook Kindle Formats 1 12-26-2009 05:07 AM
Is there a way to merge lrf files? Tom Swift Sony Reader 14 09-24-2007 07:13 PM


All times are GMT -4. The time now is 05:54 AM.


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