Carbon fails to process data
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Graphite |
Fix Released
|
Undecided
|
chrismd |
Bug Description
OS: Fedora Core 11
Python version: Python 2.6 (stock FC11 version)
Traceback:
31/10/2009 19:12:01 :: Log opened.
31/10/2009 19:12:01 :: Dropping privileges to become the user apache
31/10/2009 19:12:01 :: twisted.
31/10/2009 19:12:01 :: Starting factory <twisted.
31/10/2009 19:12:01 :: twisted.
31/10/2009 19:12:01 :: Starting factory <twisted.
31/10/2009 19:12:01 :: twisted.
31/10/2009 19:12:01 :: Starting factory <twisted.
31/10/2009 19:12:01 :: carbon-cache.py running
31/10/2009 19:12:44 :: Unhandled Error
Traceback (most recent call last):
File "/usr/lib64/
self.
File "/usr/lib64/
result = context.call(ctx, function, *args, **kwargs)
File "/usr/lib64/
return self.currentCon
File "/usr/lib64/
return func(*args,**kw)
--- <exception caught here> ---
File "/opt/graphite/
writeCached
File "/opt/graphite/
if schema.
exceptions.
I fiddled around with the code and figured out how to make it work.
Two things...
1. I made the matches lambda a function, mainly because I'm not good with lambda and I didn't see what the difference was from the spec vs the code in storage.py.
2. I added archives as an argument to createMetaFile() in writer.py because after the fix in #1, that was complaining.
I've attached a patch, it should apply cleanly.
Side question: Is there plans to support python < 2.6 ?
- Ian
This got fixed in the 0.9.5 release