Buenos días a todos, estoy haciendo pruebas para valorar la instalación de 
Trytond sobre mi servidor sobre Bluehost. 

Lo que he hecho hasta ahora es los siguiente:

- Instalación de trytond con easy_install
* easy_install --prefix=$HOME/.local/ trytond

Esto ha generado una instalación en la siguiente 
ruta: ~/.local/lib/python2.4/site-packages/trytond-2.2.1-py2.4.egg/trytond
He generado el siguiente fichero de configuración :

[options]

xmlrpc = localhost:8069
db_type = postgresql
db_host = localhost
db_user = user
db_password = "pass"

admin_passwd = "pass"
psyco = True

Bien, Bluehost viene con la versión de python 2.4.3 y al ejecutar el 
servidor me da la siguiente traza:

Traceback (most recent call last):
  File "/home7/user/.local/bin/trytond", line 5, in ?
    pkg_resources.run_script('trytond==2.2.1', 'trytond')
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 407, in 
run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1084, in 
run_script
    execfile(script_filename, namespace, namespace)
  File 
"/home7/user/.local/lib/python2.4/site-packages/trytond-2.2.1-py2.4.egg/EGG-INFO/scripts/trytond",
 
line 13, in ?
    import trytond
  File 
"/home7/user/.local/lib/python2.4/site-packages/trytond-2.2.1-py2.4.egg/trytond/__init__.py",
 
line 3, in ?
    import server
  File 
"/home7/user/.local/lib/python2.4/site-packages/trytond-2.2.1-py2.4.egg/trytond/server.py",
 
line 203
    with open(CONFIG['pidfile'], 'w') as fd_pid:
            ^
SyntaxError: invalid syntax

Gracias por la ayuda..


-- 
[email protected] mailing list

Responder a