Possible unicode issue: Ubuntu Software Center displays "Internal Error" when opening Debian package with Chinese path.

Bug #989398 reported by V字龍(Vdragon)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Reproduce steps:
1.place any Debian software package in a folder which name including some Chinese String (you may just copy following random Chinese String or use your own)
/path/to/the/package/雖然是錯誤的,不過好像/*.deb
了 @_@~直到今
要設定的越來越簡單
另外,圖片內文

2.Open it using Ubuntu Software Center
3.If 2. normal, then open "another package in a path with Chinese Character".
4.I don't think there is 4 needed...

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: software-center 5.2
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic-pae 3.2.14
Uname: Linux 3.2.0-23-generic-pae i686
ApportVersion: 2.0.1-0ubuntu6
Architecture: i386
Date: Fri Apr 27 12:57:49 2012
ExecutablePath: /usr/share/software-center/software-center
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=zh_TW:zh
 PATH=(custom, no user)
 LANG=zh_TW.UTF-8
 SHELL=/bin/bash
SourcePackage: software-center
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
V字龍(Vdragon) (vdragon) wrote :
description: updated
Revision history for this message
Gary Lasker (gary-lasker) wrote :

Hi, and thanks for your report. I cannot reproduce this issue using the latest version of Ubuntu Software Center in Precise, version 5.2.3.

Would you please retry with this latest version and let us know if it's working for you now?

Many thanks for your help!

Changed in software-center (Ubuntu):
status: New → Incomplete
Revision history for this message
V字龍(Vdragon) (vdragon) wrote :

Hi,
  I think I found how to reproduce this issue more accurately, it seems that Software Center can't handle Chinese character path.
  Try http://www.mediafire.com/download.php?z61lta780iieec0

Revision history for this message
Gary Lasker (gary-lasker) wrote :

Hi again, and thank you for the additional info. So that we can try to gather more information to help us to debug this issue, could you please try running Software Center in debug mode from a terminal window as follows:

  $ software-center --debug 2> /tmp/software-center-debug.log

Then follow the steps to reproduce the issue, and then attach the file /tmp/software-center-debug.log to this bug report.

Thanks again! Your help is much appreciated!

summary: - Ubuntu Software Center displays "Internal Error" when opening the second
- Debian package after installed the first one.
+ Possible unicode issue: Ubuntu Software Center displays "Internal Error"
+ when opening the second Debian package after installed the first one.
Revision history for this message
V字龍(Vdragon) (vdragon) wrote : Re: Possible unicode issue: Ubuntu Software Center displays "Internal Error" when opening the second Debian package after installed the first one.

@Gary Lasker
Here you are.

summary: Possible unicode issue: Ubuntu Software Center displays "Internal Error"
- when opening the second Debian package after installed the first one.
+ when opening Debian package with Chinese path.
Revision history for this message
Gary Lasker (gary-lasker) wrote :

Hi again, and thank you for your report. Unfortunately, I don't see anything in your log that indicates the error. Were you actually able to reproduce the exact error at the time that you made the attached log file?

Just as a test, and a possible workaround, could you try installing your debs with gdebi? Thanks again!

Changed in software-center (Ubuntu):
status: Incomplete → Confirmed
importance: Undecided → Low
Revision history for this message
V字龍(Vdragon) (vdragon) wrote :

Gary,
I can't grep any useful message too, but I really reproduced the same (or at least in my standpoint, same) internal error when logging.
Gdebi works normally (since I set it to default due to this bug XD)

I think it will be useful if you try it yourself (using any Debian package placed in a folder name which you can copy from my example from #3) and open it.

I'll modify the description to match current status.

description: updated
description: updated
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.