OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

tosca-comment message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: error when using tosca parser


Dears,

I have started using toscaparser and I got this error message:
File "/usr/local/lib/python2.7/dist-packages/toscaparser/tosca_template.py", line 101, in __init__
self.topology_template = self._topology_template()
File "/usr/local/lib/python2.7/dist-packages/toscaparser/tosca_template.py", line 120, in _topology_template
None)
File "/usr/local/lib/python2.7/dist-packages/toscaparser/topology_template.py", line 61, in __init__
self.groups = self._groups()
File "/usr/local/lib/python2.7/dist-packages/toscaparser/topology_template.py", line 163, in _groups
self.custom_defs)
File "/usr/local/lib/python2.7/dist-packages/toscaparser/groups.py", line 29, in __init__
custom_defs)
File "/usr/local/lib/python2.7/dist-packages/toscaparser/entity_template.py", line 74, in __init__
if type is not None else None
File "/usr/local/lib/python2.7/dist-packages/toscaparser/elements/grouptype.py", line 35, in __init__
if self.DESCRIPTION in self.defs:
TypeError: argument of type 'NoneType' is not iterable

Kindly find attached my input file.
I would appreciate any kind of help.
Thanks in advance.
best regards.

Attachment: example.yml
Description: application/yaml



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]