Red Hat Bugzilla – Bug 486720
installing local package with Asian unicode chars in path gives "An internal system errer has occurred"
Last modified: 2009-04-16 15:54:41 EDT
Description of problem:
Message in Error dialog
Error Type: <type 'exceptions.UnicodeDecodeError'>
Error Value: 'ascii' codec can't decode byte 0xeb in position 63: ordinal not in range(128)
File : /usr/lib/python2.6/site-packages/yum/rpmtrans.py, line 370, in callback
self._instProgress( bytes, total, h )
File : /usr/lib/python2.6/site-packages/yum/rpmtrans.py, line 454, in _instProgress
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2458, in event
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2450, in _showName
self.base.package(package_id, status, self.curpkg.summary)
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 264, in package
PackageKitBaseBackend.package(self, package_id, status, summary)
File : /usr/lib/python2.6/site-packages/packagekit/backend.py, line 124, in package
print >> sys.stdout, "package\t$s\t$s\t$s" $ (status, package_id, summary)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Download a rpm file in a Korean name directory.
2. Click the rpm file
Can you please describe exactly what you were doing, and a way to reproduce this. Thanks.
Created attachment 337750 [details]
Click RPM Package in Path with Asian unicode chars.
(In reply to comment #1)
> Can you please describe exactly what you were doing, and a way to reproduce
> this. Thanks.
1. Make Path with Asian unicode chars.
ex) $ mkdir 다운로드
2. Click the Folder in nautilus
3. Download a RPM Package into the Folder.
4. Click the RPM Package.
Created attachment 337766 [details]
This is the fix I've pushed upstream. I'll build a new rawhide rpm now.
Can you test http://koji.fedoraproject.org/koji/taskinfo?taskID=1272612 please. Thanks.