Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

handle decorator frames in python stacktraces #49

Open
mozeq opened this issue Feb 4, 2013 · 0 comments
Open

handle decorator frames in python stacktraces #49

mozeq opened this issue Feb 4, 2013 · 0 comments

Comments

@mozeq
Copy link
Contributor

mozeq commented Feb 4, 2013

Opened '20121129T16:22:41' by jfilak as https://fedorahosted.org/abrt/ticket/889

{{{
Traceback (most recent call last):
File "/usr/bin/system-config-services", line 1092, in on_serviceDisable_activate
self._systemd_change_unit_file(service, "disable")
File "/usr/bin/system-config-services", line 1071, in _systemd_change_unit_file
self.systemd_manager.DisableUnitFiles([unit.unit_id])
File "", line 2, in DisableUnitFiles
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python2.7/site-packages/slip/dbus/polkit.py", line 141, in _enable_proxy
return func(_p, *_k)
File "/usr/lib/python2.7/site-packages/scservices/core/systemd/manager.py", line 149, in DisableUnitFiles
runtime)
File "/usr/lib/python2.7/site-packages/slip/dbus/proxies.py", line 50, in call
return dbus.proxies._ProxyMethod.call(self, _args, *_kwargs)
File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 145, in call
**keywords)
File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
DBusException: org.freedesktop.DBus.Error.FileNotFound: No such file or directory
}}}

{{{
def enable_proxy(func=None, authfail_result=AUTHFAIL_DONTCATCH, authfail_exception=None, authfail_callback=None):
"""Decorator for DBus proxy methods.
}}}

{{{
@polkit.enable_proxy
def RestartUnit(self, name, mode='replace'):
return self.privileged_manager_interface.RestartUnit(name, mode)
}}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants