View Single Post
Old 09-11-2010, 09:40 AM   #1
Manichean
Wizard
Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.
 
Manichean's Avatar
 
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
Search restriction bug when device is plugged in

As of 0.7.18, I keep getting a weird bug when my device is plugged in. I haven't exactly been able to reproduce the bug, but it crops up now and then, seemingly when the library or device view were updated. The error message says:

ERROR: FEHLER: Unbehandelte Ausnahme: <b>TypeError</b>:search() got an unexpected keyword argument 'ignore_search_restriction'

Traceback (most recent call last):
File "site-packages\calibre\gui2\__init__.py", line 296, in dispatch
File "site-packages\calibre\gui2\device.py", line 759, in metadata_downloaded
File "site-packages\calibre\gui2\device.py", line 769, in refresh_ondevice_info
File "site-packages\calibre\gui2\library\views.py", line 205, in set_device_connected
File "site-packages\calibre\gui2\library\models.py", line 124, in set_device_connected
File "site-packages\calibre\gui2\library\models.py", line 271, in refresh
File "site-packages\calibre\library\caches.py", line 552, in refresh
TypeError: search() got an unexpected keyword argument 'ignore_search_restriction'

I have set up two restrictions based on a boolean custom field (searching for value "yes" and "no", respectively), the error occurs whether or not I try to search in the search bar or not.

Is anybody else getting this?

EDIT to add: XP SP3, Calibre 0.7.18 (german translation, should that matter), Cybook Gen3
Manichean is offline   Reply With Quote