Buen dia Estimados
He realizado las configuraciones para utilizar el cliente web de tryton, he
logrado instalar (con la ayuda de los demas comentarios) todos los paquetes
necesarios de forma exitosa. Creo tener el error en el archivo .config, el
parametro jsondata_path no lo encontre en este fichero asi que lo agregue
pero sigue mostrandome el siguiente mensaje:
"Error response
Error code 404.
Message: File not found.
Error code explanation: 404 = Nothing matches the given URI."
159.203.10.151 es el equipo que utilizo para pruebas el cual por el momento
se encuentra apagado.
uname -a
Linux pruebadic2015 4.2.0-16-generic #19-Ubuntu SMP Thu Oct 8 15:35:06 UTC
2015 x86_64 x86_64 x86_64 GNU/Linux
trytond --version
trytond 3.6.2
pwd
/home/tryton/sao
Esta configuracion funciona correctamente desde el cliente de escritorio.
Quedo a la espera de sus comentarios
Saludos!
El jueves, 29 de mayo de 2014, 2:03:02 (UTC-6), Sergi Almacellas Abellana
escribió:
>
> El 29/05/14 09:48, Jesús Martín Jiménez ha escrit:
> > Hola,
> >
> > Después de seguir todos los pasos descritos en [1], arranco el
> > servidor trytond y obtengo un error de respuesta [2] en el navegador.
> > El directorio donde he instalado SAO es [3] y el fichero de
> > configuración de trytond [4] Debo decir que he editado la wiki porque
> > en el paso npm install grunt-contrib-uglify, me daba el siguiente
> > error [5] que solventé actualizando el NodeJs a la versión
> > node-v0.10.28 [6] ¿Podría alguien decirme qué estoy haciendo mal?
> Debes modificar el fichero de configuración descomentando la línea
> siguiente:
>
> #jsondata_path = /var/www/localhost/tryton
>
> Y modificandola por
>
> jsondata_path = /home/jmartin/workspace/trytond/sao
>
> Luego reinicia al servidor trytond y deberia funcionar.
>
> Saludos,
>
> --
> Sergi Almacellas Abellana
> www.koolpi.com
> Twitter: @pokoli_srk
>
>
# /etc/tryton/trytond.conf - Configuration file for Tryton Server (trytond)
#
# This file contains the most common settings for trytond (Defaults
# are commented).
# For more information install the tryton-server-doc package and read
# /usr/share/doc/tryton-server-doc/html/index.html
# and accordingly
# /usr/share/doc/tryton-server-doc/html/topics/configuration.html
[database]
# Database related settings
# The URI to connect to the SQL database (following RFC-3986)
# uri = database://username:password@host:port/
# (Internal default: sqlite:// (i.e. a local SQLite database))
#
# PostgreSQL via Unix domain sockets
# (e.g. PostgreSQL database running on the same machine (localhost))
#uri = postgresql://tryton:tryton@/
#
# PostgreSQL via TCP/IP
# (e.g. connecting to a PostgreSQL database running on a remote machine or
# by means of md5 authentication. Needs PostgreSQL to be configured to accept
# those connections (pg_hba.conf).)
uri = postgresql://tryton:tryton@localhost:5432/
# The path to the directory where the Tryton Server stores files.
# The server must have write permissions to this directory.
# (Internal default: /var/lib/trytond)
path = /var/lib/tryton
# Shall available databases be listed in the client?
#list = True
# The number of retries of the Tryton Server when there are errors
# in a request to the database
#retry = 5
# The primary language, that is used to store entries in translatable
# fields into the database.
#language = en_US
[ssl]
# SSL settings
# Activation of SSL for all available protocols.
# Uncomment the following settings for key and certificate
# to enable SSL.
# The path to the private key
#privatekey = /etc/ssl/private/ssl-cert-snakeoil.key
# The path to the certificate
#certificate = /etc/ssl/certs/ssl-cert-snakeoil.pem
[jsonrpc]
# Settings for the JSON-RPC network interface
jsondata_path = /home/tryton/sao
# The IP/host and port number of the interface
# (Internal default: localhost:8000)
#
# Listen on all interfaces (IPv4)
#listen = 159.203.10.151:8000
#
# Listen on all interfaces (IPv4 and IPv6)
listen = [::]:8000
# The hostname for this interface
#hostname =
# The root path to retrieve data for GET requests
#data = jsondata
[xmlrpc]
# Settings for the XML-RPC network interface
# The IP/host and port number of the interface
listen = 159.203.10.151:8069
[webdav]
# Settings for the WebDAV network interface
# The IP/host and port number of the interface
listen = 159.203.10.151:8080
[session]
# Session settings
# The time (in seconds) until an inactive session expires
#timeout = 3600
# The server administration password used by the client for
# the execution of database management tasks. It is encrypted
# using using the Unix crypt(3) routine. A password can be
# generated using the following command line (on one line):
# $ python -c 'import getpass,crypt,random,string; \
# print crypt.crypt(getpass.getpass(), \
# "".join(random.sample(string.ascii_letters + string.digits, 8)))'
# Example password with 'admin'
#super_pwd = jkUbZGvFNeugk
[email]
# Mail settings
# The URI to connect to the SMTP server.
# Available protocols are:
# - smtp: simple SMTP
# - smtp+tls: SMTP with STARTTLS
# - smtps: SMTP with SSL
#uri = smtp://localhost:25
# The From address used by the Tryton Server to send emails.
#from = tryton@localhost
[report]
# Report settings
# Unoconv parameters for connection to the unoconv service.
#unoconv = pipe,name=trytond;urp;StarOffice.ComponentContext
# Module settings
#
# Some modules are reading configuration parameters from this
# configuration file. These settings only apply when those modules
# are installed.
#
#[ldap_authentication]
# The URI to connect to the LDAP server.
#uri = ldap://host:port/dn?attributes?scope?filter?extensions
# A basic default URL could look like
#uri = ldap://localhost:389/
#
#[product]
# The number of decimals with which the unit prices are stored
# in the database. The default value is 4.
# Warning: This setting can not be lowered once a database is created.
#price_decimal = 4