crashes when installing packages from non ascii folders
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
packagekit (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
UPDATE:
Affects both kpackagekit and packagekit-gnome
Kpackagekit crashes when installing packages from folders with non ascii names:
kpackagekit /home/kasutaja/
isFIle
kasutaja@ARLA32:~$ New transaction with tid "/27_badbbbac_data"
KPackageKit(5091) KpkIcons:
enumFromString ( State ) : converted "" to "" , enum value -1
KPackageKit(5091) KpkTransaction:
File "/usr/lib/
threading.
File "/usr/lib/
self.
File "/usr/lib/
func(*args, **kwargs)
File "/usr/lib/
deb = debfile.
File "/usr/lib/
self.
File "/usr/lib/
if not apt_inst.
UnicodeEncodeError: 'ascii' codec can't encode characters in position 16-17: ordinal not in range(128)
"
KPackageKit(5091) KpkTransaction:
KPackageKit(5091) KpkTransaction:
KPackageKit(5091) KpkInstallFiles
removing transaction from pool : "/27_badbbbac_data"
This occurs with letters such as ö, ä, ü, õ and it is important since for example "Desktop" is "Töölaud" in Estonian and "Työpöytä" in Finnish.
Related branches
Changed in packagekit (Ubuntu): | |
importance: | Undecided → Medium |
description: | updated |
summary: |
- kpackagekit crashes when installing packages from non ascii folders + crashes when installing packages from non ascii folders |
Changed in packagekit (Ubuntu): | |
status: | Confirmed → Fix Committed |
Same with: local-file töölaud/ themonospot_ 0.7.1.1- 1~getdeb2_ all.deb
gpk-install-
Traceback (most recent call last): python2. 6/dist- packages/ packagekit/ daemonBackend. py", line 109, in run Thread. run(self) python2. 6/threading. py", line 477, in run __target( *self._ _args, **self.__kwargs) packagekit/ aptDBUSBackend. py", line 168, in wrapper packagekit/ aptDBUSBackend. py", line 1261, in doInstallFiles DebPackage( path, self._cache) packagekit/ debfile. py", line 53, in __init__ open(filename) packagekit/ debfile. py", line 58, in open arCheckMember( open(self. filename) , "debian-binary"):
File "/usr/lib/
threading.
File "/usr/lib/
self.
File "/usr/lib/
func(*args, **kwargs)
File "/usr/lib/
deb = debfile.
File "/usr/lib/
self.
File "/usr/lib/
if not apt_inst.
UnicodeEncodeError: 'ascii' codec can't encode characters in position 22-23: ordinal not in range(128)