View Issue Details

IDProjectCategoryView StatusLast Update
0016056CentOS-7system-config-printerpublic2019-05-04 23:50
Reporterandrzej.grenczuk 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
PlatformOSOS Version7
Product Version 
Target VersionFixed in Version 
Summary0016056: [abrt] system-config-printer: newprinter.py:2079:add_devices:UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in ...
DescriptionDescription of problem:
Page 1 (Scheduler not running?):
{'cups_connection_failure': False}
Page 2 (Is local server publishing?):
{'local_server_exporting_printers': False}
Page 3 (Choose printer):
{'cups_dest': <cups.Dest HP-LaserJet-Pro-MFP-M125a (default)>,
 'cups_instance': None,
 'cups_queue': 'HP-LaserJet-Pro-MFP-M125a',
 'cups_queue_listed': True}
Page 4 (Check printer sanity):
{'cups_device_uri_scheme': u'usb',
 'cups_printer_dict': {'device-uri': u'usb://HP/LaserJet%20Pro%20MFP%20M125a?serial=CNB6G9S0TW&interface=1',
                       'printer-info': u'Hewlett-Packard HP LaserJet Pro MFP M125a',
                       'printer-is-shared': True,
                       'printer-location': u'centos',
                       'printer-make-and-model': u'HP LaserJet Pro MFP m125a, hpcups 3.15.9, requires proprietary plugin',
                       'printer-state': 3,
                       'printer-state-message': u'Filter failed',
                       'printer-state-reasons': [u'none'],
                       'printer-type': 167948,
                       'printer-uri-supported': u'ipp://localhost:631/printers/HP-LaserJet-Pro-MFP-M125a'},
 'cups_printer_remote': False,
 'is_cups_class': False,
 'local_cups_queue_attributes': {'charset-configured': u'utf-8',
                                 'charset-supported': [u'us-ascii', u'utf-8'],
                                 'color-supported': True,
                                 'compression-supported': [u'none', u'gzip'],
                                 'copies-default': 1,
                                 'copies-supported': (1, 9999),
                                 'cups-version': u'1.6.3',
                                 'device-uri': u'usb://HP/LaserJet%20Pro%20MFP%20M125a?serial=CNB6G9S0TW&interface=1',
                                 'document-format-default': u'application/octet-stream',
                                 'document-format-supported': [u'application/octet-stream',
                                                               u'application/pdf',
                                                               u'application/postscript',
                                                               u'application/vnd.adobe-reader-postscript',
                                                               u'application/vnd.cups-pdf',
                                                               u'application/vnd.cups-pdf-banner',
                                                               u'application/vnd.cups-postscript',
                                                               u'application/vnd.cups-raster',
                                                               u'application/vnd.cups-raw',
                                                               u'application/x-cshell',
                                                               u'application/x-csource',
                                                               u'application/x-perl',
                                                               u'application/x-shell',
                                                               u'image/gif',
                                                               u'image/jpeg',
                                                               u'image/png',
                                                               u'image/tiff',
                                                               u'image/x-bitmap',
                                                               u'image/x-photocd',
                                                               u'image/x-portable-anymap',
                                                               u'image/x-portable-bitmap',
                                                               u'image/x-portable-graymap',
                                                               u'image/x-portable-pixmap',
                                                               u'image/x-sgi-rgb',
                                                               u'image/x-sun-raster',
                                                               u'image/x-xbitmap',
                                                               u'image/x-xpixmap',
                                                               u'image/x-xwindowdump',
                                                               u'text/css',
                                                               u'text/html',
                                                               u'text/plain'],
                                 'finishings-default': 3,
                                 'finishings-supported': [3],
                                 'generated-natural-language-supported': [u'pl-pl'],
                                 'ipp-versions-supported': [u'1.0',
                                                            u'1.1',
                                                            u'2.0',
                                                            u'2.1'],
                                 'ippget-event-life': 15,
                                 'job-creation-attributes-supported': [u'copies',
                                                                       u'finishings',
                                                                       u'ipp-attribute-fidelity',
                                                                       u'job-hold-until',
                                                                       u'job-name',
                                                                       u'job-priority',
                                                                       u'job-sheets',
                                                                       u'media',
                                                                       u'media-col',
                                                                       u'multiple-document-handling',
                                                                       u'number-up',
                                                                       u'output-bin',
                                                                       u'output-mode',
                                                                       u'orientation-requested',
                                                                       u'page-ranges',
                                                                       u'print-quality',
                                                                       u'printer-resolution',
                                                                       u'sides'],
                                 'job-hold-until-default': u'no-hold',
                                 'job-hold-until-supported': [u'no-hold',
                                                              u'indefinite',
                                                              u'day-time',
                                                              u'evening',
                                                              u'night',
                                                              u'second-shift',
                                                              u'third-shift',
                                                              u'weekend'],
                                 'job-ids-supported': True,
                                 'job-k-limit': 0,
                                 'job-k-octets-supported': (0, 52403200),
                                 'job-page-limit': 0,
                                 'job-priority-default': 50,
                                 'job-priority-supported': [100],
                                 'job-quota-period': 0,
                                 'job-settable-attributes-supported': [u'copies',
                                                                       u'finishings',
                                                                       u'job-hold-until',
                                                                       u'job-name',
                                                                       u'job-priority',
                                                                       u'media',
                                                                       u'media-col',
                                                                       u'multiple-document-handling',
                                                                       u'number-up',
                                                                       u'output-bin',
                                                                       u'output-mode',
                                                                       u'orientation-requested',
                                                                       u'page-ranges',
                                                                       u'print-quality',
                                                                       u'printer-resolution',
                                                                       u'sides'],
                                 'job-sheets-default': (u'none', u'none'),
                                 'job-sheets-supported': [u'none',
                                                          u'classified',
                                                          u'confidential',
                                                          u'mls',
                                                          u's_e_c_r_e_t',
                                                          u'selinux',
                                                          u'standard',
                                                          u'te',
                                                          u'top_s_e_c_r_e_t',
                                                          u'unclassified'],
                                 'jpeg-k-octets-supported': (0, 52403200),
                                 'jpeg-x-dimension-supported': (0, 65535),
                                 'jpeg-y-dimension-supported': (1, 65535),
                                 'marker-change-time': 0,
                                 'media-bottom-margin-supported': [494],
                                 'media-col-supported': [u'media-bottom-margin',
                                                         u'media-left-margin',
                                                         u'media-right-margin',
                                                         u'media-size',
                                                         u'media-source',
                                                         u'media-top-margin',
                                                         u'media-type'],
                                 'media-default': u'iso_a4_210x297mm',
                                 'media-left-margin-supported': [494],
                                 'media-right-margin-supported': [494],
                                 'media-source-supported': [u'manual',
                                                            u'tray1'],
                                 'media-supported': [u'iso_a6_105x148mm',
                                                     u'iso_a5_148x210mm',
                                                     u'jis_b5_182x257mm',
                                                     u'na_executive_7.25x10.5in',
                                                     u'custom_194.73x269.88mm_194.73x269.88mm',
                                                     u'custom_185.21x254mm_185.21x254mm',
                                                     u'om_envroc16k_195.44x273.05mm',
                                                     u'na_letter_8.5x11in',
                                                     u'iso_a4_210x297mm',
                                                     u'na_legal_8.5x14in',
                                                     u'om_216x340mm_216x340mm',
                                                     u'jpn_hagaki_100x148mm',
                                                     u'jpn_oufuku_148x200mm',
                                                     u'na_monarch_3.875x7.5in',
                                                     u'iso_dl_110x220mm',
                                                     u'na_number-10_4.125x9.5in',
                                                     u'iso_c5_162x229mm',
                                                     u'om_env-isob5_176.04x250.12mm',
                                                     u'custom_min_3x5in',
                                                     u'custom_max_8.5x14in'],
                                 'media-top-margin-supported': [494],
                                 'media-type-supported': [u'auto',
                                                          u'stationery',
                                                          u'hpeco-smartlite',
                                                          u'light',
                                                          u'mid-weight',
                                                          u'heavy',
                                                          u'extra-heavy',
                                                          u'transparency',
                                                          u'labels',
                                                          u'stationery-letterhead',
                                                          u'envelope',
                                                          u'stationery-preprinted',
                                                          u'prepunched',
                                                          u'colored',
                                                          u'bond',
                                                          u'stationery-recycled',
                                                          u'rough',
                                                          u'vellum'],
                                 'multiple-document-handling-supported': [u'separate-documents-uncollated-copies',
                                                                          u'separate-documents-collated-copies'],
                                 'multiple-document-jobs-supported': True,
                                 'multiple-operation-time-out': 300,
                                 'natural-language-configured': u'pl-pl',
                                 'notify-attributes-supported': [u'printer-state-change-time',
                                                                 u'notify-lease-expiration-time',
                                                                 u'notify-subscriber-user-name'],
                                 'notify-events-default': [u'job-completed'],
                                 'notify-events-supported': [u'job-completed',
                                                             u'job-config-changed',
                                                             u'job-created',
                                                             u'job-progress',
                                                             u'job-state-changed',
                                                             u'job-stopped',
                                                             u'printer-added',
                                                             u'printer-changed',
                                                             u'printer-config-changed',
                                                             u'printer-deleted',
                                                             u'printer-finishings-changed',
                                                             u'printer-media-changed',
                                                             u'printer-modified',
                                                             u'printer-restarted',
                                                             u'printer-shutdown',
                                                             u'printer-state-changed',
                                                             u'printer-stopped',
                                                             u'server-audit',
                                                             u'server-restarted',
                                                             u'server-started',
                                                             u'server-stopped'],
                                 'notify-lease-duration-default': 86400,
                                 'notify-lease-duration-supported': (0,
                                                                     2147483647),
                                 'notify-max-events-supported': [100],
                                 'notify-pull-method-supported': [u'ippget'],
                                 'notify-schemes-supported': [u'dbus',
                                                              u'mailto',
                                                              u'rss'],
                                 'number-up-default': 1,
                                 'number-up-supported': [1, 2, 4, 6, 9, 16],
                                 'operations-supported': [2,
                                                          4,
                                                          5,
                                                          6,
                                                          8,
                                                          9,
                                                          10,
                                                          11,
                                                          12,
                                                          13,
                                                          14,
                                                          16,
                                                          17,
                                                          18,
                                                          19,
                                                          20,
                                                          21,
                                                          22,
                                                          23,
                                                          24,
                                                          25,
                                                          26,
                                                          27,
                                                          28,
                                                          34,
                                                          35,
                                                          37,
                                                          38,
                                                          56,
                                                          57,
                                                          59,
                                                          16385,
                                                          16386,
                                                          16387,
                                                          16388,
                                                          16389,
                                                          16390,
                                                          16391,
                                                          16392,
                                                          16393,
                                                          16394,
                                                          16395,
                                                          16396,
                                                          16397,
                                                          16398,
                                                          16399,
                                                          16423,
                                                          14],
                                 'orientation-requested-default': None,
                                 'orientation-requested-supported': [3,
                                                                     4,
                                                                     5,
                                                                     6],
                                 'output-bin-default': u'face-down',
                                 'output-bin-supported': [u'face-down'],
                                 'output-mode-default': u'color',
                                 'output-mode-supported': [u'monochrome',
                                                           u'color'],
                                 'page-ranges-supported': True,
                                 'pages-per-minute': 1,
                                 'pages-per-minute-color': 1,
                                 'pdf-k-octets-supported': (0, 52403200),
                                 'pdf-versions-supported': [u'adobe-1.2',
                                                            u'adobe-1.3',
                                                            u'adobe-1.4',
                                                            u'adobe-1.5',
                                                            u'adobe-1.6',
                                                            u'adobe-1.7',
                                                            u'iso-19005-1_2005',
                                                            u'iso-32000-1_2008',
                                                            u'pwg-5102.3'],
                                 'pdl-override-supported': [u'attempted'],
                                 'port-monitor': u'none',
                                 'port-monitor-supported': [u'none'],
                                 'print-color-mode-default': u'color',
                                 'print-color-mode-supported': [u'monochrome',
                                                                u'color'],
                                 'print-quality-default': 4,
                                 'print-quality-supported': [4],
                                 'printer-commands': u'none',
                                 'printer-current-time': '(IPP_TAG_DATE)',
                                 'printer-dns-sd-name': None,
                                 'printer-error-policy': u'stop-printer',
                                 'printer-error-policy-supported': [u'abort-job',
                                                                    u'retry-current-job',
                                                                    u'retry-job',
                                                                    u'stop-printer'],
                                 'printer-icons': u'http://localhost:631/icons/HP-LaserJet-Pro-MFP-M125a.png',
                                 'printer-info': u'Hewlett-Packard HP LaserJet Pro MFP M125a',
                                 'printer-is-accepting-jobs': True,
                                 'printer-is-shared': True,
                                 'printer-location': u'centos',
                                 'printer-make-and-model': u'HP LaserJet Pro MFP m125a, hpcups 3.15.9, requires proprietary plugin',
                                 'printer-more-info': u'http://localhost:631/printers/HP-LaserJet-Pro-MFP-M125a',
                                 'printer-name': u'HP-LaserJet-Pro-MFP-M125a',
                                 'printer-op-policy': u'default',
                                 'printer-op-policy-supported': [u'authenticated',
                                                                 u'default'],
                                 'printer-resolution-default': (300, 300, 3),
                                 'printer-resolution-supported': [(300,
                                                                   300,
                                                                   3)],
                                 'printer-settable-attributes-supported': [u'printer-info',
                                                                           u'printer-location'],
                                 'printer-state': 3,
                                 'printer-state-change-time': 1557013060,
                                 'printer-state-message': u'Filter failed',
                                 'printer-state-reasons': [u'none'],
                                 'printer-type': 167948,
                                 'printer-up-time': 1557013087,
                                 'printer-uri-supported': [u'ipp://localhost:631/printers/HP-LaserJet-Pro-MFP-M125a'],
                                 'printer-uuid': u'urn:uuid:f7491e44-fa17-3b0b-5314-407e16a702cd',
                                 'queued-job-count': 1,
                                 'server-is-sharing-printers': False,
                                 'sides-default': u'one-sided',
                                 'sides-supported': [u'one-sided'],
                                 'uri-authentication-supported': [u'requesting-user-name'],
                                 'uri-security-supported': [u'none'],
                                 'which-jobs-supported': [u'completed',
                                                          u'not-completed',
                                                          u'aborted',
                                                          u'all',
                                                          u'canceled',
                                                          u'pending',
                                                          u'pending-held',
                                                          u'processing',
                                                          u'processing-stopped']}}
