incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pradeep Soundararajan <pradeep.soundarara...@citrix.com>
Subject RE: FW: Moving third party dependencies to ASF approved licenses - jnetpcap
Date Wed, 20 Jun 2012 04:36:52 GMT
Prasanna,
 
I have resolved the below issue in my private copy, it is just a syntax error in "printd"
not a backward compatibility issue.  I am also getting some other syntax error in different
py scripts. Just wanted to know the working version of marvin scripts. I hope you are maintaining
it...

build-apidocs:
     [echo] build-apidocs
     [exec]   File "/home/pradeep-ubuntu/workspaces/cloudstack-oss/setup/apidoc/gen_toc.py",
line 157
     [exec]     except ExpatError, e:
     [exec]                      ^
     [exec] SyntaxError: invalid syntax
     [exec] Result: 1
     [echo] Result locates at /home/pradeep-ubuntu/workspaces/cloudstack-oss/dist/commands.xml

build-marvin:
     [echo] Generating Marvin API Classes
     [exec]   File "codegenerator.py", line 270
     [exec]     print "the spec file %s does not exists"%apiSpecFile
     [exec]                                            ^
     [exec] SyntaxError: invalid syntax
     [exec] Result: 1
     [echo] API classes @ /home/pradeep-ubuntu/workspaces/cloudstack-oss/tools/marvin/marvin/cloudstackAPI

package-marvin:
     [echo] Packaging Marvin
     [exec] running sdist
     [exec] running check
     [exec] /usr/lib/python3.1/distutils/dist.py:259: UserWarning: Unknown distribution option:
'install_requires'
     [exec]   warnings.warn(msg)
     [exec] error: package directory 'marvin/cloudstackAPI' does not exist
     [exec] Result: 1
     [echo] distributable tarball at: /home/pradeep-ubuntu/workspaces/cloudstack-oss/tools/marvin/dist/Marvin-*.tar.gz

Thanks,
Pradeep.S

-----Original Message-----
From: Prasanna Santhanam [mailto:Prasanna.Santhanam@citrix.com] 
Sent: Tuesday, June 19, 2012 10:03 PM
To: 'cloudstack-dev@incubator.apache.org'
Subject: Re: FW: Moving third party dependencies to ASF approved licenses - jnetpcap

Pradeep,

You'll need to build it against a 2.7 python. Python 3.0 and 2.7 are not really backwards
compatible. I suspect any of the python in the codebase is python 3.0 compatible. I'll correct
the error message.

Thanks,



----- Original Message -----
From: Pradeep Soundararajan [mailto:pradeep.soundararajan@citrix.com]
Sent: Tuesday, June 19, 2012 09:35 PM
To: cloudstack-dev@incubator.apache.org <cloudstack-dev@incubator.apache.org>
Subject: RE: FW: Moving third party dependencies to ASF approved licenses - jnetpcap

Prasanna,

Please check this error:

package-marvin:
     [echo] Packaging Marvin
     [exec]   File "setup.py", line 10
     [exec]     print "Marvin needs at least python 2.7, found : \n%s"%version
     [exec]                                                          ^
     [exec] SyntaxError: invalid syntax
     [exec] Result: 1
     [echo] distributable tarball at: /home/pradeep-ubuntu/workspaces/cloudstack-oss/tools/marvin/dist/Marvin-*.tar.gz

BUILD SUCCESSFUL
Total time: 42 seconds

pradeep-ubuntu@pradeepubuntu-HVM-domU:~/workspaces/cloudstack-oss$ python --version Python
3.1.2

I am already having  py version 3.1.2.  Please let me know how to resolve this...

Thanks,
Pradeep.S


-----Original Message-----
From: Prasanna Santhanam [mailto:prasanna.santhanam@citrix.com]
Sent: Tuesday, June 19, 2012 3:16 PM
To: cloudstack-dev@incubator.apache.org
Subject: Re: FW: Moving third party dependencies to ASF approved licenses - jnetpcap

On Mon, Jun 18, 2012 at 01:42:58PM -0400, David Nalley wrote:
> On Mon, Jun 18, 2012 at 1:18 PM, Pradeep Soundararajan 
> <pradeep.soundararajan@citrix.com> wrote:
> > I have created the sub-task for this. I will start tracking all these  activities
in its related sub-tasks.
> > Could you please let me know how should I execute marvin against my build?
> >
> > Thanks,
> > Pradeep.S
> >
> 
> Prasanna:
> 
> Can you point Pradeep to directions for running Marvin against his build?
> 
> --David

In order to package and build the marvin source distributable call the ant target - ant package-marvin.

The distributable source sits in tools/marvin/Marvin-0.1.*.tar.gz


--
Prasanna.,

Mime
View raw message