TypeError when deleting all saved searches

Bug #804383 reported by quisvir
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Fix Released
Undecided
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

Revision history for this message
Kovid Goyal (kovid) wrote : Re: calibre bug 804383

Changing the component for this bug.

 assignee cbhaley
 status triaged

Changed in calibre:
assignee: nobody → Charles Haley (cbhaley)
status: New → Triaged
Charles Haley (cbhaley)
Changed in calibre:
status: Triaged → Fix Committed
Revision history for this message
Kovid Goyal (kovid) wrote : Fixed in lp:calibre

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.