Page 5 (Check PPD sanity):
{'cups_printer_ppd_defaults': {u'General': {u'ColorModel': u'Gray',
                                            u'EconoMode': u'False',
                                            u'InputSlot': u'tray1',
                                            u'MediaType': u'Plain',
                                            u'OutputMode': u'FastRes600',
                                            u'PageRegion': u'A4',
                                            u'PageSize': u'A4'}},
 'cups_printer_ppd_valid': True,
 'missing_pkgs_and_exes': ([], [])}
Page 6 (Local or remote?):
{'printer_is_remote': False}
Page 7 (Choose device):
{'cups_device_dict': {'device-class': 'direct',
                      'device-id': 'MFG:Hewlett-Packard;MDL:HP LaserJet Pro MFP M125a;CMD:ACL,CMD,ZJS,URF,PCLm,PJL;CLS:PRINTER;DES:HP LaserJet Pro MFP M125a;FWVER:20140319;LEDMDIS:USB#ff#04#01;CID:HPLJPCLMSMV1;',
                      'device-info': 'HP LaserJet Pro MFP M125a',
                      'device-make-and-model': 'HP LaserJet Pro MFP M125a'}}
Page 8 (Printer state reasons):
{'printer-state-message': u'Filter failed', 'printer-state-reasons': [u'none']}
Page 9 (Verify packages):
{'packages_verification': {'cups': ['..?...... /etc/cups/cupsd.conf.default',
                                    '..?...... /usr/lib/cups/backend/dnssd',
                                    '..?...... /usr/lib/cups/backend/failover',
                                    '..?...... /usr/lib/cups/backend/ipp',
                                    '..?...... /usr/lib/cups/backend/lpd',
                                    'missing /var/spool/cups/tmp (Permission denied)'],
                           'foomatic': ['package foomatic is not installed'],
                           'gutenprint': [],
                           'hpijs': [],
                           'hplip': ['package hplip is not installed'],
                           'system-config-printer': []}}
