Package: python2.5
Version: 2.5.4-2
Severity: normal
python crashes with an UnicodeEncodeError while trying to send bugs with
reportbug:
to reproduce enter query one of the following packages with reportbug: kile,
python-minimal, python2.5
The behavior is similar with all three packages, only unicode character
differ.
Using "kile" as package i have to scroll down a little bit through the
existing bug reports until i hit on with an unsupported character.
e.g: "reportbug python-minimal"
reportbug crashes while checking old bugs with:
stefan°corellia°software$ reportbug python-minimal
Detected character set: ISO-8859-15
Please change your locale if this is incorrect.
Using 'Stefan Seide <bugs-deb...@...>' as your from address.
Getting status for python-minimal...
Verifying package integrity...
Checking for newer versions at packages.debian.org...
Will send report to Debian (per lsb_release).
Traceback (most recent call last):
File "/usr/bin/reportbug", line 1950, in <module>
main()
File "/usr/bin/reportbug", line 953, in main
return iface.user_interface()
File "/usr/bin/reportbug", line 1495, in user_interface
version=pkgversion)
File "/usr/lib/pymodules/python2.5/reportbug/ui/urwid_ui.py", line 610, in
handle_bts_query
quitlabel=quitlabel)
File "/usr/lib/pymodules/python2.5/reportbug/ui/urwid_ui.py", line 478, in
menu
result, chosen = box.main(ui)
File "/usr/lib/pymodules/python2.5/reportbug/ui/urwid_ui.py", line 203, in
main
return self.ui.run_wrapper(self.run)
File "/usr/lib/pymodules/python2.5/urwid/raw_display.py", line 231, in
run_wrapper
return fn()
File "/usr/lib/pymodules/python2.5/reportbug/ui/urwid_ui.py", line 154, in
run
canvas = self.view.render( size, focus=True )
File "/usr/lib/pymodules/python2.5/urwid/widget.py", line 85, in
cached_render
canv = fn(self, size, focus=focus)
File "/usr/lib/pymodules/python2.5/urwid/widget.py", line 2113, in render
canv = self.w.render(size, focus=focus)
File "/usr/lib/pymodules/python2.5/urwid/widget.py", line 85, in
cached_render
canv = fn(self, size, focus=focus)
File "/usr/lib/pymodules/python2.5/urwid/widget.py", line 1454, in render
canv = self.body.render( (maxcol,maxrow-top-bottom),focus)
File "/usr/lib/pymodules/python2.5/urwid/widget.py", line 85, in
cached_render
canv = fn(self, size, focus=focus)
File "/usr/lib/pymodules/python2.5/urwid/widget.py", line 1276, in render
canv = self.w.render((maxcol,)+size[1:], focus)
File "/usr/lib/pymodules/python2.5/urwid/widget.py", line 85, in
cached_render
canv = fn(self, size, focus=focus)
File "/usr/lib/pymodules/python2.5/urwid/widget.py", line 1977, in render
focus and self.focus_part == 'body')
File "/usr/lib/pymodules/python2.5/urwid/widget.py", line 85, in
cached_render
canv = fn(self, size, focus=focus)
File "/usr/lib/pymodules/python2.5/urwid/widget.py", line 2640, in render
focus = focus and self.focus_col == i)
File "/usr/lib/pymodules/python2.5/urwid/widget.py", line 85, in
cached_render
canv = fn(self, size, focus=focus)
File "/usr/lib/pymodules/python2.5/urwid/widget.py", line 1977, in render
focus and self.focus_part == 'body')
File "/usr/lib/pymodules/python2.5/urwid/widget.py", line 85, in
cached_render
canv = fn(self, size, focus=focus)
File "/usr/lib/pymodules/python2.5/urwid/widget.py", line 2113, in render
canv = self.w.render(size, focus=focus)
File "/usr/lib/pymodules/python2.5/urwid/widget.py", line 85, in
cached_render
canv = fn(self, size, focus=focus)
File "/usr/lib/pymodules/python2.5/urwid/widget.py", line 1454, in render
canv = self.body.render( (maxcol,maxrow-top-bottom),focus)
File "/usr/lib/pymodules/python2.5/urwid/widget.py", line 85, in
cached_render
canv = fn(self, size, focus=focus)
File "/usr/lib/pymodules/python2.5/urwid/widget.py", line 1276, in render
canv = self.w.render((maxcol,)+size[1:], focus)
File "/usr/lib/pymodules/python2.5/urwid/widget.py", line 85, in
cached_render
canv = fn(self, size, focus=focus)
File "/usr/lib/pymodules/python2.5/urwid/widget.py", line 1977, in render
focus and self.focus_part == 'body')
File "/usr/lib/pymodules/python2.5/urwid/widget.py", line 85, in
cached_render
canv = fn(self, size, focus=focus)
File "/usr/lib/pymodules/python2.5/urwid/widget.py", line 2113, in render
canv = self.w.render(size, focus=focus)
File "/usr/lib/pymodules/python2.5/urwid/widget.py", line 121, in
finalize_render
canv = fn(self, size, focus=focus)
File "/usr/lib/pymodules/python2.5/urwid/listbox.py", line 352, in render
canvas = widget.render((maxcol,))
File "/usr/lib/pymodules/python2.5/urwid/widget.py", line 85, in
cached_render
canv = fn(self, size, focus=focus)
File "/usr/lib/pymodules/python2.5/urwid/widget.py", line 2113, in render
canv = self.w.render(size, focus=focus)
File "/usr/lib/pymodules/python2.5/urwid/widget.py", line 85, in
cached_render
canv = fn(self, size, focus=focus)
File "/usr/lib/pymodules/python2.5/urwid/widget.py", line 2640, in render
focus = focus and self.focus_col == i)
File "/usr/lib/pymodules/python2.5/urwid/widget.py", line 85, in
cached_render
canv = fn(self, size, focus=focus)
File "/usr/lib/pymodules/python2.5/urwid/widget.py", line 356, in render
return apply_text_layout(text, attr, trans, maxcol)
File "/usr/lib/pymodules/python2.5/urwid/canvas.py", line 1206, in
apply_text_layout
text[s.offs:s.end])
File "/usr/lib/pymodules/python2.5/urwid/util.py", line 128, in
apply_target_encoding
s = s.encode( _target_encoding )
File "/usr/lib/python2.5/encodings/iso8859_15.py", line 12, in encode
return codecs.charmap_encode(input,errors,encoding_table)
UnicodeEncodeError: 'charmap' codec can't encode character u'\u0148' in
position 44: character maps to <undefined>
regards,
Stefan
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.30-2-amd64 (SMP w/2 CPU cores)
Locale: lang=de...@euro, lc_ctype=de...@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash
Versions of packages python2.5 depends on:
ii libbz2-1.0 1.0.5-3 high-quality block-sorting file
co
ii libc6 2.10.1-1 GNU C Library: Shared libraries
ii libdb4.5 4.5.20-13 Berkeley v4.5 Database Libraries
[
ii libncursesw5 5.7+20090803-2 shared libraries for terminal
hand
ii libreadline6 6.0-5 GNU readline and history
libraries
ii libsqlite3-0 3.6.19-1 SQLite 3 shared library
ii libssl0.9.8 0.9.8k-5 SSL shared libraries
ii mime-support 3.46-1 MIME files 'mime.types' &
'mailcap
ii python2.5-minimal 2.5.4-2 A minimal subset of the Python
lan
python2.5 recommends no packages.
Versions of packages python2.5 suggests:
pn python-profiler <none> (no description available)
pn python2.5-doc <none> (no description available)
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]