Bug 486720 - installing local package with Asian unicode chars in path gives "An internal system errer has occurred"
Summary: installing local package with Asian unicode chars in path gives "An internal ...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-packagekit
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Richard Hughes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F11Blocker, F11FinalBlocker
TreeView+ depends on / blocked
 
Reported: 2009-02-21 13:00 UTC by sangu
Modified: 2009-04-16 19:54 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-04-16 19:54:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Click RPM Package in Path with Asian unicode chars. (97.96 KB, image/png)
2009-04-02 08:45 UTC, sangu
no flags Details
upstream fix (1.21 KB, patch)
2009-04-02 10:32 UTC, Richard Hughes
no flags Details | Diff

Description sangu 2009-02-21 13:00:59 UTC
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
    self.complete_actions, self.total_actions)
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2458, in event
    self._showName(self.info_actions[action])
  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):
0.4.3-1.fc11

How reproducible:
always

Steps to Reproduce:
1. Download a rpm file in a Korean name directory.
2. Click the rpm file
3.
  
Actual results:


Expected results:


Additional info:
yum-3.2.21-9.fc11.noarch
python-2.6-4.fc11.x86_64

Comment 1 Richard Hughes 2009-04-02 08:08:42 UTC
Can you please describe exactly what you were doing, and a way to reproduce this. Thanks.

Comment 2 sangu 2009-04-02 08:45:24 UTC
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.

Comment 3 Richard Hughes 2009-04-02 10:32:43 UTC
Created attachment 337766 [details]
upstream fix

This is the fix I've pushed upstream. I'll build a new rawhide rpm now.

Comment 4 Richard Hughes 2009-04-02 10:37:27 UTC
Can you test http://koji.fedoraproject.org/koji/taskinfo?taskID=1272612 please. Thanks.


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