Bug 951710 - [abrt] system-config-printer-libs-1.4.0-2.fc20: scp-dbus-service.py:534:<module>:NameError: name 'Gtk' is not defined
Summary: [abrt] system-config-printer-libs-1.4.0-2.fc20: scp-dbus-service.py:534:<modu...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-printer
Version: 19
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:b24b580978d7b0432be01e9f8e8...
: 951813 952933 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-12 20:41 UTC by Neil
Modified: 2013-05-22 03:19 UTC (History)
4 users (show)

Fixed In Version: system-config-printer-1.4.1-1.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-05-22 03:19:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (3.33 KB, text/plain)
2013-04-12 20:41 UTC, Neil
no flags Details
File: environ (1.02 KB, text/plain)
2013-04-12 20:41 UTC, Neil
no flags Details

Description Neil 2013-04-12 20:41:21 UTC
Description of problem:
I unlocked the printers portion of settings and clicked to add a new printer. When the New Printer dialog came up this error was found by ABRT

Version-Release number of selected component:
system-config-printer-libs-1.4.0-2.fc20

Additional info:
cmdline:        /usr/bin/python /usr/share/system-config-printer/scp-dbus-service.py
core_backtrace: 9825523299dac0e658c4b006ea8f213382299290 0x216 <module> /usr/share/system-config-printer/scp-dbus-service.py -
executable:     /usr/share/system-config-printer/scp-dbus-service.py
kernel:         3.9.0-0.rc6.git2.2.fc20.x86_64
runlevel:       N 5
uid:            1000
ureports_counter: 1

Truncated backtrace:
scp-dbus-service.py:534:<module>:NameError: name 'Gtk' is not defined

Traceback (most recent call last):
  File "/usr/share/system-config-printer/scp-dbus-service.py", line 534, in <module>
    Gtk.init (sys.argv)
NameError: name 'Gtk' is not defined

Local variables in innermost frame:
GLib: <gi.module.DynamicModule 'GLib' from '/usr/lib64/girepository-1.0/GLib-2.0.typelib'>
ppdippstr: <module 'ppdippstr' from '/usr/share/system-config-printer/ppdippstr.pyc'>
CONFIG_NEWPRINTERDIALOG_IFACE: 'org.fedoraproject.Config.Printing.NewPrinterDialog'
locale: <module 'locale' from '/usr/lib64/python2.7/locale.pyc'>
FetchedPPDs: <class '__main__.FetchedPPDs'>
printerproperties: <module 'printerproperties' from '/usr/share/system-config-printer/printerproperties.pyc'>
_client_demo: <function _client_demo at 0x12a4b18>
CONFIG_PRINTERPROPERTIESDIALOG_IFACE: 'org.fedoraproject.Config.Printing.PrinterPropertiesDialog'
get_debugging: <function get_debugging at 0xc8a848>
KillTimer: <class __main__.KillTimer at 0x12ab328>
GetBestDriversRequest: <class __main__.GetBestDriversRequest at 0x12ab390>
asyncconn: <module 'asyncconn' from '/usr/share/system-config-printer/asyncconn.pyc'>
DBusGMainLoop: <built-in function DBusGMainLoop>
cups: <module 'cups' from '/usr/lib64/python2.7/site-packages/cups.so'>
newprinter: <module 'newprinter' from '/usr/share/system-config-printer/newprinter.pyc'>
ConfigPrintingNewPrinterDialog: <class '__main__.ConfigPrintingNewPrinterDialog'>
ConfigPrinting: <class '__main__.ConfigPrinting'>
CONFIG_PATH: '/org/fedoraproject/Config/Printing'
g_killtimer: None
CONFIG_BUS: 'org.fedoraproject.Config.Printing'
gettext: <module 'gettext' from '/usr/lib64/python2.7/gettext.pyc'>
fatalException: <function fatalException at 0xc8a938>
dnssdresolve: <module 'dnssdresolve' from '/usr/share/system-config-printer/dnssdresolve.pyc'>
ConfigPrintingJobApplet: <class '__main__.ConfigPrintingJobApplet'>
GObject: <gi.module.DynamicModule 'GObject' from '/usr/lib64/girepository-1.0/GObject-2.0.typelib'>
ppdcache: <module 'ppdcache' from '/usr/share/system-config-printer/ppdcache.pyc'>
config: <module 'config' from '/usr/share/system-config-printer/config.pyc'>
__doc__: None
nonfatalException: <function nonfatalException at 0xc8a9b0>
ConfigPrintingPrinterPropertiesDialog: <class '__main__.ConfigPrintingPrinterPropertiesDialog'>
client_demo: False
__builtins__: <module '__builtin__' (built-in)>
GroupPhysicalDevicesRequest: <class __main__.GroupPhysicalDevicesRequest at 0x12ab3f8>
__file__: '/usr/share/system-config-printer/scp-dbus-service.py'
g_ppds: None
cupshelpers: <module 'cupshelpers' from '/usr/lib/python2.7/site-packages/cupshelpers/__init__.pyc'>
debugprint: <function debugprint at 0xc8a578>
CONFIG_IFACE: 'org.fedoraproject.Config.Printing'
__name__: '__main__'
PhysicalDevice: <module 'PhysicalDevice' from '/usr/share/system-config-printer/PhysicalDevice.pyc'>
sys: <module 'sys' (built-in)>
jobviewer: <module 'jobviewer' from '/usr/share/system-config-printer/jobviewer.pyc'>
set_debugging: <function set_debugging at 0xc8a8c0>
dbus: <module 'dbus' from '/usr/lib/python2.7/site-packages/dbus/__init__.pyc'>
traceback: <module 'traceback' from '/usr/lib64/python2.7/traceback.pyc'>
__package__: None
CONFIG_JOBVIEWER_IFACE: 'org.fedoraproject.Config.Printing.JobViewer'
Gdk: <gi.module.DynamicModule 'Gdk' from '/usr/lib64/girepository-1.0/Gdk-3.0.typelib'>

