View Issue Details

IDProjectCategoryView StatusLast Update
0017269CentOS-7system-config-printerpublic2020-04-19 18:37
Reporterpkubanek 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
PlatformOSOS Version7
Product Version 
Target VersionFixed in Version 
Summary0017269: [abrt] system-config-printer: newprinter.py:2079:add_devices:UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in ...
DescriptionDescription of problem:
Probably related to problems using network Brother HL=2270DW printer. Image viewer crashed when printing on the printer.

Version-Release number of selected component:
system-config-printer-1.4.1-21.el7

Truncated backtrace:
newprinter.py:2079:add_devices:UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 6: ordinal not in range(128)

Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/dbus/connection.py", line 604, in msg_reply_handler
    reply_handler(*message.get_args_list(**get_args_opts))
  File "/usr/share/system-config-printer/dnssdresolve.py", line 107, in _reply
    self._resolved ()
  File "/usr/share/system-config-printer/dnssdresolve.py", line 93, in _resolved
    self._reply_handler (self._devices)
  File "/usr/share/system-config-printer/newprinter.py", line 1720, in <lambda>
    devices))
  File "/usr/share/system-config-printer/newprinter.py", line 1723, in dnssd_resolve_reply
    self.add_devices (devices, current_uri, no_more=True)
  File "/usr/share/system-config-printer/newprinter.py", line 2079, in add_devices
    info += _(" (Current)")
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 6: ordinal not in range(128)

Local variables in innermost frame:
info: u'Brother HL-2270DW (BRN001BA9C3D7A7, 10.0.0.3)'
current: <cupshelpers.Device "dnssd://Brother%20HL-2270DW%20series._pdl-datastream._tcp.local/">
network: True
network_iter: <Gtk.TreeIter object at 0x7f7e0b553ef0 (GtkTreeIter at 0x40d40e0)>
self: <newprinter.NewPrinterGUI object at 0x7f7e0b556460 (newprinter+NewPrinterGUI at 0x3c4a440)>
current_uri: u'dnssd://Brother%20HL-2270DW%20series._pdl-datastream._tcp.local/'
no_more: True
current_device: <PhysicalDevice.PhysicalDevice (Brother,HL-2270DW,)>
devs: [<cupshelpers.Device "dnssd://Brother%20HL-2270DW%20series._pdl-datastream._tcp.local/">]
replace_generic: <function replace_generic at 0x7f7e08debde8>
devices: []
device: <PhysicalDevice.PhysicalDevice (Brother,HL-2270DW,)>
newdevices: [<PhysicalDevice.PhysicalDevice (Brother,HL-2270DW,)>]
find_nw_iter: <Gtk.TreeIter object at 0x7f7e0b553e20 (GtkTreeIter at 0x2c9fca0)>
model: <Gtk.TreeStore object at 0x7f7e08ded3c0 (GtkTreeStore at 0x3c200d0)>
Additional Informationreporter: libreport-2.1.11.1
cmdline: /usr/bin/python /usr/share/system-config-printer/system-config-printer.py
executable: /usr/share/system-config-printer/system-config-printer.py
kernel: 3.10.0-1062.18.1.el7.x86_64
pkg_fingerprint: 24C6 A8A7 F4A8 0EB5
pkg_vendor: CentOS
reproducible: Not sure how to reproduce the problem
runlevel: N 5
type: Python
uid: 1001
TagsNo tags attached.
abrt_hash547d07bbc69b782715ee3cf09e82d279dde07799
URLhttps://retrace.fedoraproject.org/faf/reports/bthash/deb7de8887f2bb18181ba612f4de76fdb21d6004

Activities

pkubanek

pkubanek

2020-04-19 18:37

reporter  

backtrace (1,994 bytes)
newprinter.py:2079:add_devices:UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 6: ordinal not in range(128)

Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/dbus/connection.py", line 604, in msg_reply_handler
    reply_handler(*message.get_args_list(**get_args_opts))
  File "/usr/share/system-config-printer/dnssdresolve.py", line 107, in _reply
    self._resolved ()
  File "/usr/share/system-config-printer/dnssdresolve.py", line 93, in _resolved
    self._reply_handler (self._devices)
  File "/usr/share/system-config-printer/newprinter.py", line 1720, in <lambda>
    devices))
  File "/usr/share/system-config-printer/newprinter.py", line 1723, in dnssd_resolve_reply
    self.add_devices (devices, current_uri, no_more=True)
  File "/usr/share/system-config-printer/newprinter.py", line 2079, in add_devices
    info += _(" (Current)")
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 6: ordinal not in range(128)

