When attempting to run scap-workbench on Fedora 17 with openscap-0.8.5 I get the following error:
Version: 0.6.3 Python version: 2.7.3 (default, Jul 24 2012, 10:05:39) [GCC 4.7.0 20120507 (Red Hat 4.7.0-5)]
Exception type: <type 'exceptions.TypeError'> Exception message: 'NoneType' object has no attribute '__getitem__'
Traceback: File "/usr/lib/python2.7/site-packages/scap_workbench/core/abstract.py", line 217, in cb_toggle self.parent.toggle_button(self)
File "/usr/lib/python2.7/site-packages/scap_workbench/core/abstract.py", line 114, in toggle_button self.active_item.set_active(True)
File "/usr/lib/python2.7/site-packages/scap_workbench/core/abstract.py", line 191, in set_active self.activate(active)
File "/usr/lib/python2.7/site-packages/scap_workbench/scanner/scan.py", line 542, in activate self.__update_profile()
File "/usr/lib/python2.7/site-packages/scap_workbench/scanner/scan.py", line 515, in __update_profile if self.core.selected_lang in profile["titles"]:
--------------------------------------------------------------------------------------
Meanwhile I see these errors on the terminal I launched it from:
(scap-workbench:13281): Gtk-WARNING **: Unknown property: GtkGrid.n-rows
(scap-workbench:13281): Gtk-WARNING **: Unknown property: GtkGrid.n-columns
(scap-workbench:13281): Gtk-WARNING **: Unknown property: GtkGrid.n-columns (WARNING) [2012-10-17 14:48:42,906] scap-workbench:filter::filter.py:__init__:100: Class Search is deprecated: Use search function of list instead
(scap-workbench:13281): Gtk-WARNING **: Unknown property: GtkGrid.n-rows
(scap-workbench:13281): Gtk-WARNING **: Unknown property: GtkGrid.n-columns
(scap-workbench:13281): Gtk-WARNING **: Unknown property: GtkGrid.n-rows
(scap-workbench:13281): Gtk-WARNING **: Unknown property: GtkGrid.n-columns (ERROR) [2012-10-17 14:49:08,394] scap-workbench:commands::commands.py:get_profile_details:492: No item 'F14-Default' in benchmark Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/scap_workbench/core/abstract.py", line 217, in cb_toggle self.parent.toggle_button(self) File "/usr/lib/python2.7/site-packages/scap_workbench/core/abstract.py", line 114, in toggle_button self.active_item.set_active(True) File "/usr/lib/python2.7/site-packages/scap_workbench/core/abstract.py", line 191, in set_active self.activate(active) File "/usr/lib/python2.7/site-packages/scap_workbench/scanner/scan.py", line 542, in activate self.__update_profile() File "/usr/lib/python2.7/site-packages/scap_workbench/scanner/scan.py", line 515, in __update_profile if self.core.selected_lang in profile["titles"]: TypeError: 'NoneType' object has no attribute '__getitem__'
----------------------------------------------------------------------
Has anyone else seen this and are there any suggestions on how to fix this. Unfortunately I'm not a python programmer.
Regards,
John C.
Hi,
I am sorry for the inconvenience. This has been caused by latest openscap changes, the issues have already been resolved in the development version of scap-workbench but haven't been released yet.
The plan is to release scap-workbench next week, it should take another week for that release to hit Fedoras repos.
Thanks for understanding and patience!
scap-workbench@lists.fedorahosted.org