celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pepijn Noltes (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CELIX-346) celix-bootstrap problems
Date Mon, 10 Oct 2016 10:11:20 GMT

    [ https://issues.apache.org/jira/browse/CELIX-346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15561879#comment-15561879
] 

Pepijn Noltes commented on CELIX-346:
-------------------------------------

Removing celix-boottstrap from develop branch. I expect the INAETICS CPF will replace this.
Note that celix-bootstrap is still in a branch

> celix-bootstrap problems
> ------------------------
>
>                 Key: CELIX-346
>                 URL: https://issues.apache.org/jira/browse/CELIX-346
>             Project: Celix
>          Issue Type: Bug
>         Environment: CentOS 7.2
>            Reporter: Gerrit Binnenmars
>            Priority: Minor
>
> 3 Issues:
> a. documentation
> b. create_bundle problem
> c. update bundle problem
> a. Typos in readme:
> Installation option 2: python -m celix.bootstrap (dot instead of dash)
> Please add complete download path:
> wget https://pypi.python.org/packages/source/c/cogapp/cogapp-2.4.tar.gz
> b. Problem creating bundle:
> maintain@INAETICS-Gerrit:/home/component_manager$ cb create_bundle my_component
> Creating file my_component bundle.yaml
> Creating file my_component/bundle.yaml
> Cogging my_component/bundle.yaml
> Please enter bundleName [mybundle]: 
> Please enter symbolicName [org.example.mybundle]: 
> Traceback (most recent call last):
>   File "/home/maintain/tools/cog/cogapp-2.4/cogapp/cogapp.py", line 710, in main
>     self.callableMain(argv)
>   File "/home/maintain/tools/cog/cogapp-2.4/cogapp/cogapp.py", line 701, in callableMain
>     self.processArguments([a])
>   File "/home/maintain/tools/cog/cogapp-2.4/cogapp/cogapp.py", line 675, in processArguments
>     self.processOneFile(args[0])
>   File "/home/maintain/tools/cog/cogapp-2.4/cogapp/cogapp.py", line 624, in processOneFile
>     sNewText = self.processString(sOldText, fname=sFile)
>   File "/home/maintain/tools/cog/cogapp-2.4/cogapp/cogapp.py", line 563, in processString
>     self.processFile(fOld, fNew, fname=fname)
>   File "/home/maintain/tools/cog/cogapp-2.4/cogapp/cogapp.py", line 503, in processFile
>     sGen = gen.evaluate(cog=self, globals=globals, fname=sFile)
>   File "/home/maintain/tools/cog/cogapp-2.4/cogapp/cogapp.py", line 137, in evaluate
>     code = compile(intext, str(fname), 'exec')
>   File "my_component/bundle.yaml+22", line 7
>     while yn('Should component \'%s\' provide %s service?' % (componentName, 'a' if 'psInclude'
not in vars() else 'another')):
>                                                                                     
                                         ^
> IndentationError: unindent does not match any outer indentation level
> Reproduce:
> 1. cb create_project .
> 2. cb update .
> 3. cb build gen
> 4. cb create_bundle my_component
> c. updating resulting component (likely result of problem b)
> Generating/updating bundle code
> Creating file my_component CMakeLists.txt
> Creating file my_component/CMakeLists.txt
> Cogging my_component/CMakeLists.txt  (changed)
> Creating file my_component private/src/bundle_activator.c
> Creating file my_component/private/src/bundle_activator.c
> Cogging my_component/private/src/bundle_activator.c
> Traceback (most recent call last):
>   File "/home/maintain/tools/cog/cogapp-2.4/cogapp/cogapp.py", line 710, in main
>     self.callableMain(argv)
>   File "/home/maintain/tools/cog/cogapp-2.4/cogapp/cogapp.py", line 701, in callableMain
>     self.processArguments([a])
>   File "/home/maintain/tools/cog/cogapp-2.4/cogapp/cogapp.py", line 675, in processArguments
>     self.processOneFile(args[0])
>   File "/home/maintain/tools/cog/cogapp-2.4/cogapp/cogapp.py", line 624, in processOneFile
>     sNewText = self.processString(sOldText, fname=sFile)
>   File "/home/maintain/tools/cog/cogapp-2.4/cogapp/cogapp.py", line 563, in processString
>     self.processFile(fOld, fNew, fname=fname)
>   File "/home/maintain/tools/cog/cogapp-2.4/cogapp/cogapp.py", line 503, in processFile
>     sGen = gen.evaluate(cog=self, globals=globals, fname=sFile)
>   File "/home/maintain/tools/cog/cogapp-2.4/cogapp/cogapp.py", line 146, in evaluate
>     eval(code, globals)
>   File "my_component/private/src/bundle_activator.c+143", line 4, in <module>
> NameError: name 'comp' is not defined



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message