Page 10 (Error log checkpoint):
{'cups_server_settings': {'BrowseLocalProtocols': 'dnssd',
                          'DefaultAuthType': 'Basic',
                          'JobPrivateAccess': 'default',
                          'JobPrivateValues': 'default',
                          'MaxLogSize': '0',
                          'SubscriptionPrivateAccess': 'default',
                          'SubscriptionPrivateValues': 'default',
                          'WebInterface': 'Yes',
                          '_debug_logging': '0',
                          '_remote_admin': '0',
                          '_remote_any': '0',
                          '_share_printers': '0',
                          '_user_cancel_any': '0'},
 'error_log_checkpoint': 75014,
 'error_log_debug_logging_set': True}
Page 11 (Error log fetch):
{'error_log': ['D [05/May/2019:01:38:52 +0200] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"',
               'D [05/May/2019:01:38:52 +0200] [Client 12] PUT /admin/conf/cupsd.conf HTTP/1.1',
               'D [05/May/2019:01:38:52 +0200] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"',
               'D [05/May/2019:01:38:52 +0200] [Client 12] Authorized as root using PeerCred',
               'D [05/May/2019:01:38:52 +0200] cupsdIsAuthorized: username="root"',
               'I [05/May/2019:01:38:52 +0200] Installing config file "/etc/cups/cupsd.conf"...',
               'D [05/May/2019:01:38:53 +0200] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"',
               'D [05/May/2019:01:38:53 +0200] [Client 12] Closing connection.',
               'D [05/May/2019:01:38:53 +0200] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"',
               'D [05/May/2019:01:38:53 +0200] [Client 13] Closing connection.',
               'D [05/May/2019:01:38:53 +0200] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"',
               'I [05/May/2019:01:38:53 +0200] Generating printcap /etc/printcap...',
               'D [05/May/2019:01:38:53 +0200] cupsdSetBusyState: newbusy="Not busy", busy="Dirty files"',
               'W [05/May/2019:01:38:53 +0200] Duplicate listen address "/var/run/cups/cups.sock" ignored.',
               'E [05/May/2019:01:38:53 +0200] Unknown directive JobPrivateAccess on line 84 of /etc/cups/cupsd.conf.',
               'E [05/May/2019:01:38:53 +0200] Unknown directive JobPrivateValues on line 85 of /etc/cups/cupsd.conf.',
               'E [05/May/2019:01:38:53 +0200] Unknown directive SubscriptionPrivateAccess on line 86 of /etc/cups/cupsd.conf.',
               'E [05/May/2019:01:38:53 +0200] Unknown directive SubscriptionPrivateValues on line 87 of /etc/cups/cupsd.conf.',
               "W [05/May/2019:01:38:53 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'Hewlett-Packard-HP-LaserJet-Pro-MFP-M125a-Gray..' already exists",
               "W [05/May/2019:01:38:53 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'Hewlett-Packard-HP-LaserJet-Pro-MFP-M125a-RGB..' already exists",
               "W [05/May/2019:01:38:53 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'HP-LaserJet-Pro-MFP-M125a-Gray..' already exists",
               "W [05/May/2019:01:38:53 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'HP-LaserJet-Pro-MFP-M125a-RGB..' already exists"],
 'error_log_debug_logging_unset': True}
