Bug 826886 - zim message: "Looks like you found a bug"
Summary: zim message: "Looks like you found a bug"
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Zim
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Robin Lee
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-31 08:16 UTC by Joachim Backes
Modified: 2012-11-28 11:35 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-11-28 11:35:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1008817 0 None None None 2012-06-05 03:17:14 UTC

Description Joachim Backes 2012-05-31 08:16:42 UTC
Description of problem:
If I call the zim search function (CtrlShiftF), enter "not found" in the search line and press "Find", the I get an error popup:

==============================================================
Looks like you found a bug

AttributeError: 'set' object has no attribute 'scores'

When reporting this bug please include
the information from the text box below
===============================================================

The "text below" is
--------------------------------------------------
This is zim 0.56
Python version is sys.version_info(major=2, minor=7, micro=3, releaselevel='final', serial=0)
Gtk version is (2, 24, 10)
Pygtk version is (2, 24, 0)
Platform is posix
Zim revision is:
  branch: pyzim-trunk
  revision: 533 jaap.karssenberg
  date: 2012-04-02 22:07:22 +0200

======= Traceback =======
  File "/usr/lib/python2.7/site-packages/zim/gui/searchdialog.py", line 94, in _search
    self.results_treeview.search(string)
  File "/usr/lib/python2.7/site-packages/zim/gui/searchdialog.py", line 179, in search
    self.selection.search(self.query, callback=self._search_callback)
  File "/usr/lib/python2.7/site-packages/zim/search.py", line 249, in search
    self.update(self._process_group(query.root, selection, callback))
  File "/usr/lib/python2.7/site-packages/zim/search.py", line 340, in _process_group
    cont = callback(results, None)
  File "/usr/lib/python2.7/site-packages/zim/gui/searchdialog.py", line 186, in _search_callback
    self._update_results(results)
  File "/usr/lib/python2.7/site-packages/zim/gui/searchdialog.py", line 215, in _update_results
    score = results.scores.get(path, 0)
AttributeError: 'set' object has no attribute 'score
-----------------------------------------------------------------------

Version-Release number of selected component (if applicable):
Zim-0.56-1.fc17.noarch

How reproducible:
always

Steps to Reproduce:
1.See description
2.
3.
  
Actual results:
See description

Expected results:
No such error msg

Additional info:

Comment 1 Fedora Update System 2012-10-09 02:55:58 UTC
Zim-0.57-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/Zim-0.57-1.fc17

Comment 2 Fedora Update System 2012-10-10 00:31:27 UTC
Package Zim-0.57-1.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing Zim-0.57-1.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-15751/Zim-0.57-1.fc17
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2012-11-19 06:05:14 UTC
Zim-0.57-2.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/Zim-0.57-2.fc17

Comment 4 Fedora Update System 2012-11-28 11:35:27 UTC
Zim-0.57-2.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.