← Back to team overview

graphite-dev team mailing list archive

Re: [Question #205774]: exceptions.TypeError: must be encoded string without NULL bytes, not str

 

Question #205774 on Graphite changed:
https://answers.launchpad.net/graphite/+question/205774

    Status: Open => Answered

Michael Leinartas proposed the following answer:
Carbon converts the metric name into a filesystem path with just a substitution:
  join(settings.LOCAL_DATA_DIR, metric.replace('.','/')) + '.wsp'

os.path.exists() is complaining of a null byte so there must be a null
byte getting sent in one of your metric names

-- 
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.