Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 12-21-2013, 12:38 PM   #1
asllearner
Enthusiast
asllearner began at the beginning.
 
Posts: 31
Karma: 10
Join Date: Aug 2011
Device: none
great, but error setting cover.

This looks like a great feature.

For sh*ts and g*ggl*s I tried to create my own book. I imported a picture and tried to make it the cover and got the following message:

calibre, version 1.16.0
ERROR: Unhandled exception: <b>TypeError</b>:OPF() got an unexpected keyword argument 'type'

calibre 1.16 isfrozen: True is64bit: True
Darwin-10.8.0-i386-64bit Darwin ('64bit', '')
('Darwin', '10.8.0', 'Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386')
Python 2.7.5
OSX: ('10.6.8', ('', '', ''), 'i386')
Traceback (most recent call last):
File "site-packages/calibre/gui2/tweak_book/boss.py", line 123, in mark_requested
File "site-packages/calibre/ebooks/oeb/polish/cover.py", line 78, in mark_as_cover
File "site-packages/calibre/ebooks/oeb/polish/cover.py", line 153, in mark_as_cover_epub
TypeError: OPF() got an unexpected keyword argument 'type'


I was able to get it all sorted out by putting a new cover in in Calibre, polishing the book to get it inserted. But somewhat cumbersome... Maybe there is a better way???
asllearner is offline   Reply With Quote
Old 12-21-2013, 12:41 PM   #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,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That's a bug, causing an error when inserting a cover into a book that previously had no cover, fixed in the next release.
kovidgoyal is offline   Reply With Quote
Advert
Old 12-21-2013, 12:58 PM   #3
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,809
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
There was a new book Learning curve,

But it works on XP.

I created a New Book
I create a new Xhtml file ( could be friendlier and supply the extension:xhtml or CSS,)
I imported an Image (and Trimmed it)
I used the Image Insert Tool to place it on the page
I added a Title (h1) for G & G

Validated
Saved
theducks is offline   Reply With Quote
Old 12-21-2013, 04:37 PM   #4
jasonxin
Junior Member
jasonxin began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Dec 2013
Device: none
The calibre works wonderful in my win7 system, but not that perfect in win8.
And this is what I got when I tried to convert any book.


calibre, version 1.16.0
<b>error</b>123, 'CreateFile', 'The filename, directory name, or volume label syntax is incorrect.')

calibre 1.16 isfrozen: True is64bit: False
Windows-8-6.2.9200 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '8', '6.2.9200')
Python 2.7.5
Windows: ('8', '6.2.9200', '', 'Multiprocessor Free')
Traceback (most recent call last):
File "site-packages\calibre\gui2\convert\single.py", line 278, in accept
File "site-packages\calibre\gui2\convert\metadata.py", line 236, in commit
File "site-packages\calibre\db\legacy.py", line 465, in set_metadata
File "site-packages\calibre\db\cache.py", line 57, in call_func_with_lock
File "site-packages\calibre\db\cache.py", line 1145, in set_metadata
File "site-packages\calibre\db\cache.py", line 1140, in set_field
File "site-packages\calibre\db\cache.py", line 944, in set_field
File "site-packages\calibre\db\backend.py", line 1357, in windows_check_if_files_in_use
File "site-packages\calibre\utils\filenames.py", line 348, in __init__
error: (123, 'CreateFile', 'The filename, directory name, or volume label syntax is incorrect.')
jasonxin is offline   Reply With Quote
Old 12-21-2013, 04:44 PM   #5
jasonxin
Junior Member
jasonxin began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Dec 2013
Device: none
Quote:
Originally Posted by kovidgoyal View Post
That's a bug, causing an error when inserting a cover into a book that previously had no cover, fixed in the next release.
by the way, I think the dictionary would be excellent if it just display pop-up when double-click or select a word.
jasonxin is offline   Reply With Quote
Advert
Old 01-29-2014, 10:38 AM   #6
Maki car
Junior Member
Maki car began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jan 2014
Device: kindle
People,
what can I do with error 123?
I am unable to do anything about the name of thr book or of the author?
Maki car is offline   Reply With Quote
Old 01-29-2014, 11:04 AM   #7
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
Windows PE is not designed to be the primary operating system on a computer, but is instead used as a standalone preinstallation environment, according to MS.
mrmikel is offline   Reply With Quote
Reply

Tags
adding cover


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What setting to use for Calibre not to modify input files? (Like adding a cover) avid01 Calibre 4 06-14-2013 02:53 AM
Newspapers - automatic cover art and author metadata setting on download djjje Calibre 13 02-28-2012 12:21 PM
Great iPad Cover Find! Octochick Apple Devices 27 06-25-2010 03:30 PM
Setting first HTML file Image as Cover? phnord Calibre 2 01-09-2010 03:13 AM
Sell Great PRS-500 Package -Reader, Cradle, Cover ($200) pghmark Flea Market 0 10-19-2008 07:58 PM


All times are GMT -4. The time now is 06:28 PM.


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