Comment 3 for bug 1503526

Revision history for this message
JP (jecilop) wrote :

I've just installed the update to 2.41 and tried to run Tag Mapper on the books. I can only get an error.

Whether it is one book (random pick) or all books, the same error appears. Details are below. I haven't done anything differently from before. I just installed the update and tried to run Tag Mapper. I looked through my mapping to see if I put any stray notations in tags, but I do not see anything that would apply (that I know of). Again, same stuff as before the 2.40 update that suddenly mapped the comma as a semi-colon.

TypeError:Not a unicode string.
DETAILS:
calibre, version 2.41.0
ERROR: Unhandled exception: <b>TypeError</b>:Not a unicode string

calibre 2.41 [64bit] isfrozen: True is64bit: True
Windows-7-6.1.7601-SP1 Windows ('64bit', 'WindowsPE')
('Windows', '7', '6.1.7601')
Python 2.7.9
Windows: ('7', '6.1.7601', 'SP1', 'Multiprocessor Free')
Successfully initialized third party plugins: DeDRM && Favourites Menu && DOC Input && Read MP3 AudioBook metadata && Quick Preferences && EpubSplit && EpubMerge && Fantastic Fiction Adults && Search The Internet && Extract ISBN && User Category && Count Pages && Goodreads && Find Duplicates && Annotations && Quality Check && Hymn Reader && Reading List && Open With && Generate Cover && Modify ePub
Traceback (most recent call last):
  File "site-packages\calibre\gui2\actions\tag_mapper.py", line 28, in start_map
  File "site-packages\calibre\gui2\actions\tag_mapper.py", line 50, in do_map
  File "site-packages\calibre\ebooks\metadata\tag_mapper.py", line 69, in map_tags
  File "site-packages\calibre\ebooks\metadata\tag_mapper.py", line 35, in apply_rules
  File "<string>", line 5, in lower
TypeError: Not a unicode string

On a side note, time to get rid of a bunch of plug-ins I didn't realize I still had installed and never use.