On Saturday, May 17, 2014 2:52:20 PM UTC-5, Sebastian Madrid wrote:
>
> Saludos, tengo problemas para iniciar el cliente de Tryton, estoy usando
> kubuntu 13.04, a la instalación la hice mediante pip
> este es el error que me sale en la consola, creo que tan solo tengo error
> con el cliente aqui adjunto todos los detalles de mi configuracion.
>
>
> seba@VAIO:~$ tryton
> Traceback (most recent call last):
> File "/usr/local/bin/tryton", line 45, in <module>
> import tryton
> File "/usr/local/lib/python2.7/dist-packages/tryton/__init__.py", line
> 3, in <module>
> import client
> File "/usr/local/lib/python2.7/dist-packages/tryton/client.py", line 24,
> in <module>
> import tryton.common as common
> File "/usr/local/lib/python2.7/dist-packages/tryton/common/__init__.py",
> line 3, in <module>
> from common import *
> File "/usr/local/lib/python2.7/dist-packages/tryton/common/common.py",
> line 15, in <module>
> from tryton.config import CONFIG
> File "/usr/local/lib/python2.7/dist-packages/tryton/config.py", line
> 187, in <module>
> os.path.join(PIXMAPS_DIR, 'tryton-icon.png').encode('utf-8'))
> glib.GError: No se ha podido abrir el archivo
> «/usr/share/pixmaps/tryton/tryton-icon.png»: No existe el archivo o el
> directorio
>
Aquí está indicando que está faltando el archivo de imagen del ícono de
Tryton. Verifica en ese directorio que exista dicho archivo.
Pruébale descargando directamente (sin pip) el Tryton desde aquí [1|.
http://downloads.tryton.org/3.2/tryton-3.2.1.tar.gz
--
Saludos
>
>
>
> Cuando levanto el servidor esto es lo unico que me aparece en la pantalla
> seba@VAIO:~$ trytond -c /etc/trytond.conf
> [Sat May 17 19:30:16 2014] INFO:server:using /etc/trytond.conf as
> configuration file
> [Sat May 17 19:30:16 2014] INFO:server:initialising distributed objects
> services
> [Sat May 17 19:30:16 2014] INFO:server:starting JSON-RPC protocol on
> localhost:8000
>
>
> Aqui les pongo la salida del log
>
> seba@VAIO:~$ cat trytond.log
> [Sat May 17 18:11:07 2014] INFO:server:using /etc/trytond.conf as
> configuration file
> [Sat May 17 18:11:07 2014] INFO:server:initialising distributed objects
> services
> [Sat May 17 18:11:07 2014] INFO:server:starting JSON-RPC protocol on
> localhost:8000
> [Sat May 17 18:33:11 2014] INFO:server:stopped
>
>
> Aqui les adjunto el archivo
>
> seba@VAIO:~$ sudo cat /etc/postgresql/9.3/main/pg_hba.conf
>
>
> # Database administrative login by Unix domain socket
> local all postgres peer
>
> # TYPE DATABASE USER ADDRESS METHOD
>
> # "local" is for Unix domain socket connections only
> local all all peer
> # IPv4 local connections:
> host all all 127.0.0.1/32 md5
> # Conexion a Tryton desde la misma maquina
> host tryton tryton 127.0.0.1/32 md5
> # Conexion a Tryton desde la intranet
> host tryton tryton 192.168.0.1/32 md5
> # IPv6 local connections:
> host all all ::1/128 md5
> # Allow replication connections from localhost, by a user with the
> # replication privilege.
> #local replication postgres peer
> #host replication postgres 127.0.0.1/32 md5
> #host replication postgres ::1/128 md5
>
> y tambien les adjunto mi archivo triton.conf
> seba@VAIO:~$ cat /etc/trytond.conf
> #This file is part of Tryton. The COPYRIGHT file at the top level of
> #this repository contains the full copyright notices and license terms.
> [options]
>
> # Activate the json-rpc protocol
> jsonrpc = localhost:8000
> #ssl_jsonrpc = False
>
> # This is the hostname used when generating tryton URI
> #hostname_jsonrpc =
>
> # Configure the path of json-rpc data
> #jsondata_path = /var/www/localhost/tryton
>
> # Activate the xml-rpc protocol
> #xmlrpc = *:8069
> #ssl_xmlrpc = False
>
> # Activate the webdav protocol
> #webdav = *:8080
> #ssl_webdav = False
>
> # This is the hostname used when generating WebDAV URI
> #hostname_webdav =
>
> # Configure the database type
> # allowed values are postgresql, sqlite, mysql
> db_type = postgresql
>
> # Configure the database connection
> ## Note: Only databases owned by db_user will be displayed in the
> connection dialog
> ## of the Tryton client. db_user must have create permission for new
> databases
> ## to be able to use automatic database creation with the Tryton client.
> db_host = localhost
> db_port = 5432
> db_user = tryton
> db_password = 4226836
> #db_minconn = 1
> #db_maxconn = 64
>
> # Configure the postgresql path for the executable
> #pg_path = None
>
> # Configure the Tryton server password
> admin_passwd = admin
>
> # Configure the path of the files for the pid and the logs
> #pidfile = False
> logfile = /home/seba/trytond.log
>
> #privatekey = server.pem
> #certificate = server.pem
>
> # Configure the SMTP connection
> #smtp_server = localhost
> #smtp_port = 25
> #smtp_ssl = False
> #smtp_tls = False
> #smtp_password = False
> #smtp_user = False
> #smtp_default_from_email = False
>
> # Configure the path to store attachments and sqlite database
> #data_path = /var/lib/trytond
>
> # Allow to run more than one instance of trytond
> #multi_server = False
>
> # Configure the session timeout (inactivity of the client in sec)
> #session_timeout = 600
>
> # Enable auto-reload of modules if changed
> #auto_reload = True
>
> # Prevent database listing
> #prevent_dblist = False
>
> # Enable cron
> # cron = True
>
> # unoconv connection
> #unoconv = pipe,name=trytond;urp;StarOffice.ComponentContext
>
> # Number of retries on database operational error
> # retry = 5
>
> # Default language code
> # language = en_US
>