-
Notifications
You must be signed in to change notification settings - Fork 2
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
Unhandled python exception #10
Comments
What does your config look like? |
Also, what version of Python are you running? |
Hi Im using Python 2.6.6 and my config looks like: Globals true ModulePath "/usr/bin/collectd/plugins" Import "plex"
Full config can be found here http://pastebin.com/sY8fKq1x |
@wabit, I just pushed a new branch (above) that should fix this (I developed this against Python 2.7, which doesn't explicitly need indices when using string formatting, but Python 2.6 does). Will you grab |
Awesome I've just tried it and its working fine. thanks for the fix :) |
When collectd starts I am getting the following problem:
plex plugin: configured with Namespace(authtoken='neJiTQP65rqsqx#####', episodes=True, exclude=[], host='localhost', https=True, include=[], movies=True, port=32400, sessions=True, shows=True)
Dec 27 15:44:37 plex collectd[1969]: plex plugin: configured with Namespace(authtoken='neJiTQP65rqsqx#####', episodes=True, exclude=[], host='localhost', https=True, include=[], movies=True, port=32400, sessions=True, shows=True)
Dec 27 15:44:37 plex collectd[1969]: Initialization complete, entering read-loop.
Dec 27 15:44:37 plex collectd[1969]: rrdtool plugin: Adjusting "RandomTimeout" to 0.000 seconds.
Dec 27 15:44:37 plex collectd[1969]: Unhandled python exception in read callback: ValueError: zero length field name in format
Dec 27 15:44:37 plex collectd[1969]: read-function of plugin `python.plex' failed. Will suspend it for 20.000 seconds.
The text was updated successfully, but these errors were encountered: