Hi Sebastian!
Thanks for your quick response.
The error occurred when I started gdebi without any arguments.
I added some debug information to "/usr/lib/python2.5/optparse.py" in
line 1650 where the Error happend.
[EMAIL PROTECTED]:~$ diff /usr/lib/python2.5/optparse.py_old
/usr/lib/python2.5/optparse.py
1647a1648,1649
> print self.format_help()
> print type(self.format_help())
and I get the following result:
[EMAIL PROTECTED]:~$ gdebi
Usage: gdebi [options] filename
For a graphical version run gdebi-gtk
Options:
-h, --help show this help message and exit
-n, --non-interactive
Keine Rückfragen stellen (gefährlich!)
-q, --quiet Do not show progress information
--apt-line Simulate only and print a apt-get install compatible
line to stderr
--root=ROOTDIR Use alternative root dir
<type 'str'>
Traceback (most recent call last):
File "/usr/bin/gdebi", line 66, in <module>
parser.print_help()
File "/usr/lib/python2.5/optparse.py", line 1650, in print_help
file.write((self.format_help().encode(encoding, "replace")))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position
192: ordinal not in range(128)
I my opinion the problem is that self.format_help() returns a <string>
object but should be a <unicode> object.
Regards
Peter
On 3/6/07, Sebastian Heinlein <[EMAIL PROTECTED]> wrote:
> Did you try to open a package when gdebi crashed? Or does it crash
> immediately after startup?
>
> ** Changed in: gdebi (Ubuntu)
> Status: Unconfirmed => Needs Info
>
> --
> [apport] gdebi crashed with UnicodeDecodeError in print_help()
> https://launchpad.net/bugs/89975
>
--
[apport] gdebi crashed with UnicodeDecodeError in print_help()
https://launchpad.net/bugs/89975
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs