negronjl@negronjl-laptop:~/src/ensemble/formulas$ ensemble --verbose deploy --repository . mysql
2011-07-14 14:56:25,802 DEBUG Initializing ensemble deploy runtime
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/ensemble/control/command.py", line 48, in _run
d = defer.maybeDeferred(self.callback, self.options)
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 133, in maybeDeferred
result = f(*args, **kw)
File "/usr/lib/pymodules/python2.7/ensemble/control/deploy.py", line 51, in command
options.log)
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1141, in unwindGenerator
return _inlineCallbacks(None, f(*args, **kwargs), Deferred())
--- <exception caught here> ---
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1020, in _inlineCallbacks
result = g.send(result)
File "/usr/lib/pymodules/python2.7/ensemble/control/deploy.py", line 64, in deploy
formula = repository.find(formula_name)
File "/usr/lib/pymodules/python2.7/ensemble/formula/repository.py", line 33, in find
for formula in self:
File "/usr/lib/pymodules/python2.7/ensemble/formula/repository.py", line 18, in __iter__
yield get_formula_from_path(dentry_path)
File "/usr/lib/pymodules/python2.7/ensemble/formula/provider.py", line 26, in get_formula_from_path
return FormulaDirectory(specification)
File "/usr/lib/pymodules/python2.7/ensemble/formula/directory.py", line 24, in __init__
self.metadata = MetaData(os.path.join(path, "metadata.yaml"))
File "/usr/lib/pymodules/python2.7/ensemble/formula/metadata.py", line 166, in __init__
self.load(path)
File "/usr/lib/pymodules/python2.7/ensemble/formula/metadata.py", line 237, in load
self.parse(f.read(), path)
File "/usr/lib/pymodules/python2.7/ensemble/formula/metadata.py", line 248, in parse
return self.parse_serialization_data(yaml.load(content), path)
File "/usr/lib/python2.7/dist-packages/yaml/__init__.py", line 58, in load
return loader.get_single_data()
File "/usr/lib/python2.7/dist-packages/yaml/constructor.py", line 42, in get_single_data
node = self.get_single_node()
File "/usr/lib/python2.7/dist-packages/yaml/composer.py", line 36, in get_single_node
document = self.compose_document()
File "/usr/lib/python2.7/dist-packages/yaml/composer.py", line 55, in compose_document
node = self.compose_node(None, None)
File "/usr/lib/python2.7/dist-packages/yaml/composer.py", line 84, in compose_node
node = self.compose_mapping_node(anchor)
File "/usr/lib/python2.7/dist-packages/yaml/composer.py", line 127, in compose_mapping_node
while not self.check_event(MappingEndEvent):
File "/usr/lib/python2.7/dist-packages/yaml/parser.py", line 93, in check_event
self.current_event = self.state()
File "/usr/lib/python2.7/dist-packages/yaml/parser.py", line 434, in parse_block_mapping_key
"expected <block end>, but found %r" % token.id, token.start_mark)
yaml.parser.ParserError: while parsing a block mapping
in "<string>", line 1, column 1:
ensemble: formula
^
expected <block end>, but found '<block mapping start>'
in "<string>", line 9, column 3:
requires:
^
2011-07-14 14:56:25,884 ERROR Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/ensemble/control/command.py", line 48, in _run
d = defer.maybeDeferred(self.callback, self.options)
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 133, in maybeDeferred
result = f(*args, **kw)
File "/usr/lib/pymodules/python2.7/ensemble/control/deploy.py", line 51, in command
options.log)
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1141, in unwindGenerator
return _inlineCallbacks(None, f(*args, **kwargs), Deferred())
--- <exception caught here> ---
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1020, in _inlineCallbacks
result = g.send(result)
File "/usr/lib/pymodules/python2.7/ensemble/control/deploy.py", line 64, in deploy
formula = repository.find(formula_name)
File "/usr/lib/pymodules/python2.7/ensemble/formula/repository.py", line 33, in find
for formula in self:
File "/usr/lib/pymodules/python2.7/ensemble/formula/repository.py", line 18, in __iter__
yield get_formula_from_path(dentry_path)
File "/usr/lib/pymodules/python2.7/ensemble/formula/provider.py", line 26, in get_formula_from_path
return FormulaDirectory(specification)
File "/usr/lib/pymodules/python2.7/ensemble/formula/directory.py", line 24, in __init__
self.metadata = MetaData(os.path.join(path, "metadata.yaml"))
File "/usr/lib/pymodules/python2.7/ensemble/formula/metadata.py", line 166, in __init__
self.load(path)
File "/usr/lib/pymodules/python2.7/ensemble/formula/metadata.py", line 237, in load
self.parse(f.read(), path)
File "/usr/lib/pymodules/python2.7/ensemble/formula/metadata.py", line 248, in parse
return self.parse_serialization_data(yaml.load(content), path)
File "/usr/lib/python2.7/dist-packages/yaml/__init__.py", line 58, in load
return loader.get_single_data()
File "/usr/lib/python2.7/dist-packages/yaml/constructor.py", line 42, in get_single_data
node = self.get_single_node()
File "/usr/lib/python2.7/dist-packages/yaml/composer.py", line 36, in get_single_node
document = self.compose_document()
File "/usr/lib/python2.7/dist-packages/yaml/composer.py", line 55, in compose_document
node = self.compose_node(None, None)
File "/usr/lib/python2.7/dist-packages/yaml/composer.py", line 84, in compose_node
node = self.compose_mapping_node(anchor)
File "/usr/lib/python2.7/dist-packages/yaml/composer.py", line 127, in compose_mapping_node
while not self.check_event(MappingEndEvent):
File "/usr/lib/python2.7/dist-packages/yaml/parser.py", line 93, in check_event
self.current_event = self.state()
File "/usr/lib/python2.7/dist-packages/yaml/parser.py", line 434, in parse_block_mapping_key
"expected <block end>, but found %r" % token.id, token.start_mark)
yaml.parser.ParserError: while parsing a block mapping
in "<string>", line 1, column 1:
ensemble: formula
^
expected <block end>, but found '<block mapping start>'
in "<string>", line 9, column 3:
requires:
^
while parsing a block mapping
in "<string>", line 1, column 1:
ensemble: formula
^
expected <block end>, but found '<block mapping start>'
in "<string>", line 9, column 3:
requires:
^
2011-07-14 14:56:25,885 ERROR while parsing a block mapping
in "<string>", line 1, column 1:
ensemble: formula
^
expected <block end>, but found '<block mapping start>'
in "<string>", line 9, column 3:
requires:
^
Just in case...here is the output.
negronjl@ negronjl- laptop: ~/src/ensemble/ formulas$ ensemble --verbose deploy --repository . mysql pymodules/ python2. 7/ensemble/ control/ command. py", line 48, in _run rred(self. callback, self.options) python2. 7/dist- packages/ twisted/ internet/ defer.py" , line 133, in maybeDeferred pymodules/ python2. 7/ensemble/ control/ deploy. py", line 51, in command python2. 7/dist- packages/ twisted/ internet/ defer.py" , line 1141, in unwindGenerator s(None, f(*args, **kwargs), Deferred()) python2. 7/dist- packages/ twisted/ internet/ defer.py" , line 1020, in _inlineCallbacks pymodules/ python2. 7/ensemble/ control/ deploy. py", line 64, in deploy find(formula_ name) pymodules/ python2. 7/ensemble/ formula/ repository. py", line 33, in find pymodules/ python2. 7/ensemble/ formula/ repository. py", line 18, in __iter__ from_path( dentry_ path) pymodules/ python2. 7/ensemble/ formula/ provider. py", line 26, in get_formula_ from_path y(specification ) pymodules/ python2. 7/ensemble/ formula/ directory. py", line 24, in __init__ os.path. join(path, "metadata.yaml")) pymodules/ python2. 7/ensemble/ formula/ metadata. py", line 166, in __init__ pymodules/ python2. 7/ensemble/ formula/ metadata. py", line 237, in load parse(f. read(), path) pymodules/ python2. 7/ensemble/ formula/ metadata. py", line 248, in parse serialization_ data(yaml. load(content) , path) python2. 7/dist- packages/ yaml/__ init__. py", line 58, in load get_single_ data() python2. 7/dist- packages/ yaml/constructo r.py", line 42, in get_single_data single_ node() python2. 7/dist- packages/ yaml/composer. py", line 36, in get_single_node document( ) python2. 7/dist- packages/ yaml/composer. py", line 55, in compose_document node(None, None) python2. 7/dist- packages/ yaml/composer. py", line 84, in compose_node mapping_ node(anchor) python2. 7/dist- packages/ yaml/composer. py", line 127, in compose_ mapping_ node event(MappingEn dEvent) : python2. 7/dist- packages/ yaml/parser. py", line 93, in check_event current_ event = self.state() python2. 7/dist- packages/ yaml/parser. py", line 434, in parse_block_ mapping_ key ParserError: while parsing a block mapping pymodules/ python2. 7/ensemble/ control/ command. py", line 48, in _run rred(self. callback, self.options) python2. 7/dist- packages/ twisted/ internet/ defer.py" , line 133, in maybeDeferred pymodules/ python2. 7/ensemble/ control/ deploy. py", line 51, in command python2. 7/dist- packages/ twisted/ internet/ defer.py" , line 1141, in unwindGenerator s(None, f(*args, **kwargs), Deferred()) python2. 7/dist- packages/ twisted/ internet/ defer.py" , line 1020, in _inlineCallbacks pymodules/ python2. 7/ensemble/ control/ deploy. py", line 64, in deploy find(formula_ name) pymodules/ python2. 7/ensemble/ formula/ repository. py", line 33, in find pymodules/ python2. 7/ensemble/ formula/ repository. py", line 18, in __iter__ from_path( dentry_ path) pymodules/ python2. 7/ensemble/ formula/ provider. py", line 26, in get_formula_ from_path y(specification ) pymodules/ python2. 7/ensemble/ formula/ directory. py", line 24, in __init__ os.path. join(path, "metadata.yaml")) pymodules/ python2. 7/ensemble/ formula/ metadata. py", line 166, in __init__ pymodules/ python2. 7/ensemble/ formula/ metadata. py", line 237, in load parse(f. read(), path) pymodules/ python2. 7/ensemble/ formula/ metadata. py", line 248, in parse serialization_ data(yaml. load(content) , path) python2. 7/dist- packages/ yaml/__ init__. py", line 58, in load get_single_ data() python2. 7/dist- packages/ yaml/constructo r.py", line 42, in get_single_data single_ node() python2. 7/dist- packages/ yaml/composer. py", line 36, in get_single_node document( ) python2. 7/dist- packages/ yaml/composer. py", line 55, in compose_document node(None, None) python2. 7/dist- packages/ yaml/composer. py", line 84, in compose_node mapping_ node(anchor) python2. 7/dist- packages/ yaml/composer. py", line 127, in compose_ mapping_ node event(MappingEn dEvent) : python2. 7/dist- packages/ yaml/parser. py", line 93, in check_event current_ event = self.state() python2. 7/dist- packages/ yaml/parser. py", line 434, in parse_block_ mapping_ key ParserError: while parsing a block mapping
2011-07-14 14:56:25,802 DEBUG Initializing ensemble deploy runtime
Traceback (most recent call last):
File "/usr/lib/
d = defer.maybeDefe
File "/usr/lib/
result = f(*args, **kw)
File "/usr/lib/
options.log)
File "/usr/lib/
return _inlineCallback
--- <exception caught here> ---
File "/usr/lib/
result = g.send(result)
File "/usr/lib/
formula = repository.
File "/usr/lib/
for formula in self:
File "/usr/lib/
yield get_formula_
File "/usr/lib/
return FormulaDirector
File "/usr/lib/
self.metadata = MetaData(
File "/usr/lib/
self.load(path)
File "/usr/lib/
self.
File "/usr/lib/
return self.parse_
File "/usr/lib/
return loader.
File "/usr/lib/
node = self.get_
File "/usr/lib/
document = self.compose_
File "/usr/lib/
node = self.compose_
File "/usr/lib/
node = self.compose_
File "/usr/lib/
while not self.check_
File "/usr/lib/
self.
File "/usr/lib/
"expected <block end>, but found %r" % token.id, token.start_mark)
yaml.parser.
in "<string>", line 1, column 1:
ensemble: formula
^
expected <block end>, but found '<block mapping start>'
in "<string>", line 9, column 3:
requires:
^
2011-07-14 14:56:25,884 ERROR Traceback (most recent call last):
File "/usr/lib/
d = defer.maybeDefe
File "/usr/lib/
result = f(*args, **kw)
File "/usr/lib/
options.log)
File "/usr/lib/
return _inlineCallback
--- <exception caught here> ---
File "/usr/lib/
result = g.send(result)
File "/usr/lib/
formula = repository.
File "/usr/lib/
for formula in self:
File "/usr/lib/
yield get_formula_
File "/usr/lib/
return FormulaDirector
File "/usr/lib/
self.metadata = MetaData(
File "/usr/lib/
self.load(path)
File "/usr/lib/
self.
File "/usr/lib/
return self.parse_
File "/usr/lib/
return loader.
File "/usr/lib/
node = self.get_
File "/usr/lib/
document = self.compose_
File "/usr/lib/
node = self.compose_
File "/usr/lib/
node = self.compose_
File "/usr/lib/
while not self.check_
File "/usr/lib/
self.
File "/usr/lib/
"expected <block end>, but found %r" % token.id, token.start_mark)
yaml.parser.
in "<string>", line 1, column 1:
ensemble: formula
^
expected <block end>, but found '<block mapping start>'
in "<string>", line 9, column 3:
requires:
^
while parsing a block mapping
in "<string>", line 1, column 1:
ensemble: formula
^
expected <block end>, but found '<block mapping start>'
in "<string>", line 9, column 3:
requires:
^
2011-07-14 14:56:25,885 ERROR while parsing a block mapping
in "<string>", line 1, column 1:
ensemble: formula
^
expected <block end>, but found '<block mapping start>'
in "<string>", line 9, column 3:
requires:
^