<p dir="ltr">Sigo con el Docker de la 2.7 entonces. Borraré el otro. :D</p>
<div class="gmail_quote">El 26/06/2015 00:28, "Mi nospa" <<a href="mailto:pipisspam@gmail.com">pipisspam@gmail.com</a>> escribió:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">La 2.7 creo que la 3.0 no sirve para este codigo. Tampoco se si<br>
pasarlo a 3.0 tendria alguna ventaja sustancial.<br>
<br>
Este tutorial esta muy bien no se si te hace falta repasar algo.<br>
<br>
Buenas noches.<br>
<br>
<br>
El 26/6/15, Miguel Manzano <<a href="mailto:mmanzano@gmail.com">mmanzano@gmail.com</a>> escribió:<br>
> Yo sin código andaba a ciegas. Mañana miraré a ver si me aclaro. Cuanto<br>
> menos invoquemos a Jcea mejor. Jajaja :D ¿Qué versión de Python estás<br>
> usando?<br>
> El 26/06/2015 00:13, "Mi nospa" <<a href="mailto:pipisspam@gmail.com">pipisspam@gmail.com</a>> escribió:<br>
><br>
>> Realmente no me queda claro donde esta la base de datos.<br>
>><br>
>> Esa opcion no se si hay que pasarsela al pip o al setup.py, que es un<br>
>> programa que cuando los busco en el /tmp, ya ha desaparecido.<br>
>><br>
>> Gracias por el enlace. A ver si avanzo algo.<br>
>><br>
>><br>
>><br>
>> 2015-06-25 20:29 GMT+02:00, Miguel Manzano <<a href="mailto:mmanzano@gmail.com">mmanzano@gmail.com</a>>:<br>
>> ><br>
>> <a href="http://stackoverflow.com/questions/15195530/sudo-easy-install-bsddb3-error-cant-find-a-local-berkeley-db-installation" rel="noreferrer" target="_blank">http://stackoverflow.com/questions/15195530/sudo-easy-install-bsddb3-error-cant-find-a-local-berkeley-db-installation</a><br>
>> ><br>
>> > ¿Has probado esto?<br>
>> ><br>
>> > Saludos.<br>
>> ><br>
>> > 2015-06-25 19:58 GMT+02:00 Miguel Manzano <<a href="mailto:mmanzano@gmail.com">mmanzano@gmail.com</a>>:<br>
>> ><br>
>> >> Ahora es cuando me echáis. ¿Como te has bajado el proyecto? ;D<br>
>> >><br>
>> >> svn checkout svn://<a href="http://svn.jcea.es/jcea/cpif/trunk" rel="noreferrer" target="_blank">svn.jcea.es/jcea/cpif/trunk</a> cpif-trunk<br>
>> >> svn: E670002: Unable to connect to a repository at URL 'svn://<br>
>> >> <a href="http://svn.jcea.es/jcea/cpif/trunk" rel="noreferrer" target="_blank">svn.jcea.es/jcea/cpif/trunk</a>'<br>
>> >> svn: E670002: Nombre de máquina '<a href="http://svn.jcea.es" rel="noreferrer" target="_blank">svn.jcea.es</a>' desconocido<br>
>> >><br>
>> >> :(<br>
>> >><br>
>> >> Estoy con el mismo problema que tu en docker pero me parece que igual<br>
>> hay<br>
>> >> que bajarse primero el tar.gz, ponerlo donde dice y pasarle el<br>
>> >> parámetro<br>
>> >> que se recomienda (--berkeley-db=/path/to/bsddb) en el error y<br>
>> >> entonces<br>
>> >> instalar bsddb3 :D<br>
>> >><br>
>> >> 2015-06-25 17:30 GMT+02:00 Mi nospa <<a href="mailto:pipisspam@gmail.com">pipisspam@gmail.com</a>>:<br>
>> >><br>
>> >>> El 21/6/15, Jesus Cea <<a href="mailto:jcea@jcea.es">jcea@jcea.es</a>> escribió:<br>
>> >>> > On 11/06/15 19:11, Mi nospa wrote:<br>
>> >>> >> storage                   - Libraries to interact with Enterprise<br>
>> >>> Storage<br>
>> >>> >>                             Arrays, FC Switches and Servers.<br>
>> >>> >>   INSTALLED: 0.0.4.3<br>
>> >>> >>   LATEST:    0.0.5a2<br>
>> >>> ><br>
>> >>> > No sé qué es eso que has instalado pero no es nada que necesite<br>
>> >>> > CPIF.<br>
>> >>><br>
>> >>> ><br>
>> >>> > Podría considerar retomar el proyecto si se contase con el apoyo<br>
>> >>> > adecuado pero lo cierto es que os veo verdísimos :-).<br>
>> >>><br>
>> >>><br>
>> >>> No hace falta que lo digas, por lo menos yo si estoy verdisimo :P<br>
>> >>><br>
>> >>><br>
>> >>> Define apoyo adecuado. :)<br>
>> >>><br>
>> >>><br>
>> >>> Voy a poner los errores que me da .<br>
>> >>><br>
>> >>> ------<br>
>> >>> dani@Lubuntu:~/mercurial/cpif$ cd frontend-web/<br>
>> >>> dani@Lubuntu:~/mercurial/cpif/frontend-web$ python init.py<br>
>> >>> /home/dani/mercurial/cpif/backend/upgrade.py 0<br>
>> >>> Traceback (most recent call last):<br>
>> >>>   File "init.py", line 97, in <module><br>
>> >>>     main()<br>
>> >>>   File "init.py", line 31, in main<br>
>> >>><br>
>> >>><br>
>> dummy,dummy,monitor=storage.storage_and_monitor(os.path.join(os.path.pardir,"backend","db"))<br>
>> >>> AttributeError: 'module' object has no attribute<br>
>> >>> 'storage_and_monitor'<br>
>> >>> dani@Lubuntu:~/mercurial/cpif/frontend-web$ sudo pip install durus<br>
>> >>> bsddb3<br>
>> >>> Requirement already satisfied (use --upgrade to upgrade): durus in<br>
>> >>> /usr/local/lib/python2.7/dist-packages<br>
>> >>> Downloading/unpacking bsddb3<br>
>> >>>   Downloading bsddb3-6.1.0.tar.gz (340kB): 340kB downloaded<br>
>> >>>   Running setup.py (path:/tmp/pip_build_root/bsddb3/setup.py)<br>
>> >>> egg_info<br>
>> >>> for package bsddb3<br>
>> >>>     Can't find a local Berkeley DB installation.<br>
>> >>>     (suggestion: try the --berkeley-db=/path/to/bsddb option)<br>
>> >>>     Complete output from command python setup.py egg_info:<br>
>> >>>     Can't find a local Berkeley DB installation.<br>
>> >>><br>
>> >>> (suggestion: try the --berkeley-db=/path/to/bsddb option)<br>
>> >>><br>
>> >>> ----------------------------------------<br>
>> >>> Cleaning up...<br>
>> >>> Command python setup.py egg_info failed with error code 1 in<br>
>> >>> /tmp/pip_build_root/bsddb3<br>
>> >>> Storing debug log for failure in /home/dani/.pip/pip.log<br>
>> >>> dani@Lubuntu:~/mercurial/cpif/frontend-web$ ls ../backend/<br>
>> >>> database.py  durus-berkeleydbstorage                  monitor.py<br>
>> >>> storage.py<br>
>> >>> db           durus-berkeleydbstorage-20070503.tar.gz  smtp.py<br>
>> >>>  upgrade.py<br>
>> >>> dani@Lubuntu:~/mercurial/cpif/frontend-web$ ls ../backend/db<br>
>> >>> dani@Lubuntu:~/mercurial/cpif/frontend-web$ ls<br>
>> >>> ../backend/durus-berkeleydbstorage<br>
>> >>> berkeleydb_storage.py   KNOW_HOW-DURUS  server.py  test3.py<br>
>> >>> UPGRADING<br>
>> >>> berkeleydb_storage.pyc  LICENSE         test1.py   test4.py<br>
>> >>> CHANGES                 README          test2.py   TODO<br>
>> >>><br>
>> >>> dani@Lubuntu:~/mercurial/cpif/backend$ cat<br>
>> >>> durus-berkeleydbstorage/berkeleydb_storage.py |grep "DB_LOG"<br>
>> >>>       self._dbenv.log_set_config(bsddb.db.DB_LOG_AUTOREMOVE,True)<br>
>> >>> dani@Lubuntu:~/mercurial/cpif/backend$<br>
>> >>><br>
>> >>> Gracias de antemano por echarle un vistazo.<br>
>> >>> _______________________________________________<br>
>> >>> cpif mailing list<br>
>> >>> <a href="mailto:cpif@jcea.es">cpif@jcea.es</a> -- <a href="http://www.jcea.es/wikis/cpif/" rel="noreferrer" target="_blank">http://www.jcea.es/wikis/cpif/</a><br>
>> >>> <a href="https://mailman.jcea.es/listinfo/cpif" rel="noreferrer" target="_blank">https://mailman.jcea.es/listinfo/cpif</a><br>
>> >>><br>
>> >><br>
>> >><br>
>> >><br>
>> >> --<br>
>> >> Miguel Manzano Garcia<br>
>> >><br>
>> ><br>
>> ><br>
>> ><br>
>> > --<br>
>> > Miguel Manzano Garcia<br>
>> ><br>
>> _______________________________________________<br>
>> cpif mailing list<br>
>> <a href="mailto:cpif@jcea.es">cpif@jcea.es</a> -- <a href="http://www.jcea.es/wikis/cpif/" rel="noreferrer" target="_blank">http://www.jcea.es/wikis/cpif/</a><br>
>> <a href="https://mailman.jcea.es/listinfo/cpif" rel="noreferrer" target="_blank">https://mailman.jcea.es/listinfo/cpif</a><br>
>><br>
><br>
_______________________________________________<br>
cpif mailing list<br>
<a href="mailto:cpif@jcea.es">cpif@jcea.es</a> -- <a href="http://www.jcea.es/wikis/cpif/" rel="noreferrer" target="_blank">http://www.jcea.es/wikis/cpif/</a><br>
<a href="https://mailman.jcea.es/listinfo/cpif" rel="noreferrer" target="_blank">https://mailman.jcea.es/listinfo/cpif</a><br>
</blockquote></div>