Page 12 (Locale issues):
{'printer_page_size': u'A4',
 'system_locale_lang': 'pl_PL',
 'user_locale_ctype': 'pl_PL',
 'user_locale_messages': 'pl_PL'}

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 0xc5 in position 5: 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/asyncpk1.py", line 115, in _pk_reply_handler
    self._client_reply_handler (self._conn, self._unpack_fn (*args))
  File "/usr/share/system-config-printer/asyncconn.py", line 91, in reply_handler
    self._reply_handler (self, self._reply_data, *args)
  File "/usr/share/system-config-printer/asyncconn.py", line 209, in _subst_reply_handler
    reply_handler (self, *args)
  File "/usr/lib/python2.7/site-packages/cupshelpers/cupshelpers.py", line 641, in _reply_handler
    self._client_reply_handler (connection, devices)
  File "/usr/share/system-config-printer/newprinter.py", line 1665, in <lambda>
    current_uri))
  File "/usr/share/system-config-printer/newprinter.py", line 1695, in local_devices_reply
    self.add_devices (result, current_uri)
  File "/usr/share/system-config-printer/newprinter.py", line 2079, in add_devices
    info += _(" (Current)")
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 5: ordinal not in range(128)

Local variables in innermost frame:
network_path: <Gtk.TreePath object at 0x7f0edc29c4c8 (GtkTreePath at 0x4233b50)>
replace_generic: <function replace_generic at 0x7f0eb3ed3938>
devices: [<cupshelpers.Device "ipps">, <cupshelpers.Device "socket">, <cupshelpers.Device "ipp">, <cupshelpers.Device "https">, <cupshelpers.Device "lpd">, <cupshelpers.Device "serial:/dev/ttyS0?baud=115200">]
newdevices: [<PhysicalDevice.PhysicalDevice (,,)>, <PhysicalDevice.PhysicalDevice (,,)>, <PhysicalDevice.PhysicalDevice (,,)>, <PhysicalDevice.PhysicalDevice (,,)>, <PhysicalDevice.PhysicalDevice (,,)>, <PhysicalDevice.PhysicalDevice (,,)>, <PhysicalDevice.PhysicalDevice (HP,LaserJet Pro MFP M125a,CNB6G9S0TW&interface=1)>]
device2: <cupshelpers.Device "serial:/dev/ttyS0?baud=115200">
row: ['Port szeregowy #1', <PhysicalDevice.PhysicalDevice (,,)>, False]
network: False
network_iter: <Gtk.TreeIter object at 0x7f0edc29cce8 (GtkTreeIter at 0x32e9800)>
physdev: <PhysicalDevice.PhysicalDevice (,,)>
device1: <cupshelpers.Device "lpd">
current_device: <PhysicalDevice.PhysicalDevice (HP,LaserJet Pro MFP M125a,CNB6G9S0TW&interface=1)>
physicaldevice: <PhysicalDevice.PhysicalDevice (,,)>
current: <cupshelpers.Device "usb://HP/LaserJet%20Pro%20MFP%20M125a?serial=CNB6G9S0TW&interface=1">
find_nw_iter: <Gtk.TreeIter object at 0x7f0edc29c530 (GtkTreeIter at 0x21c3980)>
current_uri: u'usb://HP/LaserJet%20Pro%20MFP%20M125a?serial=CNB6G9S0TW&interface=1'
no_more: False
device: <PhysicalDevice.PhysicalDevice (HP,LaserJet Pro MFP M125a,CNB6G9S0TW&interface=1)>
info: u'HP LaserJet Pro MFP M125a (CNB6G9S0TW&interface=1)'
i: 5
j: 6
iter: <Gtk.TreeIter object at 0x7f0edc29ce20 (GtkTreeIter at 0x42ec2e0)>
devs: [<cupshelpers.Device "usb://HP/LaserJet%20Pro%20MFP%20M125a?serial=CNB6G9S0TW&interface=1">]
model: <Gtk.TreeStore object at 0x7f0eb3e96a00 (GtkTreeStore at 0x30755b0)>
self: <newprinter.NewPrinterGUI object at 0x7f0eb3ff4370 (newprinter+NewPrinterGUI at 0x3e42100)>
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-957.12.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: 1000
TagsNo tags attached.
abrt_hash4925612f3bcedd98bd59e71c92995cc36ad8bc30
URLhttps://retrace.fedoraproject.org/faf/reports/bthash/9cd9a687962e0f978f83cbe47127dd20d04b2806

