View Single Post
Old 01-26-2016, 04:57 AM   #1
aceflor
Wizard
aceflor ought to be getting tired of karma fortunes by now.aceflor ought to be getting tired of karma fortunes by now.aceflor ought to be getting tired of karma fortunes by now.aceflor ought to be getting tired of karma fortunes by now.aceflor ought to be getting tired of karma fortunes by now.aceflor ought to be getting tired of karma fortunes by now.aceflor ought to be getting tired of karma fortunes by now.aceflor ought to be getting tired of karma fortunes by now.aceflor ought to be getting tired of karma fortunes by now.aceflor ought to be getting tired of karma fortunes by now.aceflor ought to be getting tired of karma fortunes by now.
 
aceflor's Avatar
 
Posts: 3,472
Karma: 48036360
Join Date: Aug 2009
Location: where the sun lives, or so they say
Device: Pocketbook Era, Pocketbook Inkpad 4, Kobo Libra 2, Kindle Scribe
Problem running Calibre under Windows 10

I have been a very happy Calibre Portable user on a USb stick with a Surface pro for some time now. I have last week upgraded my Surface to Windows 10, Calibre seemed to work without problems until today. This is the message error I get :

Quote:
calibre, version 2.45.0
ERROR: Unhandled exception: <b>TypeError</b>:Not a unicode string

calibre 2.45 Portable 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.9
Windows: ('8', '6.2.9200', '', 'Multiprocessor Free')
Successfully initialized third party plugins: DeDRM && KoboTouchExtended && Count Pages && EpubMerge && Modify ePub && Overdrive Link && Kobo Utilities && EpubSplit && Kindle Collections && Resize Cover && KindleUnpack - The Plugin && Find Duplicates && Overdrive Link
Traceback (most recent call last):
File "site-packages\calibre\gui2\auto_add.py", line 212, in add_to_db
File "site-packages\calibre\gui2\library\models.py", line 336, in add_books
File "site-packages\calibre\db\legacy.py", line 221, in add_books
File "site-packages\calibre\db\cache.py", line 1544, in add_books
File "site-packages\calibre\db\cache.py", line 57, in call_func_with_lock
File "site-packages\calibre\db\cache.py", line 1492, in create_book_entry
File "site-packages\calibre\db\cache.py", line 1477, in has_book
File "<string>", line 5, in lower
TypeError: Not a unicode string
Then, if I try to search for an author, this is what I get :

Quote:
calibre 2.45 Portable 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.9
Windows: ('8', '6.2.9200', '', 'Multiprocessor Free')
Successfully initialized third party plugins: DeDRM && KoboTouchExtended && Count Pages && EpubMerge && Modify ePub && Overdrive Link && Kobo Utilities && EpubSplit && Kindle Collections && Resize Cover && KindleUnpack - The Plugin && Find Duplicates && Overdrive Link
Traceback (most recent call last):
File "site-packages\calibre\gui2\library\views.py", line 1080, in search_proxy
File "site-packages\calibre\gui2\library\models.py", line 450, in search
File "site-packages\calibre\db\view.py", line 269, in search
File "site-packages\calibre\db\view.py", line 304, in search_getting_ids
File "site-packages\calibre\db\cache.py", line 57, in call_func_with_lock
File "site-packages\calibre\db\cache.py", line 967, in search
File "site-packages\calibre\db\search.py", line 853, in __call__
File "site-packages\calibre\db\search.py", line 895, in _do_search
File "site-packages\calibre\db\search.py", line 475, in parse
File "site-packages\calibre\utils\search_query_parser.py", line 327, in parse
File "site-packages\calibre\utils\search_query_parser.py", line 348, in _parse
File "site-packages\calibre\utils\search_query_parser.py", line 356, in evaluate
File "site-packages\calibre\utils\search_query_parser.py", line 399, in evaluate_token
File "site-packages\calibre\utils\search_query_parser.py", line 403, in _get_matches
File "site-packages\calibre\db\search.py", line 682, in get_matches
File "site-packages\calibre\db\search.py", line 53, in _match
TypeError: 'int' object is not iterable
I tried to upgrade calibre portable to 2.49 with the same results. Dito if I try Calibre x64 with my library on the stick.

What should I try next and is this happening because of Windows 10 or because my library somehow got corrupted ?

I'd be grateful for any suggestion.
aceflor is offline   Reply With Quote