Bug 177197 - traceback when starting hwbrowser
Summary: traceback when starting hwbrowser
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: hwbrowser
Version: rawhide
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nils Philippsen
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-01-07 06:33 UTC by petrosyan
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-02-13 13:47:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Proposed patch (1.17 KB, patch)
2006-01-21 01:37 UTC, Frank Arnold
no flags Details | Diff

Description petrosyan 2006-01-07 06:33:20 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20060103 Fedora/1.5-4 Firefox/1.5

Description of problem:


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

How reproducible:
Always

Steps to Reproduce:
1. run hwbrowser from a terminal

Actual Results:  the following traceback shows up:
$ hwbrowser
Traceback (most recent call last):
  File "/usr/share/hwbrowser/DeviceList.py", line 179, in on_device_type_select_row
    key = model.get_value (iter, 1)
TypeError: iter must be a GtkTreeIter
Traceback (most recent call last):
  File "/usr/share/hwbrowser/DeviceGeneric.py", line 56, in on_generic_device_select_row
    xml.get_widget ('generic_driver_label').set_text (driver)
TypeError: GtkLabel.set_text() argument 1 must be string, not None
Traceback (most recent call last):
  File "/usr/share/hwbrowser/DeviceGeneric.py", line 56, in on_generic_device_select_row
    xml.get_widget ('generic_driver_label').set_text (driver)
TypeError: GtkLabel.set_text() argument 1 must be string, not None

Additional info:

Comment 1 Frank Arnold 2006-01-21 01:37:06 UTC
Created attachment 123515 [details]
Proposed patch

Just wondered why my CD/DVD drive runs with appletouch driver... ;)
The labels were not properly updated.

This patch fixes both errors, and marks one string as translatable ("None or
built-in").

Comment 2 petrosyan 2006-02-08 05:02:55 UTC
this bug is still present in hwbrowser-0.25-1

Comment 3 Nils Philippsen 2006-02-13 13:47:00 UTC
I've applied the patch in hwbrowser-0.26. Thanks, Frank.


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