User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008071615 Fedora/3.0.1-1.fc9 Firefox/3.0.1 The device.py script doesn't appear to handle non-ascii characters in device names properly. Reproducible: Sometimes Steps to Reproduce: 1. Plug in "Microsoft Wheel Mouse" (as an example of hardware with non-ascii chars in device name). 2. Run the CDROM or Network tests in HTS. 3. Error is generated. 4. Removal of mouse and re-running, runs tests successfully. Actual Results: loaded configuration /var/hts/config.xml loaded plan /var/hts/plan.xml skipping cdrom - disabled skipping usb - disabled running network on /org/freedesktop/Hal/devices/net_00_0e_0c_c1_a2_27 Traceback (most recent call last): File "/usr/bin/hts", line 55, in ? success = hts.do(args) File "/usr/share/hts/lib/hts/hardwaretest.py", line 172, in do result = self.doCertify() File "/usr/share/hts/lib/hts/hardwaretest.py", line 373, in doCertify run.setKudzuLog(kudzu.dumpDevice(logicalDeviceName=test.getLogicalDeviceName())) File "/usr/share/hts/lib/hts/htskudzu.py", line 62, in dumpDevice if device.hasPropertyValue(logicalDeviceName): File "/usr/share/hts/lib/hts/device.py", line 65, in hasPropertyValue if hasValue in value: UnicodeDecodeError: 'ascii' codec can't decode byte 0xae in position 29: ordinal not in range(128) Expected Results: device.py should be able to store non-ascii values and not produce errors because of non-ascii characters.
*** This bug has been marked as a duplicate of bug 471236 ***