View Issue Details

IDProjectCategoryView StatusLast Update
0010342CentOS-7system-config-printerpublic2019-06-25 22:17
Reporteradm-mlm 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
PlatformOSOS Version7
Product Version 
Target VersionFixed in Version 
Summary0010342: [abrt] system-config-printer: jobviewer.py:2312:_set_job_status_icon:NameError: global name 'gtk' is not defined
DescriptionVersion-Release number of selected component:
system-config-printer-1.4.1-19.el7

Truncated backtrace:
jobviewer.py:2312:_set_job_status_icon:NameError: global name 'gtk' is not defined

Traceback (most recent call last):
  File "/usr/share/system-config-printer/jobviewer.py", line 2312, in _set_job_status_icon
    debugprint ("No %s icon available" % gtk.STOCK_MEDIA_PAUSE)
NameError: global name 'gtk' is not defined

Local variables in innermost frame:
column: <TreeViewColumn object at 0x2640f00 (GtkTreeViewColumn at 0x2df77a0)>
self: <JobViewer object at 0x2621eb0 (jobviewer+JobViewer at 0x1ed0d40)>
s: 4
iter: <GtkTreeIter at 0x2d85760>
jobid: 4
cell: <CellRendererPixbuf object at 0x2640eb0 (GtkCellRendererPixbuf at 0x2e04a80)>
theme: <IconTheme object at 0x2640e60 (GtkIconTheme at 0x1d473e0)>
jstate: 4
model: <TreeStore object at 0x2630820 (GtkTreeStore at 0x2aa6650)>
data: {'job-name': u'Test Page', 'job-printer-uri': u'ipp://localhost:631/printers/Generic-text-only', 'device-uri': u'smb://prt02.uni.au.dk/5123-300-c-2', 'job-originating-user-name': u'au537868@uni.au.dk', 'attributes-charset': u'utf-8', 'auth-info-required': [u'username', u'password'], 'job-k-octets': 1, '_status_text': 'Held for authentication', 'attributes-natural-language': u'en-us', 'job-printer-name': u'Generic-text-only', 'time-at-creation': 1454940004, 'job-hold-until': u'auth-info-required', 'job-state': 4}
icon: <Pixbuf object at 0x2630a00 (GdkPixbuf at 0x2e0ab00)>
Additional Informationreporter: libreport-2.1.11
cmdline: /usr/bin/python /usr/share/system-config-printer/system-config-printer.py
dso_list: system-config-printer-libs-1.4.1-19.el7.noarch
executable: /usr/share/system-config-printer/system-config-printer.py
kernel: 3.10.0-327.4.5.el7.x86_64
runlevel: N 5
type: Python
uid: 803095152
TagsNo tags attached.
abrt_hashe6807cd52d8701216ac17a8de6c97e8cb1aaa178
URLhttps://retrace.fedoraproject.org/faf/reports/bthash/4a438be77e844fb627c88dbbd185cdefd9df0191

Activities

adm-mlm

adm-mlm

2016-02-09 07:49

reporter  

backtrace (1,365 bytes)
jobviewer.py:2312:_set_job_status_icon:NameError: global name 'gtk' is not defined

Traceback (most recent call last):
  File "/usr/share/system-config-printer/jobviewer.py", line 2312, in _set_job_status_icon
    debugprint ("No %s icon available" % gtk.STOCK_MEDIA_PAUSE)
NameError: global name 'gtk' is not defined

