It's all clear to me now. Thanks for the explanation. Now, I have two separate environments. I managed to get ARIA (v0.2.0) running with the virtual environment on my mac, and the user release on a CentOS 7 VM.
-- Miguel Jimenez, PhD student Department of Computer Science University of Victoria Engineering/Computer Science Building (ECS), Room 412 Victoria, BC V8W 3p6 Canada On Tue, Nov 28, 2017 at 4:20 AM, Thomas Nadeau <tnad...@lucidvision.com> wrote: > > Ah I see what you did here. I made a similar mistake early on. > > The set of pip commands is to install the finished, released > edition from the PyPy distribution. That is what we we refer to as the > “user” release. > > The install you do later with git, etc… is what you do for a > “developer release” or “source build” (i.e.: you build and assemble aria > from scratch locally). > > Generally speaking, you choose one or the other just to ensure you > don’t clobber the other one but I am sure you can install > run both successfully if you are careful. But for the purposes of working > on the project, the advice is to stick with one or the other. I actually > created a separate VM for my “user” installation that is a clean VM that > just installs pip and aria for testing. We created a Docker container > version of this just last week making doing that even easier. > > —Tom > > > > On Nov 27, 2017, at 8:48 PM, Miguel Angel Jimenez Achinte < > mig...@rigiresearch.com> wrote: > > > > Okay, it's working now. > > I needed to check out the tag 0.1.1. The complete list of commands is: > > > > sudo pip install --upgrade setuptools > > sudo pip install apache-ariatosca[ssh] > > ... > > aria --version > > v0.1.1 > > ... > > git clone https://github.com/apache/incubator-ariatosca; cd > > incubator-ariatosca > > git checkout tags/0.1.1 > > aria service-templates store examples/hello-world/helloworld.yaml > > my-service-template > > > > Notice that in tag 0.1.1, the blueprint's name is helloworld.yaml, > without > > the hyphen. > > > > > > -- > > 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 3:28 PM, Vishwanath Jayaraman < > > vishwana...@hotmail.com> wrote: > > > >> Ok, got it. > >> > >> > >> Vish > >> > >> > >> ________________________________ > >> From: Tal Liron <t...@cloudify.co> > >> Sent: Monday, November 27, 2017 5:19 PM > >> To: dev@ariatosca.incubator.apache.org > >> Subject: Re: ARIA-354 Verified > >> > >> Vish, I'm pretty sure the version suffix is not required, because 0.1.1 > is > >> the highest version. > >> > >> On Mon, Nov 27, 2017 at 5:08 PM, Vishwanath Jayaraman < > >> vishwana...@hotmail.com> wrote: > >> > >>> > >>> You need to execute > >>> > >>> pip install apache-ariatosca[ssh]==0.1.1 > >>> > >>> Sent from my iPhone > >>> > >>> On Nov 27, 2017, at 4:49 PM, Miguel Angel Jimenez Achinte < > >>> mig...@rigiresearch.com<mailto:mig...@rigiresearch.com>> wrote: > >>> > >>> I executed: pip install apache-ariatosca[ssh] > >>> Should I use "pip install apache-ariatosca[ssh]==0.1.1 --no-binary > >>> apache-ariatosca" instead? > >>> > >>> > >>> -- > >>> 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:47 PM, Tal Liron <t...@cloudify.co<mailto: > tal@ > >>> cloudify.co>> wrote: > >>> > >>> Miguel, how did you install ARIA? > >>> > >>> On Mon, Nov 27, 2017 at 4:44 PM, Miguel Angel Jimenez Achinte < > >>> mig...@rigiresearch.com<mailto:mig...@rigiresearch.com>> wrote: > >>> > >>> 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 <t...@cloudify.co<mailto: > tal@ > >>> cloudify.co>> 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 <tnadeaua...@gmail.com > >>> <mailto:tnadeaua...@gmail.com>> > >>> 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 > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >> > >