s-c fails to install deb file with unicode characters in filename

Bug #632176 reported by Knarfluz
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Binary package hint: software-center

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/aptdaemon/worker.py", line 690, in simulate
    return self._simulate_helper(trans, status_path)
  File "/usr/lib/python2.6/dist-packages/aptdaemon/worker.py", line 762, in _simulate_helper
    deb = apt.debfile.DebPackage(trans.kwargs["path"], self._cache)
  File "/usr/lib/python2.6/dist-packages/apt/debfile.py", line 57, in __init__
    self.open(filename)
  File "/usr/lib/python2.6/dist-packages/apt/debfile.py", line 66, in open
    self._debfile = apt_inst.DebFile(open(self.filename))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xc1' in position 13: ordinal not in range(128)

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: software-center 2.1.15
ProcVersionSignature: User Name 2.6.35-19.28-generic 2.6.35.3
Uname: Linux 2.6.35-19-generic x86_64
Architecture: amd64
Date: Tue Sep 7 02:45:49 2010
ExecutablePath: /usr/share/software-center/software-center
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Beta amd64 (20100901.1)
InterpreterPath: /usr/bin/python2.6
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=pt_BR:pt:en
 LANG=pt_BR.UTF-8
 SHELL=/bin/bash
SourcePackage: software-center

Revision history for this message
Knarfluz (knarfluz-gmail) wrote :
Revision history for this message
Robert Roth (evfool) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please answer these questions:

* Is this reproducible?
* If so, what specific steps should we take to recreate this bug?

This will help us to find and resolve the problem.

Changed in software-center (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Kiwinote (kiwinote) wrote :

This occurs when installing a deb file containing unicode characters in the filename.

Changed in software-center (Ubuntu):
importance: Low → Medium
status: Incomplete → Triaged
summary: - Software Center - Jdownloader Maverick
+ s-c fails to install deb file with unicode characters in filename
Revision history for this message
Kiwinote (kiwinote) wrote :

Hi! Thanks for your bug report. The bug you describe has been reported by someone else, so I will mark this bug as a duplicate of the other one. Please continue to report any bugs you may find in software-center. Thanks again for your help!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.