Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 03-23-2011, 11:31 AM   #1
coaver
Member
coaver began at the beginning.
 
coaver's Avatar
 
Posts: 22
Karma: 10
Join Date: Jul 2010
Device: Kindle 3 & Kindle for Android
Key Error: Maximum Cover Size

Hello All, I am getting a weird error when I edit metadata individually. Here is the info:

Any suggestions?????





calibre, version 0.7.50
ERROR: Unhandled exception: <b>KeyError</b>:'maximum_cover_size'

Traceback (most recent call last):
File "site-packages\calibre\gui2\dialogs\metadata_single.py", line 901, in next_triggered
File "site-packages\calibre\gui2\dialogs\metadata_single.py", line 952, in accept
File "site-packages\calibre\library\database2.py", line 967, in set_cover
File "site-packages\calibre\utils\magick\draw.py", line 78, in save_cover_data_to
KeyError: 'maximum_cover_size'
coaver is offline   Reply With Quote
Old 03-23-2011, 11:56 AM   #2
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,800
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by coaver View Post
Hello All, I am getting a weird error when I edit metadata individually. Here is the info:

Any suggestions?????





calibre, version 0.7.50
ERROR: Unhandled exception: <b>KeyError</b>:'maximum_cover_size'

Traceback (most recent call last):
File "site-packages\calibre\gui2\dialogs\metadata_single.py", line 901, in next_triggered
File "site-packages\calibre\gui2\dialogs\metadata_single.py", line 952, in accept
File "site-packages\calibre\library\database2.py", line 967, in set_cover
File "site-packages\calibre\utils\magick\draw.py", line 78, in save_cover_data_to
KeyError: 'maximum_cover_size'
You left a lot out

What O/S (win ver, Linux ver, MAC ver)

Had you set the cover_size tweak? (not mentioning Tweaks is a freebie )

any possible details about the book and/or existing cover.
theducks is offline   Reply With Quote
Advert
Old 03-23-2011, 12:04 PM   #3
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
Are you running from source?

If you are you need to update the calibre install on your system. That key was added a few versions ago. The default tweaks file is read from the binary so when tweaks change you need to update the binary install.
user_none is offline   Reply With Quote
Old 03-23-2011, 12:08 PM   #4
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,857
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You have overridden your default_tweaks.py file. Find and delete that file from your calibre config directory (preferences->misc->open config directory)

Or you are running from source and you need to update the binary
kovidgoyal is online now   Reply With Quote
Old 03-23-2011, 02:41 PM   #5
coaver
Member
coaver began at the beginning.
 
coaver's Avatar
 
Posts: 22
Karma: 10
Join Date: Jul 2010
Device: Kindle 3 & Kindle for Android
Just delete the file and that will fix the error?
coaver is offline   Reply With Quote
Advert
Old 03-23-2011, 03:13 PM   #6
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,857
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
yes .
kovidgoyal is online now   Reply With Quote
Old 03-23-2011, 03:22 PM   #7
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,800
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by coaver View Post
Just delete the file and that will fix the error?
As the boss said: Yes!

Don't panic:
be prepared for quite a bit of additional time to 'rebuild' that part when making the first Catalog
theducks is offline   Reply With Quote
Old 03-23-2011, 04:23 PM   #8
coaver
Member
coaver began at the beginning.
 
coaver's Avatar
 
Posts: 22
Karma: 10
Join Date: Jul 2010
Device: Kindle 3 & Kindle for Android
You guys rock! Thanks for saving my a** once again ! I love Calibre.
coaver is offline   Reply With Quote
Old 03-27-2011, 03:57 PM   #9
coaver
Member
coaver began at the beginning.
 
coaver's Avatar
 
Posts: 22
Karma: 10
Join Date: Jul 2010
Device: Kindle 3 & Kindle for Android
Hmmmmm, I removed the file and restarted Calibre. I also updated to the latest version but I am still getting the cover error.

I am running a PC with Windows 7, 4g ram, latest version of Calibre.

Any other suggestions?
coaver is offline   Reply With Quote
Old 03-27-2011, 09:49 PM   #10
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,857
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Uninstall calibre, do a full search on your computer for the file default_tweaks.py delete any instances of it and then re-install calibre.
kovidgoyal is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get the maximum image size on a DX? Diegan Amazon Kindle 1 08-04-2010 12:05 PM
Maximum file size increase? Jellby Feedback 12 06-06-2009 09:09 PM
Is there a maximum book size? fishman69 Sony Reader 12 12-14-2008 06:40 PM
Maximum Size of SD card ecccoman Sony Reader 13 12-12-2008 11:38 AM
Maximum size SD card discourse Bookeen 9 08-20-2008 09:26 AM


All times are GMT -4. The time now is 01:04 AM.


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