collective / collective.hostout

zc.buildout deployment and remote control
22 stars 7 forks source link

Deploy to Ubuntu 10.10 fails #4

Closed misaelnieto closed 13 years ago

misaelnieto commented 13 years ago

I'm not pretty sure if it's the right place to ask for help, but here I go:

I'm trying to use collective.hostout to a Ubuntu 10.10 machine. The deploy step fails because some part of hostout wants to install python-elementtree and python-elementtree, which, no longer exists in ubuntu 10.10.

These two packages exist instead: v python2.6-celementtree
v python2.6-elementtree

So, How do we deploy to ubuntu server 10.10? Is there a way to patch something?

djay commented 13 years ago

Hi,

Try checking out the latest version from git. Those packages are no longer being installed.

misaelnieto commented 13 years ago

Hi, I get this error while trying to run the latest version from github:

$ bin/hostout holokinesislibros bootstrap /home/tzicatl/Aplicaciones/Buildout/egss/pycrypto-2.3-py2.6-linux-x86_64.egg/Crypto/Util/randpool.py:40: RandomPool_DeprecationWarning: This application uses RandomPool, which is BROKEN in older releases. See http://www.pycrypto.org/randpool-broken RandomPool_DeprecationWarning) Hostout: Running command 'bootstrap' from 'hostout.ubuntu.fabfile' Traceback (most recent call last): File "bin/hostout", line 19, in collective.hostout.hostout.main('/home/tzicatl/Documentos/programar/pu/holokinesis_libros/parts/hostout/hostout.cfg',sys.argv[1:]) File "/home/tzicatl/Documentos/programar/pu/holokinesis_libros/src/collective.hostout/collective/hostout/hostout.py", line 645, in main res = hostout.runcommand(cmd, _cmdargs) File "/home/tzicatl/Documentos/programar/pu/holokinesis_libros/src/collective.hostout/collective/hostout/hostout.py", line 375, in runcommand res = superfun(funcs, cmdargs, _vargs) File "/home/tzicatl/Documentos/programar/pu/holokinesis_libros/src/collective.hostout/collective/hostout/hostout.py", line 370, in superfun res = func(_cmdargs, *_vargs) File "/home/tzicatl/Documentos/programar/pu/holokinesis_libros/src/hostout.ubuntu/hostout/ubuntu/fabfile.py", line 32, in bootstrap hostout.setupusers() File "/home/tzicatl/Documentos/programar/pu/holokinesis_libros/src/collective.hostout/collective/hostout/hostout.py", line 383, in getattr raise AttributeError() AttributeError

I Have both, collective.hostout and hostout.ubuntu checked out with mr.developer

arterrey commented 13 years ago

Hey tzicatl,

collective.hostout supports Ubuntu without the need for an extra package. hostout.ubuntu is now redundant - try remove the package.

Adam

misaelnieto commented 13 years ago

I see.

Testing right now.