Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 1470825 Details for
Bug 1608987
[abrt] dnfdragora-updater: module(): __init__.py:192:<module>:GLib.GError: g-io-error-quark: Could not connect: Connection refused (39)
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
File: backtrace
backtrace (text/plain), 11.28 KB, created by
Doncho Gunchev
on 2018-07-26 16:18:30 UTC
(
hide
)
Description:
File: backtrace
Filename:
MIME Type:
Creator:
Doncho Gunchev
Created:
2018-07-26 16:18:30 UTC
Size:
11.28 KB
patch
obsolete
>__init__.py:192:<module>:GLib.GError: g-io-error-quark: Could not connect: Connection refused (39) > >Traceback (most recent call last): > File "/usr/bin/dnfdragora-updater", line 32, in <module> > import dnfdaemon.client > File "/usr/lib/python3.6/site-packages/dnfdaemon/client/__init__.py", line 192, in <module> > session = DBus(Gio.bus_get_sync(Gio.BusType.SESSION, None)) >GLib.GError: g-io-error-quark: Could not connect: Connection refused (39) > >Local variables in innermost frame: >__name__: 'dnfdaemon.client' >__doc__: "\nThis is a Python 2.x & 3.x client API for the dnf-daemon Dbus Service\n\nThis module gives a simple pythonic interface to doing package action\nusing the dnf-daemon Dbus service.\n\nIt use async call to the dnf-daemon, so signal can be catched and a Gtk gui do\nnot get unresonsive\n\nThere is 2 classes :class:`DnfDaemonClient` & :class:`DnfDaemonReadOnlyClient`\n\n:class:`DnfDaemonClient` uses a system DBus service running as root and\ncan make chages to the system.\n\n:class:`DnfDaemonReadOnlyClient` uses a session DBus service running as\ncurrent user and can only do readonly actions.\n\nUsage: (Make your own subclass based on :class:`dnfdaemon.DnfDaemonClient`\nand overload the signal handlers)::\n\n\n from dnfdaemon import DnfDaemonClient\n\n class MyClient(DnfDaemonClient):\n\n def __init(self):\n DnfDaemonClient.__init__(self)\n # Do your stuff here\n\n def on_TransactionEvent(self,event, data):\n # Do your stuff here\n pass\n\n def on_RPMProgress(self, package, action, te_current, te_total,\n ts_current, ts_total):\n # Do your stuff here\n pass\n\n def on_GPGImport(self, pkg_id, userid, hexkeyid, keyurl, timestamp ):\n # do stuff here\n pass\n\n def on_DownloadStart(self, num_files, num_bytes):\n ''' Starting a new parallel download batch '''\n # do stuff here\n pass\n\n def on_DownloadProgress(self, name, frac, total_frac, total_files):\n ''' Progress for a single instance in the batch '''\n # do stuff here\n pass\n\n def on_DownloadEnd(self, name, status, msg):\n ''' Download of af single instace ended '''\n # do stuff here\n pass\n\n def on_RepoMetaDataProgress(self, name, frac):\n ''' Repository Metadata Download progress '''\n # do stuff here\n pass\n\n\nUsage: (Make your own subclass based on\n:class:`dnfdaemon.DnfDaemonReadOnlyClient` and overload the signal handlers)::\n\n\n from dnfdaemon import DnfDaemonReadOnlyClient\n\n class MyClient(DnfDaemonReadOnlyClient):\n\n def __init(self):\n DnfDaemonClient.__init__(self)\n # Do your stuff here\n\n def on_RepoMetaDataProgress(self, name, frac):\n ''' Repository Metadata Download progress '''\n # do stuff here\n pass\n\n" >__package__: 'dnfdaemon.client' >__loader__: <_frozen_importlib_external.SourceFileLoader object at 0x7f342a4c9898> >__spec__: ModuleSpec(name='dnfdaemon.client', loader=<_frozen_importlib_external.SourceFileLoader object at 0x7f342a4c9898>, origin='/usr/lib/python3.6/site-packages/dnfdaemon/client/__init__.py', submodule_search_locations=['/usr/lib/python3.6/site-packages/dnfdaemon/client']) >__path__: ['/usr/lib/python3.6/site-packages/dnfdaemon/client'] >__file__: '/usr/lib/python3.6/site-packages/dnfdaemon/client/__init__.py' >__cached__: '/usr/lib/python3.6/site-packages/dnfdaemon/client/__pycache__/__init__.cpython-36.pyc' >__builtins__: {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", '__package__': '', '__loader__': <class '_frozen_importlib.BuiltinImporter'>, '__spec__': ModuleSpec(name='builtins', loader=<class '_frozen_importlib.BuiltinImporter'>), '__build_class__': <built-in function __build_class__>, '__import__': <built-in function __import__>, 'abs': <built-in function abs>, 'all': <built-in function all>, 'any': <built-in function any>, 'ascii': <built-in function ascii>, 'bin': <built-in function bin>, 'callable': <built-in function callable>, 'chr': <built-in function chr>, 'compile': <built-in function compile>, 'delattr': <built-in function delattr>, 'dir': <built-in function dir>, 'divmod': <built-in function divmod>, 'eval': <built-in function eval>, 'exec': <built-in function exec>, 'format': <built-in function format>, 'getattr': <built-in function getattr>, 'globals': <built-in function globals>, 'hasattr': <built-in function hasattr>, 'hash': <built-in function hash>, 'hex': <built-in function hex>, 'id': <built-in function id>, 'input': <built-in function input>, 'isinstance': <built-in function isinstance>, 'issubclass': <built-in function issubclass>, 'iter': <built-in function iter>, 'len': <built-in function len>, 'locals': <built-in function locals>, 'max': <built-in function max>, 'min': <built-in function min>, 'next': <built-in function next>, 'oct': <built-in function oct>, 'ord': <built-in function ord>, 'pow': <built-in function pow>, 'print': <built-in function print>, 'repr': <built-in function repr>, 'round': <built-in function round>, 'setattr': <built-in function setattr>, 'sorted': <built-in function sorted>, 'sum': <built-in function sum>, 'vars': <built-in function vars>, 'None': None, 'Ellipsis': Ellipsis, 'NotImplemented': NotImplemented, 'False': False, 'True': True, 'bool': <class 'bool'>, 'memoryview': <class 'memoryview'>, 'bytearray': <class 'bytearray'>, 'bytes': <class 'bytes'>, 'classmethod': <class 'classmethod'>, 'complex': <class 'complex'>, 'dict': <class 'dict'>, 'enumerate': <class 'enumerate'>, 'filter': <class 'filter'>, 'float': <class 'float'>, 'frozenset': <class 'frozenset'>, 'property': <class 'property'>, 'int': <class 'int'>, 'list': <class 'list'>, 'map': <class 'map'>, 'object': <class 'object'>, 'range': <class 'range'>, 'reversed': <class 'reversed'>, 'set': <class 'set'>, 'slice': <class 'slice'>, 'staticmethod': <class 'staticmethod'>, 'str': <class 'str'>, 'super': <class 'super'>, 'tuple': <class 'tuple'>, 'type': <class 'type'>, 'zip': <class 'zip'>, '__debug__': True, 'BaseException': <class 'BaseException'>, 'Exception': <class 'Exception'>, 'TypeError': <class 'TypeError'>, 'StopAsyncIteration': <class 'StopAsyncIteration'>, 'StopIteration': <class 'StopIteration'>, 'GeneratorExit': <class 'GeneratorExit'>, 'SystemExit': <class 'SystemExit'>, 'KeyboardInterrupt': <class 'KeyboardInterrupt'>, 'ImportError': <class 'ImportError'>, 'ModuleNotFoundError': <class 'ModuleNotFoundError'>, 'OSError': <class 'OSError'>, 'EnvironmentError': <class 'OSError'>, 'IOError': <class 'OSError'>, 'EOFError': <class 'EOFError'>, 'RuntimeError': <class 'RuntimeError'>, 'RecursionError': <class 'RecursionError'>, 'NotImplementedError': <class 'NotImplementedError'>, 'NameError': <class 'NameError'>, 'UnboundLocalError': <class 'UnboundLocalError'>, 'AttributeError': <class 'AttributeError'>, 'SyntaxError': <class 'SyntaxError'>, 'IndentationError': <class 'IndentationError'>, 'TabError': <class 'TabError'>, 'LookupError': <class 'LookupError'>, 'IndexError': <class 'IndexError'>, 'KeyError': <class 'KeyError'>, 'ValueError': <class 'ValueError'>, 'UnicodeError': <class 'UnicodeError'>, 'UnicodeEncodeError': <class 'UnicodeEncodeError'>, 'UnicodeDecodeError': <class 'UnicodeDecodeError'>, 'UnicodeTranslateError': <class 'UnicodeTranslateError'>, 'AssertionError': <class 'AssertionError'>, 'ArithmeticError': <class 'ArithmeticError'>, 'FloatingPointError': <class 'FloatingPointError'>, 'OverflowError': <class 'OverflowError'>, 'ZeroDivisionError': <class 'ZeroDivisionError'>, 'SystemError': <class 'SystemError'>, 'ReferenceError': <class 'ReferenceError'>, 'BufferError': <class 'BufferError'>, 'MemoryError': <class 'MemoryError'>, 'Warning': <class 'Warning'>, 'UserWarning': <class 'UserWarning'>, 'DeprecationWarning': <class 'DeprecationWarning'>, 'PendingDeprecationWarning': <class 'PendingDeprecationWarning'>, 'SyntaxWarning': <class 'SyntaxWarning'>, 'RuntimeWarning': <class 'RuntimeWarning'>, 'FutureWarning': <class 'FutureWarning'>, 'ImportWarning': <class 'ImportWarning'>, 'UnicodeWarning': <class 'UnicodeWarning'>, 'BytesWarning': <class 'BytesWarning'>, 'ResourceWarning': <class 'ResourceWarning'>, 'ConnectionError': <class 'ConnectionError'>, 'BlockingIOError': <class 'BlockingIOError'>, 'BrokenPipeError': <class 'BrokenPipeError'>, 'ChildProcessError': <class 'ChildProcessError'>, 'ConnectionAbortedError': <class 'ConnectionAbortedError'>, 'ConnectionRefusedError': <class 'ConnectionRefusedError'>, 'ConnectionResetError': <class 'ConnectionResetError'>, 'FileExistsError': <class 'FileExistsError'>, 'FileNotFoundError': <class 'FileNotFoundError'>, 'IsADirectoryError': <class 'IsADirectoryError'>, 'NotADirectoryError': <class 'NotADirectoryError'>, 'InterruptedError': <class 'InterruptedError'>, 'PermissionError': <class 'PermissionError'>, 'ProcessLookupError': <class 'ProcessLookupError'>, 'TimeoutError': <class 'TimeoutError'>, 'open': <built-in function open>, 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'copyright': Copyright (c) 2001-2018 Python Software Foundation. >All Rights Reserved. > >Copyright (c) 2000 BeOpen.com. >All Rights Reserved. > >Copyright (c) 1995-2001 Corporation for National Research Initiatives. >All Rights Reserved. > >Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. >All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands > for supporting Python development. See www.python.org for more information., 'license': See https://www.python.org/psf/license/, 'help': Type help() for interactive help, or help(object) for help about object., '_': <bound method NullTranslations.gettext of <gettext.NullTranslations object at 0x7f342a759710>>, 'ngettext': <bound method NullTranslations.ngettext of <gettext.NullTranslations object at 0x7f342a759710>>} >json: <module 'json' from '/usr/lib64/python3.6/json/__init__.py'> >sys: <module 'sys' (built-in)> >re: <module 're' from '/usr/lib64/python3.6/re.py'> >weakref: <module 'weakref' from '/usr/lib64/python3.6/weakref.py'> >logging: <module 'logging' from '/usr/lib64/python3.6/logging/__init__.py'> >CLIENT_API_VERSION: 2 >logger: <Logger dnfdaemon.client (WARNING)> >Gio: <GioProxyModule <IntrospectionModule 'Gio' from '/usr/lib64/girepository-1.0/Gio-2.0.typelib'>> >GLib: <GLibProxyModule <IntrospectionModule 'GLib' from '/usr/lib64/girepository-1.0/GLib-2.0.typelib'>> >GObject: <GObjectProxyModule <IntrospectionModule 'GObject' from '/usr/lib64/girepository-1.0/GObject-2.0.typelib'>> >ORG: 'org.baseurl.DnfSystem' >INTERFACE: 'org.baseurl.DnfSystem' >ORG_READONLY: 'org.baseurl.DnfSession' >INTERFACE_READONLY: 'org.baseurl.DnfSession' >DBUS_ERR_RE: re.compile('.*GDBus.Error:([\\w\\.]*): (.*)$') >DaemonError: <class 'dnfdaemon.client.DaemonError'> >AccessDeniedError: <class 'dnfdaemon.client.AccessDeniedError'> >LockedError: <class 'dnfdaemon.client.LockedError'> >TransactionError: <class 'dnfdaemon.client.TransactionError'> >APIVersionError: <class 'dnfdaemon.client.APIVersionError'> >DBus: <class 'dnfdaemon.client.DBus'> >WeakMethod: <class 'dnfdaemon.client.WeakMethod'> >system: <dnfdaemon.client.DBus object at 0x7f3426dcc278>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1608987
: 1470825 |
1470826
|
1470827
|
1470828
|
1470829
|
1470830
|
1470831