Local variables in innermost frame:
column: <TreeViewColumn object at 0x2640f00 (GtkTreeViewColumn at 0x2df77a0)>
self: <JobViewer object at 0x2621eb0 (jobviewer+JobViewer at 0x1ed0d40)>
s: 4
iter: <GtkTreeIter at 0x2d85760>
jobid: 4
cell: <CellRendererPixbuf object at 0x2640eb0 (GtkCellRendererPixbuf at 0x2e04a80)>
theme: <IconTheme object at 0x2640e60 (GtkIconTheme at 0x1d473e0)>
jstate: 4
model: <TreeStore object at 0x2630820 (GtkTreeStore at 0x2aa6650)>
data: {'job-name': u'Test Page', 'job-printer-uri': u'ipp://localhost:631/printers/Generic-text-only', 'device-uri': u'smb://prt02.uni.au.dk/5123-300-c-2', 'job-originating-user-name': u'au537868@uni.au.dk', 'attributes-charset': u'utf-8', 'auth-info-required': [u'username', u'password'], 'job-k-octets': 1, '_status_text': 'Held for authentication', 'attributes-natural-language': u'en-us', 'job-printer-name': u'Generic-text-only', 'time-at-creation': 1454940004, 'job-hold-until': u'auth-info-required', 'job-state': 4}
icon: <Pixbuf object at 0x2630a00 (GdkPixbuf at 0x2e0ab00)>
backtrace (1,365 bytes)
environ (1,542 bytes)
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GJS_DEBUG_OUTPUT=stderr
LESSOPEN=||/usr/bin/lesspipe.sh %s
QT_IM_MODULE=ibus
LOGNAME=au537868@uni.au.dk
USER=au537868@uni.au.dk
HOME=/home/au537868@uni.au.dk
XDG_VTNR=1
PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/home/au537868@uni.au.dk/.local/bin:/home/au537868@uni.au.dk/bin
DISPLAY=:0
SSH_AGENT_PID=3373
LANG=en_US.UTF-8
TERM=dumb
SHELL=/bin/bash
XAUTHORITY=/run/gdm/auth-for-au537868@uni.au.dk-vpVTVK/database
SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/3221,unix/unix:/tmp/.ICE-unix/3221
SHLVL=1
HISTSIZE=1000
WINDOWPATH=1
IMSETTINGS_INTEGRATE_DESKTOP=yes
GIO_LAUNCHED_DESKTOP_FILE_PID=9688
GPG_AGENT_INFO=/run/user/803095152/keyring/gpg:0:1
USERNAME=au537868@uni.au.dk
IMSETTINGS_MODULE=none
GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/system-config-printer.desktop
XDG_RUNTIME_DIR=/run/user/803095152
SSH_AUTH_SOCK=/run/user/803095152/keyring/ssh
GDMSESSION=gnome-classic
XMODIFIERS=@im=ibus
GNOME_SHELL_SESSION_MODE=classic
MAIL=/var/spool/mail/au537868@uni.au.dk
XDG_CURRENT_DESKTOP=GNOME-Classic:GNOME
XDG_SESSION_ID=1
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-Shpa5962lA,guid=0c162fabbbe3affa3a19239c56b88c75
DESKTOP_SESSION=gnome-classic
KRB5CCNAME=KEYRING:persistent:803095152
HOSTNAME=a02138
GDM_LANG=en_US.UTF-8
HISTCONTROL=ignoredups
PWD=/home/au537868@uni.au.dk
DESKTOP_STARTUP_ID=gnome-shell-3479-a02138-system-config-printer-4_TIME5074111
XDG_MENU_PREFIX=gnome-
XDG_SESSION_DESKTOP=gnome-classic
GJS_DEBUG_TOPICS=JS ERROR;JS LOG
XDG_SEAT=seat0
environ (1,542 bytes)
machineid (135 bytes)
systemd=49c6aecead2f427f8f4105401afb03da
sosreport_uploader-dmidecode=f24f4d26e12ab4ee0ab60e35cd2863679e209bdf04c9e0000345cb0af88cfbbe
machineid (135 bytes)
hmrivera

hmrivera

2018-05-24 03:11

reporter   ~0031900

Another user experienced a similar problem:

trying to print, not start the print action

reporter: libreport-2.1.11.1
cmdline: /usr/bin/python /usr/share/system-config-printer/system-config-printer.py
dso_list: system-config-printer-libs-1.4.1-19.el7.noarch
executable: /usr/share/system-config-printer/system-config-printer.py
kernel: 3.10.0-514.26.2.el7.x86_64
package: system-config-printer-1.4.1-19.el7
pkg_fingerprint: 24C6 A8A7 F4A8 0EB5
pkg_vendor: CentOS
reason: jobviewer.py:2312:_set_job_status_icon:NameError: global name 'gtk' is not defined
reproducible: Not sure how to reproduce the problem
runlevel: N 5
type: Python
uid: 1000
merced

