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

Module fails to load when collectd is built against python 2.6 #9

Closed
mschenck opened this issue Nov 12, 2015 · 1 comment
Closed

Module fails to load when collectd is built against python 2.6 #9

mschenck opened this issue Nov 12, 2015 · 1 comment

Comments

@mschenck
Copy link
Contributor

The string formatting syntax is only supported by python 2.7 and newer releases. When you try to load collectd-aurora with collectd built against python 2.6 collectd fails out of the configure_callback method with the following:

Starting collectd: Unhandled python exception in loading module: ValueError: zero length field name in format

commenting out the call to log_message() allows collectd-aurora to load, but then fails to submit any metrics (when verbose set to true) on the dispatch_stat() call to log_message(). commenting this out does allow the plugin to function, but you lose all of the logging.

@mschenck
Copy link
Contributor Author

Pull Request 8 modifies the string formatting syntax to include support for python 2.6

@zircote zircote closed this as completed Nov 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants