Description of problem: class gdk called without parent, supposed to be gtk.gdk ... Version-Release number of selected component (if applicable): pirut-1.3.7-1.fc7 How reproducible: everytime Steps to Reproduce: 1. system-cdinstall-helper http://url/of/repository/ 2. click next, a progressbar will appear, and the app crashes Actual results: crash Component: CD Installer Summary: TB3c0e3816 system-cdinstall-helper:146:_busyCursor:NameError: global name 'gdk' is not defined Traceback (most recent call last): File "/usr/sbin/system-cdinstall-helper", line 174, in _prepare self.doRefresh(thisrepo = self.cdreponame) File "/usr/sbin/system-cdinstall-helper", line 168, in doRefresh self.doRefreshRepos(thisrepo) File "/usr/lib/python2.5/site-packages/pirut/__init__.py", line 258, in doRefreshRepos self._busyCursor() File "/usr/sbin/system-cdinstall-helper", line 146, in _busyCursor self.mainwin.window.set_cursor(gdk.Cursor(gdk.WATCH)) NameError: global name 'gdk' is not defined Local variables in innermost frame: self: <__main__.CDInstaller object at 0x9dac18c> Expected results: progressbar continue, shows package selection menu Additional info: --- /tmp/system-cdinstall-helper-orig 2007-06-21 16:51:39.000000000 +0800 +++ /tmp/system-cdinstall-helper-new 2007-06-21 16:52:24.000000000 +0800 @@ -143,7 +143,7 @@ self.xml.signal_autoconnect(sigs) def _busyCursor(self): - self.mainwin.window.set_cursor(gdk.Cursor(gdk.WATCH)) + self.mainwin.window.set_cursor(gtk.gdk.Cursor(gtk.gdk.WATCH)) self.mainwin.set_sensitive(False) _runGtkMain()
*** This bug has been marked as a duplicate of 242857 ***