-
Notifications
You must be signed in to change notification settings - Fork 3
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
transmissionrpc: Unhandled python exception in read callback: AttributeError: No attribute key #1
Comments
Hello, yes I can reproduce this on a Debian Jessie box with default packages installed. Versions are about the same as yours (collectd is 5.4.1 but it is obviously unrelated). I 'll post an update shortly |
Thanks!, probably you also need to update the pip package then for this fix? |
Yes, working on it already, got sidetracked by fixing a couple of other things on the way |
https://pypi.python.org/pypi/collectd_transmission/v2.2 |
No problem, there only seemed to be a few Collectd Transmission RPC plugins and yours is the most extensive. It generates graphs but the collectd/rrd frontend I currently use crashes on the collectd plugin scripts output. I use https://github.com/facette/facette which is a very nice and easy to deploy and configure collectd frontend which has zero dependencies because it is written on GoLang. Thanks for fixing! |
I tried to install using pip and the plugin will login to transmission, when I set the incorrect username I get a 401 unauthorized inside collectd log. When everything is configured correct then I get this error:
[2015-05-14 09:19:34] Unhandled python exception in read callback: AttributeError: No attribute key
[2015-05-14 09:19:34] Traceback (most recent call last):
[2015-05-14 09:19:34] File "/usr/lib/python2.7/site-packages/collectd_transmission/init.py", line 135, in get_stats
vl.dispatch(values=[field_getter(stats, metric, category)])
[2015-05-14 09:19:34] File "/usr/lib/python2.7/site-packages/collectd_transmission/init.py", line 110, in field_getter
return stats.key
[2015-05-14 09:19:34] File "/usr/lib/python2.7/site-packages/transmissionrpc/session.py", line 29, in getattr
raise AttributeError('No attribute %s' % name)
System: Arch Linux kernel 3.14.38-1-lts
Python: 2.7.9
Collectd: 5.4.2.git
Transmission: 2.84
Python transmissionrpc: 0.11
Hope you can reproduce this,
Kind regards
Jerry
The text was updated successfully, but these errors were encountered: