Bug 245136 - /usr/sbin/system-cdinstall-helper - NameError: global name 'gdk' is not defined
Summary: /usr/sbin/system-cdinstall-helper - NameError: global name 'gdk' is not defined
Keywords:
Status: CLOSED DUPLICATE of bug 242857
Alias: None
Product: Fedora
Classification: Fedora
Component: pirut
Version: 7
Hardware: noarch
OS: Linux
low
low
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-06-21 11:06 UTC by Mohd Izhar Firdaus Ismail
Modified: 2007-11-30 22:12 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2007-06-21 11:38:23 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mohd Izhar Firdaus Ismail 2007-06-21 11:06:30 UTC
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()

Comment 1 Jeremy Katz 2007-06-21 11:38:23 UTC

*** This bug has been marked as a duplicate of 242857 ***


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