merced

2018-09-19 15:19

reporter   ~0032760

I was able to resolve this problem by:

yum install gnome-icon-theme-legacy
gudisa

gudisa

2019-06-25 22:17

reporter   ~0034717

Another user experienced a similar problem:


Authentication of the print queue shared by samba protocol fails on a windows 10 system.
I'm not a supporter of microsoft systems, I consider them junk.
But it must coexist with multi-platform multi-platform networks and systems ..

Tested with a Linux system Ubuntu is printed normally.
I do not take more than 3 minutes.

Samba network authentication fails in printing.
At the file level, the shared resources between CentOS systems to windows and vice versa work correctly.
As far as the forums are concerned, this problem seems old.
When configuring the queue from system-config-printer the browser or samba browser fails.
It also does not work to configure the queue from the web interface of cups.
Tamopoc works editing the printers.conf file or cups.conf.
If the installation of the queue is forced when trying to print the first request authentication but there is no way to supply it.
In a mismatch of libraries and packages python lsb gnome3 cups only in RHEL CentOSFedora systems.
I am not a developer or a developer, I am an administrator of networks and infrastructure systems.
Not many more things I tried ... I've been looking for a solution for days ...
I'm really disappointed and obfuscated I left the Debian / Ubuntu distribution to try this one.
It can not be that they are so conservative or that they complicate so many things.
This I consider a real garbage.
For example, by default the distribution work with python 2.7 that is part of the problem ..

-------------------------------------

Falla la autenticación de la cola de impresion compartida por protocolo samba en un sistema windows 10.
No soy para nada partidario de sistemas microsoft los considero una basura.
Pero se debe convivir con redes y sistemas multisitema multiplataforma..

Probado con un sistema Linux Ubuntu se imprime normalmente.
No me llevo mas que 3 minutos.

Falla la autenticación de red samba en la impresión.
A nivel archivos los recursos compartidos entre los sistemas CentOs a windows y viceversa funcionan correctamente.
Por lo que hay en los foros este problema parece antiguo.
Al configurar la cola desde system-config-printer falla el browser o explorador samba.
Tampoco funciona configurar la cola desde la interface web de cups.
Tamopoc funciona editar el archivo printers.conf ni cups.conf.
Si se fuerza la instalación dela cola al intentar imprimir la primera solicita autenticación pero no hay forma de suminstrarla ..
En un desajuste de librerías y paquetes python lsb gnome3 cups solo en los sistemas RHEL CentOSFedora.
No soy progrmador ni desarrollador soy administrador de redes y sistemas de infraestructura.
No cuantas cosas mas probé..hace días que busco la solución..
Realmente estoy decepcionado y ofuscado dejé la distribución Debian / Ubuntu para probar esta.
No puede ser que sean tan conservadores o que compliquen tantos las cosas.
Esto lo considero una verdadera basura.
Por ejemplo que por defecto la distribución trabajen con python 2.7 eso es parte del problema..

reporter: libreport-2.1.11.1
cmdline: /usr/bin/python /usr/share/system-config-printer/system-config-printer.py
dso_list: system-config-printer-libs-1.4.1-21.el7.noarch
executable: /usr/share/system-config-printer/system-config-printer.py
kernel: 3.10.0-957.21.3.el7.x86_64
package: system-config-printer-1.4.1-21.el7
pkg_fingerprint: 24C6 A8A7 F4A8 0EB5
pkg_vendor: CentOS
reason: jobviewer.py:2312:_set_job_status_icon:NameError: global name 'gtk' is not defined
reproducible: Not sure how to reproduce the problem
runlevel: N 5
type: Python
uid: 1000

Issue History

Date Modified Username Field Change
2016-02-09 07:49 adm-mlm New Issue
2016-02-09 07:49 adm-mlm File Added: backtrace
2016-02-09 07:49 adm-mlm File Added: environ
2016-02-09 07:49 adm-mlm File Added: machineid
2018-05-24 03:11 hmrivera Note Added: 0031900
2018-09-19 15:19 merced Note Added: 0032760
2019-06-25 22:17 gudisa Note Added: 0034717