[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [tosca-comment] error when using tosca parser
I assume you have given in this format: tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0 Also remove the “”import”” as you are not using this. Please attach your yaml file. Thanks, Manas From: David Gabriel [mailto:davidgab283@gmail.com]
Thanks so much for your help. When I include the proposed line, I removed also the first one of my input file. However, I got the below errors. Do you have any other remarks regarding my input file ? File "/usr/local/lib/python2.7/dist-packages/toscaparser/tosca_template.py", line 81, in __init__ self.tpl = YAML_LOADER(self.path, self.a_file) File "/usr/local/lib/python2.7/dist-packages/toscaparser/utils/yamlparser.py", line 50, in load_yaml return yaml.load(f.read(), Loader=yaml_loader) File "/usr/local/lib/python2.7/dist-packages/yaml/__init__.py", line 71, in load return loader.get_single_data() File "/usr/local/lib/python2.7/dist-packages/yaml/constructor.py", line 37, in get_single_data node = self.get_single_node() File "/usr/local/lib/python2.7/dist-packages/yaml/composer.py", line 36, in get_single_node document = self.compose_document() File "/usr/local/lib/python2.7/dist-packages/yaml/composer.py", line 58, in compose_document self.get_event() File "/usr/local/lib/python2.7/dist-packages/yaml/parser.py", line 118, in get_event self.current_event = self.state() File "/usr/local/lib/python2.7/dist-packages/yaml/parser.py", line 193, in parse_document_end token = self.peek_token() File "/usr/local/lib/python2.7/dist-packages/yaml/scanner.py", line 128, in peek_token self.fetch_more_tokens() File "/usr/local/lib/python2.7/dist-packages/yaml/scanner.py", line 220, in fetch_more_tokens return self.fetch_value() File "/usr/local/lib/python2.7/dist-packages/yaml/scanner.py", line 576, in fetch_value self.get_mark()) ScannerError: mapping values are not allowed here in "<unicode string>", line 4, column 12: description: example for a NSD. ^ Thanks in advance. 2017-10-31 11:54 GMT+01:00 Manas Mal <MMal@advaoptical.com>:
|
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]