Activities

andrzej.grenczuk

andrzej.grenczuk

2019-05-04 23:50

reporter  

backtrace (3,292 bytes)
newprinter.py:2079:add_devices:UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 5: 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/asyncpk1.py", line 115, in _pk_reply_handler
    self._client_reply_handler (self._conn, self._unpack_fn (*args))
  File "/usr/share/system-config-printer/asyncconn.py", line 91, in reply_handler
    self._reply_handler (self, self._reply_data, *args)
  File "/usr/share/system-config-printer/asyncconn.py", line 209, in _subst_reply_handler
    reply_handler (self, *args)
  File "/usr/lib/python2.7/site-packages/cupshelpers/cupshelpers.py", line 641, in _reply_handler
    self._client_reply_handler (connection, devices)
  File "/usr/share/system-config-printer/newprinter.py", line 1665, in <lambda>
    current_uri))
  File "/usr/share/system-config-printer/newprinter.py", line 1695, in local_devices_reply
    self.add_devices (result, current_uri)
  File "/usr/share/system-config-printer/newprinter.py", line 2079, in add_devices
    info += _(" (Current)")
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 5: ordinal not in range(128)

Local variables in innermost frame:
network_path: <Gtk.TreePath object at 0x7f0edc29c4c8 (GtkTreePath at 0x4233b50)>
replace_generic: <function replace_generic at 0x7f0eb3ed3938>
devices: [<cupshelpers.Device "ipps">, <cupshelpers.Device "socket">, <cupshelpers.Device "ipp">, <cupshelpers.Device "https">, <cupshelpers.Device "lpd">, <cupshelpers.Device "serial:/dev/ttyS0?baud=115200">]
newdevices: [<PhysicalDevice.PhysicalDevice (,,)>, <PhysicalDevice.PhysicalDevice (,,)>, <PhysicalDevice.PhysicalDevice (,,)>, <PhysicalDevice.PhysicalDevice (,,)>, <PhysicalDevice.PhysicalDevice (,,)>, <PhysicalDevice.PhysicalDevice (,,)>, <PhysicalDevice.PhysicalDevice (HP,LaserJet Pro MFP M125a,CNB6G9S0TW&interface=1)>]
device2: <cupshelpers.Device "serial:/dev/ttyS0?baud=115200">
row: ['Port szeregowy #1', <PhysicalDevice.PhysicalDevice (,,)>, False]
network: False
network_iter: <Gtk.TreeIter object at 0x7f0edc29cce8 (GtkTreeIter at 0x32e9800)>
physdev: <PhysicalDevice.PhysicalDevice (,,)>
device1: <cupshelpers.Device "lpd">
current_device: <PhysicalDevice.PhysicalDevice (HP,LaserJet Pro MFP M125a,CNB6G9S0TW&interface=1)>
physicaldevice: <PhysicalDevice.PhysicalDevice (,,)>
current: <cupshelpers.Device "usb://HP/LaserJet%20Pro%20MFP%20M125a?serial=CNB6G9S0TW&interface=1">
find_nw_iter: <Gtk.TreeIter object at 0x7f0edc29c530 (GtkTreeIter at 0x21c3980)>
current_uri: u'usb://HP/LaserJet%20Pro%20MFP%20M125a?serial=CNB6G9S0TW&interface=1'
no_more: False
device: <PhysicalDevice.PhysicalDevice (HP,LaserJet Pro MFP M125a,CNB6G9S0TW&interface=1)>
info: u'HP LaserJet Pro MFP M125a (CNB6G9S0TW&interface=1)'
i: 5
j: 6
iter: <Gtk.TreeIter object at 0x7f0edc29ce20 (GtkTreeIter at 0x42ec2e0)>
devs: [<cupshelpers.Device "usb://HP/LaserJet%20Pro%20MFP%20M125a?serial=CNB6G9S0TW&interface=1">]
model: <Gtk.TreeStore object at 0x7f0eb3e96a00 (GtkTreeStore at 0x30755b0)>
self: <newprinter.NewPrinterGUI object at 0x7f0eb3ff4370 (newprinter+NewPrinterGUI at 0x3e42100)>
backtrace (3,292 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 (2,811 bytes)
LOADEDMODULES=
ORAENV_ASK=NO
MATE_DESKTOP_SESSION_ID=this-is-deprecated
ORACLE_HOME=/home/andrzej/dev/dbora12c/product/12.1.0/dbhome_1
XDG_RUNTIME_DIR=/run/user/1000
LESSOPEN=||/usr/bin/lesspipe.sh %s
XDG_SESSION_TYPE=x11
QT_IM_MODULE=xim
LOGNAME=andrzej
USER=andrzej
SQOOP_HOME=/home/andrzej/dev/sqoop-1.4.7.bin__hadoop-2.6.0
HOME=/home/andrzej
XDG_VTNR=1
PATH=/home/andrzej/dev/anaconda3/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/home/andrzej/.local/bin:/home/andrzej/bin:/home/andrzej/dev/hadoop-3.1.1/bin:/home/andrzej/dev/hadoop-3.1.1/sbin:/home/andrzej/dev/apache-hive-3.1.0-bin/bin:/home/andrzej/dev/jdk1.8.0_181:/home/andrzej/dev/sqoop-1.4.7.bin__hadoop-2.6.0/bin:/home/andrzej/dev/dbora12c/product/12.1.0/dbhome_1/bin:/home/andrzej/dev/zookeeper-3.4.13/bin:/home/andrzej/dev/hbase-2.1.0/bin:HCATALOG_HOME/bin:/home/andrzej/dev/anaconda3/bin
DISPLAY=:0
SSH_AGENT_PID=5379
LANG=pl_PL.UTF-8
TERM=dumb
SHELL=/bin/bash
CONDA_PYTHON_EXE=/home/andrzej/dev/anaconda3/bin/python
XAUTHORITY=/run/gdm/auth-for-andrzej-ySVJYn/database
SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/5201,unix/unix:/tmp/.ICE-unix/5201
SHLVL=1
CONDA_PREFIX=/home/andrzej/dev/anaconda3
PWD=/home/andrzej
HISTSIZE=1000
HCATALOG_HOME=/home/andrzej/dev/apache-hive-3.1.0-bin
WINDOWPATH=1
GTK_OVERLAY_SCROLLING=0
ZOOKEEPER_HOME=/home/andrzej/dev/zookeeper-3.4.13
QT_PLUGIN_PATH=/usr/lib64/kde4/plugins:/usr/lib/kde4/plugins
IMSETTINGS_INTEGRATE_DESKTOP=yes
ORACLE_SID=dbdwh
JAVA_HOME=/home/andrzej/dev/jdk1.8.0_181
MODULESHOME=/usr/share/Modules
USERNAME=andrzej
IMSETTINGS_MODULE=none
GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/system-config-printer.desktop
CONDA_DEFAULT_ENV=base
GTK_IM_MODULE=gtk-im-context-simple
ACCUMULO_HOME=/home/andrzej/dev/accumulo-2.0.0-alpha-1
HBASE_HOME=/home/andrzej/dev/hbase-2.1.0
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
CONDA_SHLVL=1
CONDA_PROMPT_MODIFIER=
GDMSESSION=mate
XMODIFIERS=@im=none
GIO_LAUNCHED_DESKTOP_FILE_PID=23555
QT_GRAPHICSSYSTEM_CHECKED=1
XDG_CURRENT_DESKTOP=MATE
XDG_SESSION_ID=1
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-kyBQ9BjC3v,guid=28a6b83a718ece745c454baa5ccdf908
MODULEPATH=/usr/share/Modules/modulefiles:/etc/modulefiles
KDEDIRS=/usr
DESKTOP_SESSION=mate
HCAT_HOME=/home/andrzej/dev/apache-hive-3.1.0-bin
HOSTNAME=centos
GDM_LANG=pl_PL.UTF-8
HISTCONTROL=ignoredups
XDG_DATA_DIRS=/home/andrzej/.local/share/flatpak/exports/share/:/var/lib/flatpak/exports/share/:/usr/local/share/:/usr/share/
HIVE_HOME=/home/andrzej/dev/apache-hive-3.1.0-bin
DESKTOP_STARTUP_ID=mate-panel-5567-centos-system-config-printer-4_TIME10552633
MAIL=/var/spool/mail/andrzej
XDG_SESSION_DESKTOP=mate
HADOOP_HOME=/home/andrzej/dev/hadoop-3.1.1
CONDA_EXE=/home/andrzej/dev/anaconda3/bin/conda
BASH_FUNC_module()=() {  eval `/usr/bin/modulecmd bash $*`
}
XDG_SEAT=seat0
environ (2,811 bytes)
machineid (135 bytes)
systemd=8d6d93f0702c43a998b19b687d2fbbcd
sosreport_uploader-dmidecode=d7ab95f45236aef3b690171b58c490c341fe77e72abb9be384025679bb970bfc
machineid (135 bytes)

Issue History

Date Modified Username Field Change
2019-05-04 23:50 andrzej.grenczuk New Issue
2019-05-04 23:50 andrzej.grenczuk File Added: backtrace
2019-05-04 23:50 andrzej.grenczuk File Added: dso_list
2019-05-04 23:50 andrzej.grenczuk File Added: environ
2019-05-04 23:50 andrzej.grenczuk File Added: machineid