Bug 1126915

Summary: [abrt] findthatword: findthatword.py:674:update:UnboundLocalError: local variable 'success' referenced before assignment
Product: [Fedora] Fedora Reporter: Tim Waugh <twaugh>
Component: findthatwordAssignee: Gwyn Ciesla <gwync>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: gwync
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/d2c15738bfe613f2340ecf182dd308139c656a79
Whiteboard: abrt_hash:1cf3edbaf419c6b7a50d84a7ea1832715f6bc9f6
Fixed In Version: findthatword-0.1-10.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-16 00:25:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description Tim Waugh 2014-08-05 15:10:17 UTC
Description of problem:
Clicked 'Apply' after editing a word.

Version-Release number of selected component:
findthatword-0.1-8.fc20

Additional info:
reporter:       libreport-2.2.3
cmdline:        python /usr/bin/findthatword
executable:     /usr/bin/findthatword
kernel:         3.15.7-200.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            1001

Truncated backtrace:
findthatword.py:674:update:UnboundLocalError: local variable 'success' referenced before assignment

Traceback (most recent call last):
  File "/usr/bin/findthatword", line 952, in on_ApplyButton_clicked
    if not self.edited_word.update(new_word, description):
  File "/usr/lib/python2.7/site-packages/findthatword.py", line 674, in update
    return success
UnboundLocalError: local variable 'success' referenced before assignment

Local variables in innermost frame:
self: <findthatword.Word object at 0x267a750>
sucess: True
new_word: 'cover'
new_clue: ''

Comment 1 Tim Waugh 2014-08-05 15:10:19 UTC
Created attachment 924236 [details]
File: backtrace

Comment 2 Tim Waugh 2014-08-05 15:10:21 UTC
Created attachment 924237 [details]
File: environ

Comment 3 Gwyn Ciesla 2014-08-05 15:49:34 UTC
I can only reproduce this when clicking Apply without making any changes to the word.  Investigating.

Comment 4 Fedora Update System 2014-08-05 17:03:30 UTC
findthatword-0.1-10.el5 has been submitted as an update for Fedora EPEL 5.
https://admin.fedoraproject.org/updates/findthatword-0.1-10.el5

Comment 5 Fedora Update System 2014-08-05 17:03:38 UTC
findthatword-0.1-10.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/findthatword-0.1-10.el6

Comment 6 Fedora Update System 2014-08-05 17:03:47 UTC
findthatword-0.1-10.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/findthatword-0.1-10.fc19

Comment 7 Fedora Update System 2014-08-05 17:03:54 UTC
findthatword-0.1-10.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/findthatword-0.1-10.fc20

Comment 8 Fedora Update System 2014-08-07 11:48:37 UTC
Package findthatword-0.1-10.el6:
* should fix your issue,
* was pushed to the Fedora EPEL 6 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing findthatword-0.1-10.el6'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2014-2133/findthatword-0.1-10.el6
then log in and leave karma (feedback).

Comment 9 Fedora Update System 2014-08-16 00:25:39 UTC
findthatword-0.1-10.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2014-08-16 00:31:46 UTC
findthatword-0.1-10.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2014-08-22 19:16:20 UTC
findthatword-0.1-10.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2014-08-22 19:18:28 UTC
findthatword-0.1-10.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.