|  04-29-2014, 12:53 AM | #1 | 
| Zealot            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' | 
|   |   | 
|  04-29-2014, 01:44 AM | #2 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | |
|   |   | 
| Advert | |
|  | 
|  04-29-2014, 01:57 AM | #3 | 
| Zealot            Posts: 114 Karma: 5246 Join Date: Jul 2010 Device: none | 
			
			Excellent. Thanks.
		 | 
|   |   | 
|  | 
| 
 | 
|  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 |