Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[gentoo-user-es] Como Instalar OpenERP en Gentoo

10 views
Skip to first unread message

Freddy Taborda

unread,
Oct 6, 2009, 9:10:06 AM10/6/09
to
Hola

Estoy tratando de hacer un COMO de la instalación de OpenERP en Gentoo, siguiendo las siguientes fuentes; [1], ya pude instalar el servidor y el cliente local, pero no así el cliente web, ya que necesito la duplicación turbogers, y me presenta una falla con pyhton 2.6.

http://terracenter.blogspot.com/2009/10/como-instalar-openerp-en-gentoo.html    (Segunda parte) ;) al final esta el error.


Desde ya muchas gracias por todos sus comentarios.





[1] Fuentes

http://openerp.com.ve/content/instalando-openerp

http://www.aulaerp.com/

Instalación OpenERP Ubuntu





--

Freddy Taborda
Valencia - Venezuela
Debian GNU/Linux
Gentoo GNU/Linux
Linux user #283478

"Those that can, do. Those that can’t, complain."
                                                Linus Torvalds

Isern Palaus

unread,
Oct 6, 2009, 9:40:08 AM10/6/09
to
Hola Freddy,

¿Has probado a hacer un #emerge simplejson a ver que te dice?

Un saludo,

--
Isern Palaus

Freddy Taborda

unread,
Oct 7, 2009, 8:10:11 AM10/7/09
to
Gracias por la ayuda, te copio el error:

# emerge -tav simplejson

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild  N    ] dev-python/simplejson-2.0.9  USE="-doc -test" 0 kB

Total: 1 package (1 new), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No]

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-python/simplejson-2.0.9
 * simplejson-2.0.9.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                              [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                    [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                   [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                  [ ok ]
>>> Unpacking source...
>>> Unpacking simplejson-2.0.9.tar.gz to /var/tmp/portage/dev-python/simplejson-2.0.9/work
>>> Source unpacked in /var/tmp/portage/dev-python/simplejson-2.0.9/work
>>> Compiling source in /var/tmp/portage/dev-python/simplejson-2.0.9/work/simplejson-2.0.9 ...
python setup.py build
/usr/lib/python2.6/site-packages/Pyrex/Compiler/Errors.py:17: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  self.message = message
Traceback (most recent call last):
  File "setup.py", line 108, in <module>
    run_setup(True)
  File "setup.py", line 104, in run_setup
    cmdclass={'build_ext': ve_build_ext},
  File "/usr/lib/python2.6/distutils/core.py", line 113, in setup
    _setup_distribution = dist = klass(attrs)
  File "/usr/lib/python2.6/site-packages/setuptools/dist.py", line 220, in __init__
    for ep in pkg_resources.iter_entry_points('distutils.setup_keywords'):
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 430, in iter_entry_points
    entries = dist.get_entry_map(group)
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2186, in get_entry_map
    self._get_metadata('entry_points.txt'), self
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1995, in parse_map
    raise ValueError("Entry points must be listed in groups")
ValueError: Entry points must be listed in groups
 *
 * ERROR: dev-python/simplejson-2.0.9 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2976:  Called distutils_src_compile
 *             environment, line  716:  Called die
 * The specific snippet of code:
 *           ${python} setup.py "${DISTUTILS_GLOBAL_OPTIONS[@]}" build "$@" || die "Building failed";
 *  The die message:
 *   Building failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-python/simplejson-2.0.9/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/simplejson-2.0.9/temp/environment'.
 *

>>> Failed to emerge dev-python/simplejson-2.0.9, Log file:

>>>  '/var/tmp/portage/dev-python/simplejson-2.0.9/temp/build.log'

 * Messages for package dev-python/simplejson-2.0.9:

 *
 * ERROR: dev-python/simplejson-2.0.9 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2976:  Called distutils_src_compile
 *             environment, line  716:  Called die
 * The specific snippet of code:
 *           ${python} setup.py "${DISTUTILS_GLOBAL_OPTIONS[@]}" build "$@" || die "Building failed";
 *  The die message:
 *   Building failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-python/simplejson-2.0.9/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/simplejson-2.0.9/temp/environment'.

Alguna idea.

Gracias

Freddy Taborda

unread,
Oct 8, 2009, 1:20:09 AM10/8/09
to

---------- Mensaje reenviado ----------
De: Freddy Taborda <terra...@gmail.com>
Fecha: 8 de octubre de 2009 00:37
Asunto: Re: Como Instalar OpenERP en Gentoo
Para: Nhomar Hernández <nhomar.h...@netquatro.com>




El 6 de octubre de 2009 09:56, Nhomar Hernández <nhomar.h...@netquatro.com> escribió:


Te recomiendo ampliamente que revises el curso de instalacion en AulaERP.com, donde resuelven el mismo problema con Ubuntu 9.04 que tiene python 2.6 a lo mejor te sirve de algo...

Nhomar


Gracias Nhomar por tus comentarios, pero nada...

Por otro lado, si bien entiendo el error, es que hay un problema de compactibilidad entre python 2.6 y turbogers?


Si esto es correcto tengo dos preguntas?


1)

Ahora, reviando tengo lo siguiente:

# ls -l /usr/lib/py
    python2.5/ python2.6/

Pero cuando hago eselect pryhton list muestra:

[1]   python2.6 *


Es posible decirle que utilice pyhton 2.5 para ese paquete?


2) Revisando google encontre esta pagina: http://turbogears.org/2.0/docs/main/DownloadInstall.html

que explica lo siguiente:

Automatic Installation

If this is your first time using TurboGears you can use the bootstrap script. tg2-bootstrap.py is a custom virtualenv script. It will:

  • create a virtualenv for you
  • install the latest TurboGears in it

Download and run the script with the following commands:

wget http://www.turbogears.org/2.0/downloads/current/tg2-bootstrap.py
python tg2-bootstrap.py --no-site-packages tg2env

Eso lo hice, y baja algunos paquetes y los instala pero quedan en mi home:

/home/usuario/tg2env/lib/python2.6/site-packages/tg.devtools-2.0.2-py2.6.egg


Ahora, si este es el paque que necesito, como le digo a gentoo que lo utilice.

Bueno todo esto es para poder instalar el cliente via web de OpenERP

http://www.aulaerp.com/aula/mod/resource/view.php?id=52


Muchas gracias por toda su valiosa colaboración,









--
0 new messages