View Issue Details

IDProjectCategoryView StatusLast Update
0017298CentOS-7dnfpublic2020-04-28 10:38
Reporteranselmo 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
PlatformOSOS Version7
Product Version 
Target VersionFixed in Version 
Summary0017298: [abrt] python2-dnf: cli.py:137:print_versions:UnicodeDecodeError: 'ascii' codec can't decode byte 0xeb in position 4: ...
DescriptionDescription of problem:
When I run "dnf-2 --version", this issue occurred.

Version-Release number of selected component:
python2-dnf-4.0.9.2-1.el7_6

Truncated backtrace:
cli.py:137:print_versions:UnicodeDecodeError: 'ascii' codec can't decode byte 0xeb in position 4: ordinal not in range(128)

Traceback (most recent call last):
  File "/usr/bin/dnf-2", line 58, in <module>
    main.user_main(sys.argv[1:], exit_code=True)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 179, in user_main
    errcode = main(args)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 64, in main
    return _main(base, args, cli_class, option_parser_class)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 95, in _main
    cli.configure(list(map(ucd, args)), option_parser())
  File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 868, in configure
    self.base.output)
  File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 137, in print_versions
    sm_ui_time(pkg.installtime)))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xeb in position 4: ordinal not in range(128)

Local variables in innermost frame:
ver: u'0:4.11.3-43.el7.x86_64'
name: '\x1b[1mrpm\x1b(B\x1b[m'
sm_ui_time: <function sm_ui_time at 0x7f285daa6a28>
base: <dnf.cli.cli.BaseCli object at 0x7f285daac290>
done: True
pkg: <hawkey.Package object id 2596, rpm-4.11.3-43.el7.x86_64, @System>
output: <dnf.cli.output.Output object at 0x7f285daac3d0>
rpmdb_sack: <dnf.sack.Sack object at 0x7f285da8d890>
pkgs: <libdnf.module.VectorString; proxy of <Swig Object of type 'std::vector< std::string > *' at 0x7f285da52240> >
Additional Informationreporter: libreport-2.1.11.1
cmdline: /usr/bin/python2 /usr/bin/dnf-2 --version
executable: /usr/bin/dnf-2
kernel: 3.10.0-1127.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: 1000
TagsNo tags attached.
abrt_hash29c2cf58b813d05e8bd39066ae0ee9a36faccb40
URLhttps://retrace.fedoraproject.org/faf/reports/bthash/f7e15a8644c29518ffa161c84733c663bc97ded0

Activities

anselmo

anselmo

2020-04-28 10:38

reporter  

backtrace (1,468 bytes)
cli.py:137:print_versions:UnicodeDecodeError: 'ascii' codec can't decode byte 0xeb in position 4: ordinal not in range(128)

Traceback (most recent call last):
  File "/usr/bin/dnf-2", line 58, in <module>
    main.user_main(sys.argv[1:], exit_code=True)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 179, in user_main
    errcode = main(args)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 64, in main
    return _main(base, args, cli_class, option_parser_class)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 95, in _main
    cli.configure(list(map(ucd, args)), option_parser())
  File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 868, in configure
    self.base.output)
  File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 137, in print_versions
    sm_ui_time(pkg.installtime)))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xeb in position 4: ordinal not in range(128)

