I just installed ARIA on Centos 7 and I get the same error:
Storing service template my-service-template...
*AttributeError*: 'NoneType' object has no attribute '_get_properties'
File "/usr/lib/python2.7/site-packages/aria/parser/consumption/consumer.py",
line 70, in consume
consumer.consume()
File "
/usr/lib/python2.7/site-packages/aria/parser/consumption/validation.py",
line 30, in consume
self.context.presentation.presenter._validate(self.context)
File "
/usr/lib/python2.7/site-packages/aria_extension_tosca/simple_v1_0/presenter.py",
line 65, in _validate
self.service_template._validate(context)
File "
/usr/lib/python2.7/site-packages/aria/parser/presentation/presentation.py",
line 193, in _validate
validate_known_fields(context, self)
File "/usr/lib/python2.7/site-packages/aria/parser/presentation/utils.py",
line 110, in validate_known_fields
field.validate(presentation, context)
File "/usr/lib/python2.7/site-packages/aria/parser/presentation/fields.py",
line 409, in validate
self.default_validate(presentation, context)
File "/usr/lib/python2.7/site-packages/aria/parser/presentation/fields.py",
line 524, in default_validate
self.validate_value(value, context)
File "/usr/lib/python2.7/site-packages/aria/parser/presentation/fields.py",
line 540, in validate_value
inner_value._validate(context)
File "
/usr/lib/python2.7/site-packages/aria_extension_tosca/simple_v1_0/types.py",
line 654, in _validate
self._get_capabilities(context)
File "/usr/lib/python2.7/site-packages/aria/utils/caching.py", line 84,
in __call__
return_value = self.func(*args, **kwargs)
File "
/usr/lib/python2.7/site-packages/aria_extension_tosca/simple_v1_0/types.py",
line 639, in _get_capabilities
return FrozenDict(get_inherited_capability_definitions(context, self))
File "
/usr/lib/python2.7/site-packages/aria_extension_tosca/simple_v1_0/modeling/capabilities.py",
line 90, in get_inherited_capability_definitions
merge_capability_definition_from_type(context, presentation,
capability_definition)
File "
/usr/lib/python2.7/site-packages/aria_extension_tosca/simple_v1_0/modeling/capabilities.py",
line 170, in merge_capability_definition_from_type
type_property_defintions = the_type._get_properties(context)
*Validation issues:*
0: 'NoneType' object has no attribute '_get_properties'
*AttributeError*: 'NoneType' object has no attribute '_get_properties'
4: unknown parent type "tosca:Root" in "WebServer"
@"/home/centos/incubator-ariatosca/examples/hello-world/hello-world.yaml":6:19
4: "type" refers to an unknown capability type in "host":
'tosca:Container'
@"/home/centos/incubator-ariatosca/examples/hello-world/hello-world.yaml":9:15
4: unknown parent type "tosca:WebApplication" in "WebApp"
@"/home/centos/incubator-ariatosca/examples/hello-world/hello-world.yaml":12:19
Failed to parse service template
Also, the gettingstarted.md file in the website repository is using the
wrong name for the hello-world blueprint.
It's missing the hyphen. I'll add the issue tonight.
I clone the master branch to try the hello-world example.
To install ARIA, I executed: pip install apache-ariatosca[ssh]
--
Miguel Jimenez, PhD student
Department of Computer Science
University of Victoria
Engineering/Computer Science Building (ECS), Room 412
Victoria, BC
V8W 3p6 Canada
On Mon, Nov 27, 2017 at 2:24 PM, Tal Liron <[email protected]> wrote:
> Tom, the specific problems we had were not with installation, but rather in
> running workflows. Have you tried to install the Hello World example?
>
> On Mon, Nov 27, 2017 at 2:54 PM, Thomas Nadeau <[email protected]>
> wrote:
>
> >
> > I took an action during the grooming to verify the installation
> of
> > the latest PIP artifacts.
> > I was able to install successfully on Ubuntu 16.04 LTS just now.
> >
> > —Tom
> >
> >
> >
>