[Planetlab-devel] Unable to run gimport.py when building
geniwrapper
Mingliang Ma
mingliang.ma.research at gmail.com
Wed Jun 24 13:59:51 EDT 2009
Hi Danny,
Thanks for replying me, I tried "python setup.py install" but it gives me
the following SyntaxErrors. do you know how to fix this?
-bash-3.2# python setup.py install
running install
running build
running build_py
running build_scripts
running install_lib
byte-compiling /usr/lib/python2.4/site-packages/geni/util/hierarchy.py to
hierarchy.pyc
File "/usr/lib/python2.4/site-packages/geni/util/hierarchy.py", line 28
class AuthInfo():
^
SyntaxError: invalid syntax
byte-compiling /usr/lib/python2.4/site-packages/geni/util/genitable.py to
genitable.pyc
File "/usr/lib/python2.4/site-packages/geni/util/genitable.py", line 16
class GeniTable():
^
SyntaxError: invalid syntax
byte-compiling /usr/lib/python2.4/site-packages/geni/util/geniclient.py to
geniclient.pyc
File "/usr/lib/python2.4/site-packages/geni/util/geniclient.py", line 69
class GeniClient():
^
SyntaxError: invalid syntax
byte-compiling /usr/lib/python2.4/site-packages/geni/util/trustedroot.py to
trustedroot.pyc
File "/usr/lib/python2.4/site-packages/geni/util/trustedroot.py", line 6
class TrustedRootList():
^
SyntaxError: invalid syntax
byte-compiling /usr/lib/python2.4/site-packages/geni/util/rspec.py to
rspec.pyc
File "/usr/lib/python2.4/site-packages/geni/util/rspec.py", line 8
class Rspec():
^
SyntaxError: invalid syntax
running install_scripts
changing mode of /usr/bin/geni-config-tty to 755
changing mode of /usr/bin/gimport.py to 755
changing mode of /usr/bin/sfi.py to 755
changing mode of /usr/bin/plc.py to 755
running install_data
On Wed, Jun 24, 2009 at 1:41 PM, Danny Y. Huang <yh1 at williams.edu> wrote:
> Hi Ming,
>
> In addition to your steps, I also ran the setup script in the directory
> "geniwrapper/trunk". Do "sudo python setup.py install" and that works for
> me. I hope this helps.
>
> Best,
> Danny
> http://sysnet1.cs.williams.edu
>
>
> On Wed, Jun 24, 2009 at 1:27 PM, Mingliang Ma <
> mingliang.ma.research at gmail.com> wrote:
>
>> Hi,
>>
>> I'm using vserver with Centos 5. the MyPLC 4.3 is running fine. i'm trying
>> to install geniwrapper. I followed the tutorial from http://www.maxgigapop.net/twiki/bin/view/GENI/Deploying-MyPLC
>> . But it give me an "ImportError: No module named geni.util.cert"
>> when i executing gimport.py
>>
>> below are the steps i did:
>>
>> 1. I installed pyOpenSSL, m2crypto, make, and gcc.
>> 2. i check out the geniwrapper from the svn repository "
>> http://svn.planet-lab.org/svn/geniwrapper/trunk" to "
>> /usr/local/share/<geniwrapper>"
>> 3. Add the path to the systems PYTHONPATH. "ln -s
>> /usr/local/share/geniwrapper/geni /usr/lib/python2.5/site-packages/geni"
>> 4. then I execute "python gimport.py"
>>
>> the output:
>>
>> bash-3.2# python gimport.py
>> Traceback (most recent call last):
>> File "gimport.py", line 22, in ?
>> from geni.util.cert import *
>> ImportError: No module named geni.util.cert
>>
>> is there any steps i missed? I'm very appreciate if someone can help me
>> out?
>>
>> Thank you,
>>
>>
>> Ming
>>
>>
>>
>>
>>
>> _______________________________________________
>> Devel mailing list
>> Devel at lists.planet-lab.org
>> https://lists.planet-lab.org/mailman/listinfo/devel
>>
>>
>
> _______________________________________________
> Devel mailing list
> Devel at lists.planet-lab.org
> https://lists.planet-lab.org/mailman/listinfo/devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.planet-lab.org/pipermail/devel/attachments/20090624/2163cee1/attachment-0001.html
More information about the Devel
mailing list