Local variables in innermost frame:
ver: u'0:4.11.3-43.el7.x86_64'
name: '\x1b[1mrpm\x1b(B\x1b[m'
sm_ui_time: <function sm_ui_time at 0x7f285daa6a28>
base: <dnf.cli.cli.BaseCli object at 0x7f285daac290>
done: True
pkg: <hawkey.Package object id 2596, rpm-4.11.3-43.el7.x86_64, @System>
output: <dnf.cli.output.Output object at 0x7f285daac3d0>
rpmdb_sack: <dnf.sack.Sack object at 0x7f285da8d890>
pkgs: <libdnf.module.VectorString; proxy of <Swig Object of type 'std::vector< std::string > *' at 0x7f285da52240> >
backtrace (1,468 bytes)
environ (4,361 bytes)
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
HOME=/home/anselmo
NVM_CD_FLAGS=
SIRIUS_HOME=/home/anselmo/work/sirius/dist
GTK_IM_MODULE=nimf
XCURSOR_SIZE=0
LESSOPEN=||/usr/bin/lesspipe.sh %s
XDG_SESSION_TYPE=x11
QT_IM_MODULE=nimf
LOGNAME=anselmo
USER=anselmo
NVM_DIR=/home/anselmo/.nvm
NVM_INC=/home/anselmo/.nvm/versions/node/v10.19.0/include/node
XDG_VTNR=1
QTDIR=/usr/lib64/qt-3.3
PS1=[\u@\[\e[0;33m\]\h\[\e[m\] \W]$ 
KDE_SESSION_VERSION=4
SSH_AGENT_PID=13679
LANG=ko_KR.UTF-8
QTLIB=/usr/lib64/qt-3.3/lib
TERM=xterm-256color
SHELL=/bin/bash
COLORFGBG=15;0
XAUTHORITY=/tmp/kde-anselmo/xauth-1000-_0
LANGUAGE=
SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/16477,unix/unix:/tmp/.ICE-unix/16477
QTINC=/usr/lib64/qt-3.3/include
XDG_SESSION_ID=2
STEAM_FRAME_FORCE_CLOSE=1
KONSOLE_PROFILE_NAME=Dracula
HISTSIZE=1000
NVM_BIN=/home/anselmo/.nvm/versions/node/v10.19.0/bin
WINDOWID=121634836
_=/usr/bin/dnf-2
QT_PLUGIN_PATH=/usr/lib64/kde4/plugins:/usr/lib/kde4/plugins:/home/anselmo/.kde/lib64/kde4/plugins/:/usr/lib64/kde4/plugins/
IMSETTINGS_INTEGRATE_DESKTOP=yes
KDE_FULL_SESSION=true
GDMSESSION=1-kde-plasma-standard
KONSOLE_DBUS_SESSION=/Sessions/15
USERNAME=anselmo
IMSETTINGS_MODULE=Nimf
KDE_SESSION_UID=1000
XDG_RUNTIME_DIR=/run/user/1000
PROFILEHOME=
SSH_AUTH_SOCK=/tmp/ssh-VCdC7sHFBolX/agent.13584
KONSOLE_DBUS_SERVICE=:1.100
SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0
PATH=/home/anselmo/.local/bin:/home/anselmo/bin:/home/anselmo/.nvm/versions/node/v10.19.0/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/home/anselmo/.yarn/bin:/home/anselmo/code/depot_tools:/home/anselmo/.yarn/bin
XMODIFIERS=@im=nimf
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/anselmo/.gtkrc-2.0:/home/anselmo/.gtkrc-2.0-kde4:/home/anselmo/.kde/share/config/gtkrc-2.0
MAIL=/var/spool/mail/anselmo
QT_GRAPHICSSYSTEM_CHECKED=1
XDG_CURRENT_DESKTOP=KDE
GS_LIB=
SHELL_SESSION_ID=659dfebf971c400084d65e7593a12985
WINDOWPATH=1
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-mJx5RFEfNa,guid=2d35c203a87cad4601d9cacd5ea7bac7
KDEDIRS=/usr
DESKTOP_SESSION=1-kde-plasma-standard
DISPLAY=:0
XCURSOR_THEME=El_Capitan_CursorsMODNew
XDG_SEAT=seat0
OLDPWD=/home/anselmo/download
HOSTNAME=anselmo-centos7
GDM_LANG=ko_KR.UTF-8
HISTCONTROL=ignoredups
SHLVL=3
PWD=/home/anselmo/download/applications
GTK_RC_FILES=/etc/gtk/gtkrc:/home/anselmo/.gtkrc:/home/anselmo/.kde/share/config/gtkrc
CHROME_DEVEL_SANDBOX=/usr/local/sbin/chrome-devel-sandbox
XDG_MENU_PREFIX=kde4-
XDG_SESSION_DESKTOP=1-kde-plasma-standard
LS_COLORS=rs=0:di=38;5;27:ln=38;5;51:mh=44;38;5;15:pi=40;38;5;11:so=38;5;13:do=38;5;5:bd=48;5;232;38;5;11:cd=48;5;232;38;5;3:or=48;5;232;38;5;9:mi=05;48;5;232;38;5;15:su=48;5;196;38;5;15:sg=48;5;11;38;5;16:ca=48;5;196;38;5;226:tw=48;5;10;38;5;16:ow=48;5;10;38;5;21:st=48;5;21;38;5;15:ex=38;5;34:*.tar=38;5;9:*.tgz=38;5;9:*.arc=38;5;9:*.arj=38;5;9:*.taz=38;5;9:*.lha=38;5;9:*.lz4=38;5;9:*.lzh=38;5;9:*.lzma=38;5;9:*.tlz=38;5;9:*.txz=38;5;9:*.tzo=38;5;9:*.t7z=38;5;9:*.zip=38;5;9:*.z=38;5;9:*.Z=38;5;9:*.dz=38;5;9:*.gz=38;5;9:*.lrz=38;5;9:*.lz=38;5;9:*.lzo=38;5;9:*.xz=38;5;9:*.bz2=38;5;9:*.bz=38;5;9:*.tbz=38;5;9:*.tbz2=38;5;9:*.tz=38;5;9:*.deb=38;5;9:*.rpm=38;5;9:*.jar=38;5;9:*.war=38;5;9:*.ear=38;5;9:*.sar=38;5;9:*.rar=38;5;9:*.alz=38;5;9:*.ace=38;5;9:*.zoo=38;5;9:*.cpio=38;5;9:*.7z=38;5;9:*.rz=38;5;9:*.cab=38;5;9:*.jpg=38;5;13:*.jpeg=38;5;13:*.gif=38;5;13:*.bmp=38;5;13:*.pbm=38;5;13:*.pgm=38;5;13:*.ppm=38;5;13:*.tga=38;5;13:*.xbm=38;5;13:*.xpm=38;5;13:*.tif=38;5;13:*.tiff=38;5;13:*.png=38;5;13:*.svg=38;5;13:*.svgz=38;5;13:*.mng=38;5;13:*.pcx=38;5;13:*.mov=38;5;13:*.mpg=38;5;13:*.mpeg=38;5;13:*.m2v=38;5;13:*.mkv=38;5;13:*.webm=38;5;13:*.ogm=38;5;13:*.mp4=38;5;13:*.m4v=38;5;13:*.mp4v=38;5;13:*.vob=38;5;13:*.qt=38;5;13:*.nuv=38;5;13:*.wmv=38;5;13:*.asf=38;5;13:*.rm=38;5;13:*.rmvb=38;5;13:*.flc=38;5;13:*.avi=38;5;13:*.fli=38;5;13:*.flv=38;5;13:*.gl=38;5;13:*.dl=38;5;13:*.xcf=38;5;13:*.xwd=38;5;13:*.yuv=38;5;13:*.cgm=38;5;13:*.emf=38;5;13:*.axv=38;5;13:*.anx=38;5;13:*.ogv=38;5;13:*.ogx=38;5;13:*.aac=38;5;45:*.au=38;5;45:*.flac=38;5;45:*.mid=38;5;45:*.midi=38;5;45:*.mka=38;5;45:*.mp3=38;5;45:*.mpc=38;5;45:*.ogg=38;5;45:*.ra=38;5;45:*.wav=38;5;45:*.axa=38;5;45:*.oga=38;5;45:*.spx=38;5;45:*.xspf=38;5;45:
XDG_DATA_DIRS=/home/anselmo/.local/share/flatpak/exports/share/:/var/lib/flatpak/exports/share/:/usr/local/share/:/usr/share/
KDE_MULTIHEAD=false
environ (4,361 bytes)
anselmo

anselmo

2020-04-28 10:38

reporter  

machineid (135 bytes)
systemd=ac79a75a27a845dcb15e152ba3afddb4
sosreport_uploader-dmidecode=e3913bb7b5f1da7629075365d89558aab0a2b1cde7ec174929b3074c1e2e398c
machineid (135 bytes)

Issue History

Date Modified Username Field Change
2020-04-28 10:38 anselmo New Issue
2020-04-28 10:38 anselmo File Added: backtrace
2020-04-28 10:38 anselmo File Added: environ
2020-04-28 10:38 anselmo File Added: machineid