07-14-2012, 10:13 AM | #1 |
Member
Posts: 21
Karma: 10
Join Date: Dec 2011
Device: Kindle
|
0.8.60 Edit metadata error
Trying to edit the initially blank author metadata on a pdf, I get a error with each character I type.
calibre, version 0.8.60 ERROR: Unhandled exception: <b>AttributeError</b>:'icu.Collator' object has no attribute 'startswith' Traceback (most recent call last): File "/Users/pbw/Documents/DocumentProcessing/calibre/src/calibre/gui2/complete2.py", line 285, in text_edited self.update_completions() File "/Users/pbw/Documents/DocumentProcessing/calibre/src/calibre/gui2/complete2.py", line 299, in update_completions self.mcompleter.set_completion_prefix(complete_pre fix) File "/Users/pbw/Documents/DocumentProcessing/calibre/src/calibre/gui2/complete2.py", line 104, in set_completion_prefix self.model().set_completion_prefix(prefix) File "/Users/pbw/Documents/DocumentProcessing/calibre/src/calibre/gui2/complete2.py", line 45, in set_completion_prefix self.current_items = tuple(x for x in universe if primary_startswith(x, File "/Users/pbw/Documents/DocumentProcessing/calibre/src/calibre/gui2/complete2.py", line 46, in <genexpr> prefix)) File "/Users/pbw/Documents/DocumentProcessing/calibre/src/calibre/utils/icu.py", line 206, in primary_startswith return icu_startswith(primary_collator(), a, b) File "/Users/pbw/Documents/DocumentProcessing/calibre/src/calibre/utils/icu.py", line 92, in icu_startswith return collator.startswith(a, b) AttributeError: 'icu.Collator' object has no attribute 'startswith' |
07-14-2012, 10:52 AM | #2 |
Calibre Plugins Developer
Posts: 4,636
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
Are you running from source? You have to install the new binary.
|
Advert | |
|
07-20-2012, 01:44 AM | #3 |
Member
Posts: 21
Karma: 10
Join Date: Dec 2011
Device: Kindle
|
Thanks, kiwidude. That did the trick. I've been caught once before like that. The moral of the story is: always upgrade both the source and the binary.
|
07-20-2012, 01:56 AM | #4 |
creator of calibre
Posts: 43,839
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
It doesn't have to be always, but its a good idea to do it once in a while, especially if you get an error.
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Edit metadata on K3? | niceboy | Amazon Kindle | 8 | 07-03-2011 05:34 PM |
Bulk metada edit error trying to edit tags | Purple Lady | Calibre | 8 | 02-17-2011 06:09 PM |
edit metadata | mufc | Recipes | 2 | 01-23-2011 11:25 AM |
Edit metadata? | nprnncbl | enTourage Archive | 2 | 07-01-2010 10:49 AM |
Can I *just* edit metadata? | DrMoze | Calibre | 0 | 10-11-2009 10:07 PM |