← Back to team overview

graphite-dev team mailing list archive

Re: [Question #241125]: Consistent carbon error in Ubuntu 13.10, graphite 0.9.12

 

Make sure Whisper, Carbon and Graphite-Web are all the same version. This
strikes me as an issue that could occur if you upgraded Graphite + Carbon
but not Whisper.


On Sat, Dec 21, 2013 at 8:01 PM, Arild Jensen <
question241125@xxxxxxxxxxxxxxxxxxxxx> wrote:

> New question #241125 on Graphite:
> https://answers.launchpad.net/graphite/+question/241125
>
> I'm running Ubuntu 13.10 and installed Graphite 0.9.12 via apt-get. In
> /var/log/carbon/console.log I get this error whenever I try to feed data to
> port 2003:
>
> 21/12/2013 16:43:37 :: Unhandled Error
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/threading.py", line 761, in run
>     self.__target(*self.__args, **self.__kwargs)
>   File "/usr/lib/python2.7/dist-packages/twisted/python/threadpool.py",
> line 172, in _worker
>     result = context.call(ctx, function, *args, **kwargs)
>   File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line
> 118, in callWithContext
>     return self.currentContext().callWithContext(ctx, func, *args, **kw)
>   File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line
> 81, in callWithContext
>     return func(*args,**kw)
> --- <exception caught here> ---
>   File "/usr/lib/python2.7/dist-packages/carbon/writer.py", line 149, in
> writeForever
>     writeCachedDataPoints()
>   File "/usr/lib/python2.7/dist-packages/carbon/writer.py", line 121, in
> writeCachedDataPoints
>     settings.WHISPER_FALLOCATE_CREATE)
> exceptions.TypeError: create() takes at most 5 arguments (6 given)
>
> This happens when I try simple test data such as:
>
> echo "local.random.diceroll 5 `date +%s`" | nc -q0 192.168.1.254 2003
>
> The graphite-web component works fine and does display graphs under
> graphite.carbon.agents but not anywhere else.
>
> I'm at a loss and would appreciate any help.
>
> Thank you!
>
> -Arild Jensen
>
> --
> You received this question notification because you are a member of
> graphite-dev, which is an answer contact for Graphite.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~graphite-dev
> Post to     : graphite-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~graphite-dev
> More help   : https://help.launchpad.net/ListHelp
>

Follow ups

References