Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 157423 - Unable to change monitor model (Python traceback)
Summary: Unable to change monitor model (Python traceback)
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-display
Version: 4
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Søren Sandmann Pedersen
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2005-05-11 15:15 UTC by Derek Poon
Modified: 2014-06-18 09:07 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2005-12-01 21:50:15 UTC

Attachments (Terms of Use)

Description Derek Poon 2005-05-11 15:15:27 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050504 Fedora/1.0.3-4 Firefox/1.0.3

Description of problem:
Once the monitor type has been selected in the installer, it cannot be changed through the UI.  All subsequent clicks on the "Configure" button in the Monitor section result in nothing happening.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. During install/firstboot, I chose "LCD Panel (1280x1024)" as the Monitor Type.
2. Immediately realizing my mistake (intending to choose 1024x768), I tried to fix it, but nothing happens when I click on the "Configure" button.
3. Going with the flow... after install, I launch GNOME in a low resolution, and run Desktop -> System Settings -> Display.
4. Again, nothing happens when I click on Configure.

Actual Results:  Clicking on "Configure" should show the dialog to select the monitor type.

Expected Results:  Nothing happens, because of the following Python error:

Traceback (most recent call last):
  File "/usr/share/system-config-display/", line 334, in configure_monitor
  File "/usr/share/system-config-display/", line 93, in goto_path
AttributeError: 'module' object has no attribute 'True'

Additional info:

This patch fixes it.

--- ./  2005-04-28 23:29:44.000000000 +0200
+++ ./  2005-05-11 16:45:40.000000000 +0200
@@ -90,7 +90,7 @@
             if self.monitor_store.iter_depth(iter) == 0:
-                self.ok_button.set_sensitive(gtk.True)
+                self.ok_button.set_sensitive(True)

             self.changing_selection = 0
             self.tree_view.set_cursor(self.probed_path, self.col, FALSE)

Comment 1 Tachus Tachus 2005-05-11 17:26:43 UTC
patch works ok, thanks

Comment 2 Jeremy Katz 2005-05-23 23:25:22 UTC
Fixed in 1.0.28

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