Comment 1 Neil 2013-04-12 20:41:24 UTC
Created attachment 734975 [details]
File: backtrace

Comment 2 Neil 2013-04-12 20:41:26 UTC
Created attachment 734976 [details]
File: environ

Comment 3 Tim Waugh 2013-04-15 11:14:31 UTC
*** Bug 951813 has been marked as a duplicate of this bug. ***

Comment 4 Fedora Update System 2013-04-15 14:01:59 UTC
system-config-printer-1.4.0-4.fc19, python-cups-1.9.63-3.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/FEDORA-2013-5419/system-config-printer-1.4.0-4.fc19,python-cups-1.9.63-3.fc19

Comment 5 Fedora Update System 2013-04-15 16:18:54 UTC
Package system-config-printer-1.4.0-4.fc19, python-cups-1.9.63-3.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing system-config-printer-1.4.0-4.fc19 python-cups-1.9.63-3.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-5419/system-config-printer-1.4.0-4.fc19,python-cups-1.9.63-3.fc19
then log in and leave karma (feedback).

Comment 6 Neil 2013-04-16 23:06:39 UTC
This is confirmed to have been fixed.
Using Fedora release 20 (Rawhide) 
distro packages sync'd current as of 4/16/2013 

Using installed versions:

system-config-printer-1.4.0-4.fc20.x86_64
python-cups-1.9.63-3.fc20.x86_64


This is resolved now.

Comment 7 Jiri Popelka 2013-04-17 07:17:59 UTC
*** Bug 952933 has been marked as a duplicate of this bug. ***

Comment 8 Fedora Update System 2013-05-10 15:34:31 UTC
Package system-config-printer-1.4.1-1.fc19, python-cups-1.9.63-3.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing system-config-printer-1.4.1-1.fc19 python-cups-1.9.63-3.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-5419/system-config-printer-1.4.1-1.fc19,python-cups-1.9.63-3.fc19
then log in and leave karma (feedback).

Comment 9 Fedora Update System 2013-05-22 03:19:58 UTC
system-config-printer-1.4.1-1.fc19, python-cups-1.9.63-3.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.