TypeError when deleting all saved searches

Bug #804383 reported by quisvir on 2011-07-01
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Charles Haley

Bug Description

Calibre version: 0.8.7
OS: Win7 x64

Steps to reproduce:
1. Open the tag editor
2. Expand Searches, then click three times on a saved search.
3. Right click 'Searches', then click 'Manage Saved Searches'
4. Delete all Saved Searches, one by one
5. Click OK

Resulting error:

calibre, version 0.8.7
ERROR: Unhandled exception: <b>TypeError</b>:QTreeView.expand(QModelIndex): argument 1 has unexpected type 'NoneType'

Traceback (most recent call last):
  File "site-packages\calibre\gui2\search_box.py", line 488, in do_saved_search_edit
  File "site-packages\calibre\gui2\search_box.py", line 491, in do_rebuild_saved_searches
  File "site-packages\calibre\gui2\search_box.py", line 478, in saved_searches_changed
  File "site-packages\calibre\gui2\tag_view.py", line 560, in recount
TypeError: QTreeView.expand(QModelIndex): argument 1 has unexpected type 'NoneType'

Related branches

Changing the component for this bug.

 assignee cbhaley
 status triaged

Changed in calibre:
assignee: nobody → Charles Haley (cbhaley)
status: New → Triaged
Charles Haley (cbhaley) on 2011-07-01
Changed in calibre:
status: Triaged → Fix Committed

Fixed in branch lp:calibre. The fix will be in the next release. calibre is usually released every Friday.

 status fixreleased

Changed in calibre:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers