schemaList.append(mySchema) UnboundLocalError: local variable 'mySchema' referenced before assignment
Bug #1022663 reported by
Charlie Schluting ☃
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Graphite |
New
|
Undecided
|
Unassigned |
Bug Description
I created a storage-
[default]
xFilesFactor = 0
With that, carbon-cache fails to start:
File "/opt/graphite/
schemaList.
UnboundLocalError: local variable 'mySchema' referenced before assignment
If I add:
pattern = ^.*$
...it works. I didn't notice the docs say pattern was required -- is it intended to be required?
Thanks much!
-Charlie
To post a comment you must log in.
If you look at the storage- aggregation. conf.example file, you'll see that all of them have a pattern.
We strongly recommend using the examples as a base, and altering them to fit your needs rather than writing a new conf file from scratch.
Which docs didn't make it clear that a pattern was required?
-Nick