I can reproduce this with:
$ mkdir /tmp/äää
$ (cd /tmp/äää ; apt-get download 2vcard)
$ software-center /tmp/äää/2vcard*.deb
click on "install" and authenticate:
2012-10-08 10:21:14,318 - softwarecenter.backend - ERROR - error in _on_trans_finished 'Error: An unhandled error occured
There seems to be a programming error in aptdaemon. This is the software that allows you to install/remove software and to perform other package management related tasks.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/aptdaemon/worker.py", line 1181, in _simulate
trans.unauthenticated, trans.high_trust_packages = self.__simulate(trans)
File "/usr/lib/python3/dist-packages/aptdaemon/worker.py", line 1239, in __simulate
deb = self.install_file(trans, simulate=True, **trans.kwargs)
File "/usr/lib/python3/dist-packages/aptdaemon/worker.py", line 740, in install_file
deb = self._check_deb_file(trans, path, force)
File "/usr/lib/python3/dist-packages/aptdaemon/worker.py", line 1326, in _check_deb_file
if not os.path.isfile(path):
File "/usr/lib/python3.2/genericpath.py", line 29, in isfile
st = os.stat(path)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 5-7: ordinal not in range(128)
'
I can reproduce this with: 2vcard* .deb
$ mkdir /tmp/äää
$ (cd /tmp/äää ; apt-get download 2vcard)
$ software-center /tmp/äää/
click on "install" and authenticate:
2012-10-08 10:21:14,318 - softwarecenter. backend - ERROR - error in _on_trans_finished 'Error: An unhandled error occured
There seems to be a programming error in aptdaemon. This is the software that allows you to install/remove software and to perform other package management related tasks.
Traceback (most recent call last): python3/ dist-packages/ aptdaemon/ worker. py", line 1181, in _simulate unauthenticated , trans.high_ trust_packages = self.__ simulate( trans) python3/ dist-packages/ aptdaemon/ worker. py", line 1239, in __simulate file(trans, simulate=True, **trans.kwargs) python3/ dist-packages/ aptdaemon/ worker. py", line 740, in install_file deb_file( trans, path, force) python3/ dist-packages/ aptdaemon/ worker. py", line 1326, in _check_deb_file isfile( path): python3. 2/genericpath. py", line 29, in isfile
File "/usr/lib/
trans.
File "/usr/lib/
deb = self.install_
File "/usr/lib/
deb = self._check_
File "/usr/lib/
if not os.path.
File "/usr/lib/
st = os.stat(path)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 5-7: ordinal not in range(128)
'