Bug 633521
| Summary: | [abrt] griffith-0.10-2.fc14: expression.py:1296:__nonzero__:TypeError: Boolean value of this clause is not defined | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Christian Jann <christian.jann> | ||||
| Component: | griffith | Assignee: | Narasimhan <lakshminaras2002> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 14 | ||||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | abrt_hash:cb283bb8 | ||||||
| Fixed In Version: | griffith-0.12.1-2.fc15 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2011-03-31 20:05:19 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: |
|
||||||
Created an attachment (id=447054) File: backtrace This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This bug #676195 has similar backtrace. Will upgrade griffith to v0.12.1. This is very nice, I've waited since the ownership change for an update because the old version of griffith crashes instantly after startup on Fedora 15. I could reproduce it in Fedora 15 and griffith-0.10-3.fc15
expression.py:1439:__nonzero__:TypeError: Boolean value of this clause is not
defined
Traceback (most recent call last):
File "/usr/share/griffith/lib/griffith", line 266, in save_preferences
save_preferences(self)
File "/usr/share/griffith/lib/preferences.py", line 464, in save_preferences
self.filter_txt(None)
File "/usr/share/griffith/lib/griffith", line 1168, in filter_txt
quick_filter.change_filter(self)
File "/usr/share/griffith/lib/quick_filter.py", line 46, in change_filter
self.populate_treeview(statement)
File "/usr/share/griffith/lib/griffith", line 1013, in populate_treeview
main_treeview.populate(self, statement, where)
File "/usr/share/griffith/lib/main_treeview.py", line 367, in populate
if qf and not movies or isinstance(movies, Select): # if
".execute().fetchall()" not invoked on movies yet
File "/usr/lib64/python2.7/site-packages/sqlalchemy/sql/expression.py", line
1439, in __nonzero__
raise TypeError("Boolean value of this clause is not defined")
TypeError: Boolean value of this clause is not defined
Local variables in innermost frame:
self: <sqlalchemy.sql.expression.Select at 0x20f6bd0; Select object>
After upgrading to v0.12.1, the same use case does not result in a crash
reported in abrt and I don't get the trace in the console.
Fedora 15 update at https://admin.fedoraproject.org/updates/griffith-0.12.1-1.fc15?_csrf_token=e8d45e19f7cefd4db1127ddeb8ca25cef5c08a60 Fedora 14 update at https://admin.fedoraproject.org/updates/griffith-0.12.1-1.fc14?_csrf_token=b55176e9cfb4ffdeb8f33845230e0c9a8e5ae79c http://narasim.fedorapeople.org/griffith-0.12.1-2.fc14.noarch.rpm fixes everything griffith-0.12.1-2.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/griffith-0.12.1-2.fc15 griffith-0.12.1-2.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report. |
abrt version: 1.1.13 architecture: x86_64 cmdline: python /usr/share/griffith/lib/griffith comment: My first test with the Automatic Bug Reporting Tool component: griffith executable: /usr/share/griffith/lib/griffith kernel: 2.6.35.4-12.fc14.x86_64 package: griffith-0.10-2.fc14 reason: expression.py:1296:__nonzero__:TypeError: Boolean value of this clause is not defined release: Fedora release 14 (Laughlin) time: 1284412869 uid: 1000 backtrace ----- expression.py:1296:__nonzero__:TypeError: Boolean value of this clause is not defined Traceback (most recent call last): File "/usr/share/griffith/lib/griffith", line 1168, in filter_txt quick_filter.change_filter(self) File "/usr/share/griffith/lib/quick_filter.py", line 46, in change_filter self.populate_treeview(statement) File "/usr/share/griffith/lib/griffith", line 1013, in populate_treeview main_treeview.populate(self, statement, where) File "/usr/share/griffith/lib/main_treeview.py", line 367, in populate if qf and not movies or isinstance(movies, Select): # if ".execute().fetchall()" not invoked on movies yet File "/usr/lib64/python2.7/site-packages/sqlalchemy/sql/expression.py", line 1296, in __nonzero__ raise TypeError("Boolean value of this clause is not defined") TypeError: Boolean value of this clause is not defined Local variables in innermost frame: self: <sqlalchemy.sql.expression.Select at 0x30059d0; Select object> How to reproduce ----- 1. start Griffith 2. enter a search term into the edit field labeled "Filter" 3. Griffith still works and the crash window pop's up but the filter does not work