Local variables in innermost frame:
info: u'Brother HL-2270DW (BRN001BA9C3D7A7, 10.0.0.3)'
current: <cupshelpers.Device "dnssd://Brother%20HL-2270DW%20series._pdl-datastream._tcp.local/">
network: True
network_iter: <Gtk.TreeIter object at 0x7f7e0b553ef0 (GtkTreeIter at 0x40d40e0)>
self: <newprinter.NewPrinterGUI object at 0x7f7e0b556460 (newprinter+NewPrinterGUI at 0x3c4a440)>
current_uri: u'dnssd://Brother%20HL-2270DW%20series._pdl-datastream._tcp.local/'
no_more: True
current_device: <PhysicalDevice.PhysicalDevice (Brother,HL-2270DW,)>
devs: [<cupshelpers.Device "dnssd://Brother%20HL-2270DW%20series._pdl-datastream._tcp.local/">]
replace_generic: <function replace_generic at 0x7f7e08debde8>
devices: []
device: <PhysicalDevice.PhysicalDevice (Brother,HL-2270DW,)>
newdevices: [<PhysicalDevice.PhysicalDevice (Brother,HL-2270DW,)>]
find_nw_iter: <Gtk.TreeIter object at 0x7f7e0b553e20 (GtkTreeIter at 0x2c9fca0)>
model: <Gtk.TreeStore object at 0x7f7e08ded3c0 (GtkTreeStore at 0x3c200d0)>
backtrace (1,994 bytes)
dso_list (77 bytes)
dbus-python-1.1.1-9.el7.x86_64
system-config-printer-libs-1.4.1-21.el7.noarch
dso_list (77 bytes)
environ (1,925 bytes)
PERL_MM_OPT=INSTALL_BASE=/home/petr/perl5
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GJS_DEBUG_OUTPUT=stderr
LESSOPEN=||/usr/bin/lesspipe.sh %s
XDG_SESSION_TYPE=x11
QT_IM_MODULE=ibus
LOGNAME=petr
USER=petr
PATH=/usr/lib64/qt-3.3/bin:/home/petr/perl5/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/local/bin:/var/lib/snapd/snap/bin:/home/petr/.local/bin:/home/petr/bin
XDG_VTNR=1
QTDIR=/usr/lib64/qt-3.3
DISPLAY=:1
SSH_AGENT_PID=3628
LANG=cs_CZ.UTF-8
QTLIB=/usr/lib64/qt-3.3/lib
TERM=dumb
SHELL=/bin/bash
XAUTHORITY=/run/gdm/auth-for-petr-8XqA3g/database
SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/3495,unix/unix:/tmp/.ICE-unix/3495
QTINC=/usr/lib64/qt-3.3/include
HISTSIZE=1000
WINDOWPATH=1
QT_PLUGIN_PATH=/usr/lib64/kde4/plugins:/usr/lib/kde4/plugins
IMSETTINGS_INTEGRATE_DESKTOP=yes
GIO_LAUNCHED_DESKTOP_FILE_PID=52715
HOME=/home/petr
USERNAME=petr
IMSETTINGS_MODULE=none
GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/system-config-printer.desktop
XDG_RUNTIME_DIR=/run/user/1001
KDEDIRS=/usr
SSH_AUTH_SOCK=/run/user/1001/keyring/ssh
GDMSESSION=gnome-classic
XMODIFIERS=@im=ibus
GNOME_SHELL_SESSION_MODE=classic
MAIL=/var/spool/mail/petr
QT_GRAPHICSSYSTEM_CHECKED=1
XDG_DATA_DIRS=/home/petr/.local/share/flatpak/exports/share/:/var/lib/flatpak/exports/share/:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
XDG_CURRENT_DESKTOP=GNOME-Classic:GNOME
XDG_SESSION_ID=1
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-QEo85bNb9x,guid=18442a77a0a97ed14afeb3f05e99a739
PERL5LIB=/home/petr/perl5/lib/perl5:
DESKTOP_SESSION=gnome-classic
PERL_LOCAL_LIB_ROOT=:/home/petr/perl5
HOSTNAME=pcd47720-1-a
GDM_LANG=cs_CZ.UTF-8
HISTCONTROL=ignoredups
SHLVL=1
PWD=/home/petr
DESKTOP_STARTUP_ID=gnome-shell-3702-pcd47720-1-a-system-config-printer-7_TIME75306032
PERL_MB_OPT=--install_base /home/petr/perl5
XDG_MENU_PREFIX=gnome-
XDG_SESSION_DESKTOP=gnome-classic
GJS_DEBUG_TOPICS=JS ERROR;JS LOG
XDG_SEAT=seat0
environ (1,925 bytes)
machineid (135 bytes)
systemd=fa9155f512744eea9b850c1e838d962e
sosreport_uploader-dmidecode=cb4dc9c9434b9ed286aa265dfb5201721128977ec7be5ab7dd9f3a7af6d2d69f
machineid (135 bytes)

Issue History

Date Modified Username Field Change
2020-04-19 18:37 pkubanek New Issue
2020-04-19 18:37 pkubanek File Added: backtrace
2020-04-19 18:37 pkubanek File Added: dso_list
2020-04-19 18:37 pkubanek File Added: environ
2020-04-19 18:37 pkubanek File Added: machineid