Discussion:
[tryton-es] Instalar Tryton 3.8.8 en Ubuntu 16.04
Xavier Andorrà
2016-11-16 14:23:09 UTC
Permalink
Hola,

Soy nuevo en esto.
Llevo dias intentando crear una base de datos nueva atraves del cliente
Tryton. Porque quiero hacer pruebas con Gnuhealth.
Siempre me da error de password incorrecto del "Tryton Server password".
En el trytond.conf cambié:

super_pwd = BIhnuPvHh3oYY por super_pwd = 123

puede ser este el problema ?
Sergi Almacellas Abellana
2016-11-16 14:49:31 UTC
Permalink
Post by Xavier Andorrà
Hola,
Hola Xavier,
Post by Xavier Andorrà
Soy nuevo en esto.
Bienvenido, espero que disfrutes de la experiencia.
Post by Xavier Andorrà
Llevo dias intentando crear una base de datos nueva atraves del cliente
Tryton. Porque quiero hacer pruebas con Gnuhealth.
Siempre me da error de password incorrecto del "Tryton Server password".
super_pwd = BIhnuPvHh3oYY por super_pwd = 123
puede ser este el problema ?
El super_pwd debes encriptarlo, cómo se explica en la documentación:

http://doc.tryton.org/3.8/trytond/doc/topics/configuration.html?highlight=super_pwd#super-pwd

De todos modos, este parámetro ya no se usa en nuevas versiones [1], por
lo que te recomiendo que crees directamente la base de datos en tu
sistema de base de datos y la inicies con el siguiente comando:

trytond -d <base_datos> --all

Una vez finalizado el proceso, trytond te va a pedir que introduzcas la
contraseña del usuario admin para que puedes accedir a la base de datos
por primera vez.

Para cualquier cosa, no dudes en volver a preguntar.

Un saludo,

[1] https://bugs.tryton.org/issue5384
--
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk
Xavier Andorrà
2016-11-29 23:42:39 UTC
Permalink
Gracias por la respuesta.

Pero no hay manera. Ahora al arrancar el servidor con la instrucción que me
dijiste me sale lo siguiente:


Primer aturem servidor tryton.

[ ok ] Stopping tryton-server (via systemctl): tryton-server.service.
Arrenca servidor Tryton 3.8.8

9087 -1219971328 [2016-11-29 23:35:14,349] INFO trytond.server using
/home/gnuhealth/gnuhealth/tryton/server/config/trytond.conf as
configuration file
9087 -1219971328 [2016-11-29 23:35:14,350] INFO trytond.server initialising
distributed objects services
9087 -1219971328 [2016-11-29 23:35:14,363] INFO
trytond.backend.postgresql.database connect to "gnuhealth"
9087 -1219971328 [2016-11-29 23:35:14,701] INFO trytond.modules
ir:registering classes
9087 -1219971328 [2016-11-29 23:35:14,701] INFO trytond.modules
res:registering classes
9087 -1219971328 [2016-11-29 23:35:14,701] INFO trytond.modules
tests:registering classes
9087 -1219971328 [2016-11-29 23:35:14,701] INFO trytond.modules
webdav:registering classes
9087 -1219971328 [2016-11-29 23:35:14,701] INFO trytond.modules
country:registering classes
9087 -1219971328 [2016-11-29 23:35:14,702] INFO trytond.modules
dashboard:registering classes
9087 -1219971328 [2016-11-29 23:35:14,703] INFO trytond.modules
currency:registering classes
9087 -1219971328 [2016-11-29 23:35:14,704] INFO trytond.modules
product:registering classes
9087 -1219971328 [2016-11-29 23:35:14,705] INFO trytond.modules
ldap_authentication:registering classes
9087 -1219971328 [2016-11-29 23:35:14,720] INFO trytond.modules
product_attribute:registering classes
9087 -1219971328 [2016-11-29 23:35:14,720] INFO trytond.modules
product_cost_history:registering classes
9087 -1219971328 [2016-11-29 23:35:14,721] INFO trytond.modules
calendar:registering classes
9087 -1219971328 [2016-11-29 23:35:14,740] INFO trytond.modules
party:registering classes
9087 -1219971328 [2016-11-29 23:35:14,743] INFO trytond.modules
product_measurements:registering classes
9087 -1219971328 [2016-11-29 23:35:14,744] INFO trytond.modules
customs:registering classes
9087 -1219971328 [2016-11-29 23:35:14,746] INFO trytond.modules
calendar_scheduling:registering classes
9087 -1219971328 [2016-11-29 23:35:14,747] INFO trytond.modules
bank:registering classes
9087 -1219971328 [2016-11-29 23:35:14,750] INFO trytond.modules
party_relationship:registering classes
9087 -1219971328 [2016-11-29 23:35:14,750] INFO trytond.modules
carrier:registering classes
9087 -1219971328 [2016-11-29 23:35:14,751] INFO trytond.modules
company:registering classes
9087 -1219971328 [2016-11-29 23:35:14,760] INFO trytond.modules
party_siret:registering classes
9087 -1219971328 [2016-11-29 23:35:14,761] INFO trytond.modules
google_maps:registering classes
9087 -1219971328 [2016-11-29 23:35:14,762] INFO trytond.modules
calendar_classification:registering classes
9087 -1219971328 [2016-11-29 23:35:14,762] INFO trytond.modules
party_vcarddav:registering classes
9087 -1219971328 [2016-11-29 23:35:14,763] INFO trytond.modules
calendar_todo:registering classes
9087 -1219971328 [2016-11-29 23:35:14,766] INFO trytond.modules
company_work_time:registering classes
9087 -1219971328 [2016-11-29 23:35:14,766] INFO trytond.modules
health:registering classes
9087 -1219971328 [2016-11-29 23:35:14,804] INFO trytond.modules
product_price_list:registering classes
9087 -1219971328 [2016-11-29 23:35:14,805] INFO trytond.modules
account:registering classes
9087 -1219971328 [2016-11-29 23:35:14,820] INFO trytond.modules
stock:registering classes
9087 -1219971328 [2016-11-29 23:35:14,831] INFO trytond.modules
health_genetics:registering classes
9087 -1219971328 [2016-11-29 23:35:14,832] INFO trytond.modules
stock_split:registering classes
9087 -1219971328 [2016-11-29 23:35:14,832] INFO trytond.modules
stock_lot:registering classes
9087 -1219971328 [2016-11-29 23:35:14,833] INFO trytond.modules
product_cost_fifo:registering classes
9087 -1219971328 [2016-11-29 23:35:14,834] INFO trytond.modules
health_icd9procs:registering classes
9087 -1219971328 [2016-11-29 23:35:14,834] INFO trytond.modules
account_be:registering classes
9087 -1219971328 [2016-11-29 23:35:14,834] INFO trytond.modules
health_icd10:registering classes
9087 -1219971328 [2016-11-29 23:35:14,834] INFO trytond.modules
health_archives:registering classes
9087 -1219971328 [2016-11-29 23:35:14,835] INFO trytond.modules
health_ophthalmology:registering classes
9087 -1219971328 [2016-11-29 23:35:14,836] INFO trytond.modules
stock_forecast:registering classes
9087 -1219971328 [2016-11-29 23:35:14,837] INFO trytond.modules
health_pediatrics:registering classes
9087 -1219971328 [2016-11-29 23:35:14,839] INFO trytond.modules
account_payment:registering classes
9087 -1219971328 [2016-11-29 23:35:14,841] INFO trytond.modules
account_dunning:registering classes
9087 -1219971328 [2016-11-29 23:35:14,842] INFO trytond.modules
health_lifestyle:registering classes
9087 -1219971328 [2016-11-29 23:35:14,844] INFO trytond.modules
health_iss:registering classes
9087 -1219971328 [2016-11-29 23:35:14,846] INFO trytond.modules
health_imaging:registering classes
9087 -1219971328 [2016-11-29 23:35:14,847] INFO trytond.modules
stock_product_location:registering classes
9087 -1219971328 [2016-11-29 23:35:14,848] INFO trytond.modules
health_surgery:registering classes
9087 -1219971328 [2016-11-29 23:35:14,850] INFO trytond.modules
stock_package:registering classes
9087 -1219971328 [2016-11-29 23:35:14,851] INFO trytond.modules
stock_inventory_location:registering classes
9087 -1219971328 [2016-11-29 23:35:14,851] INFO trytond.modules
health_lab:registering classes
9087 -1219971328 [2016-11-29 23:35:14,853] INFO trytond.modules
production:registering classes
9087 -1219971328 [2016-11-29 23:35:14,856] INFO trytond.modules
timesheet:registering classes
9087 -1219971328 [2016-11-29 23:35:14,858] INFO trytond.modules
analytic_account:registering classes
9087 -1219971328 [2016-11-29 23:35:14,860] INFO trytond.modules
health_calendar:registering classes
9087 -1219971328 [2016-11-29 23:35:14,861] INFO trytond.modules
health_crypto:registering classes
9087 -1219971328 [2016-11-29 23:35:14,863] INFO trytond.modules
health_socioeconomics:registering classes
9087 -1219971328 [2016-11-29 23:35:14,864] INFO trytond.modules
account_product:registering classes
9087 -1219971328 [2016-11-29 23:35:14,866] INFO trytond.modules
health_gyneco:registering classes
9087 -1219971328 [2016-11-29 23:35:14,870] INFO trytond.modules
health_icpm:registering classes
9087 -1219971328 [2016-11-29 23:35:14,870] INFO trytond.modules
health_icd10pcs:registering classes
9087 -1219971328 [2016-11-29 23:35:14,871] INFO trytond.modules
stock_location_sequence:registering classes
9087 -1219971328 [2016-11-29 23:35:14,871] INFO trytond.modules
health_who_essential_medicines:registering classes
9087 -1219971328 [2016-11-29 23:35:14,871] INFO trytond.modules
account_de_skr03:registering classes
9087 -1219971328 [2016-11-29 23:35:14,871] INFO trytond.modules
health_reporting:registering classes
9087 -1219971328 [2016-11-29 23:35:14,873] INFO trytond.modules
health_qrcodes:registering classes
Traceback (most recent call last):
File "./trytond", line 80, in <module>
server.TrytonServer(options).run()
File
"/home/gnuhealth/gnuhealth/tryton/server/trytond-3.8.8/trytond/server.py",
line 112, in run
Pool(db_name).init(update=self.options.update, lang=lang)
File
"/home/gnuhealth/gnuhealth/tryton/server/trytond-3.8.8/trytond/pool.py",
line 144, in init
self.start()
File
"/home/gnuhealth/gnuhealth/tryton/server/trytond-3.8.8/trytond/pool.py",
line 97, in start
register_classes()
File
"/home/gnuhealth/gnuhealth/tryton/server/trytond-3.8.8/trytond/modules/__init__.py",
line 358, in register_classes
mod_file, pathname, description)
File
"/home/gnuhealth/gnuhealth/tryton/server/trytond-3.8.8/trytond/modules/health_qrcodes/__init__.py",
line 25, in <module>
from .health_qrcodes import *
File
"/home/gnuhealth/gnuhealth/tryton/server/trytond-3.8.8/trytond/modules/health_qrcodes/health_qrcodes.py",
line 23, in <module>
import qrcode
ImportError: No module named qrcode

En fin, parece que si que empieza a cargar la bd, pero hay algo que falla...
Post by Xavier Andorrà
Hola,
Soy nuevo en esto.
Llevo dias intentando crear una base de datos nueva atraves del cliente
Tryton. Porque quiero hacer pruebas con Gnuhealth.
Siempre me da error de password incorrecto del "Tryton Server password".
super_pwd = BIhnuPvHh3oYY por super_pwd = 123
puede ser este el problema ?
Oscar Andres Alvarez Montero
2016-11-30 01:48:03 UTC
Permalink
solución

pip instalo qrcode
Post by Xavier Andorrà
Gracias por la respuesta.
Pero no hay manera. Ahora al arrancar el servidor con la instrucción que
Primer aturem servidor tryton.
[ ok ] Stopping tryton-server (via systemctl): tryton-server.service.
Arrenca servidor Tryton 3.8.8
9087 -1219971328 [2016-11-29 23:35:14,349] INFO trytond.server using
/home/gnuhealth/gnuhealth/tryton/server/config/trytond.conf as
configuration file
9087 -1219971328 [2016-11-29 23:35:14,350] INFO trytond.server
initialising distributed objects services
9087 -1219971328 [2016-11-29 23:35:14,363] INFO trytond.backend.postgresql.database
connect to "gnuhealth"
9087 -1219971328 [2016-11-29 23:35:14,701] INFO trytond.modules
ir:registering classes
9087 -1219971328 [2016-11-29 23:35:14,701] INFO trytond.modules
res:registering classes
9087 -1219971328 [2016-11-29 23:35:14,701] INFO trytond.modules
tests:registering classes
9087 -1219971328 [2016-11-29 23:35:14,701] INFO trytond.modules
webdav:registering classes
9087 -1219971328 [2016-11-29 23:35:14,701] INFO trytond.modules
country:registering classes
9087 -1219971328 [2016-11-29 23:35:14,702] INFO trytond.modules
dashboard:registering classes
9087 -1219971328 [2016-11-29 23:35:14,703] INFO trytond.modules
currency:registering classes
9087 -1219971328 [2016-11-29 23:35:14,704] INFO trytond.modules
product:registering classes
9087 -1219971328 [2016-11-29 23:35:14,705] INFO trytond.modules
ldap_authentication:registering classes
9087 -1219971328 [2016-11-29 23:35:14,720] INFO trytond.modules
product_attribute:registering classes
9087 -1219971328 [2016-11-29 23:35:14,720] INFO trytond.modules
product_cost_history:registering classes
9087 -1219971328 [2016-11-29 23:35:14,721] INFO trytond.modules
calendar:registering classes
9087 -1219971328 [2016-11-29 23:35:14,740] INFO trytond.modules
party:registering classes
9087 -1219971328 [2016-11-29 23:35:14,743] INFO trytond.modules
product_measurements:registering classes
9087 -1219971328 [2016-11-29 23:35:14,744] INFO trytond.modules
customs:registering classes
9087 -1219971328 [2016-11-29 23:35:14,746] INFO trytond.modules
calendar_scheduling:registering classes
9087 -1219971328 [2016-11-29 23:35:14,747] INFO trytond.modules
bank:registering classes
9087 -1219971328 [2016-11-29 23:35:14,750] INFO trytond.modules
party_relationship:registering classes
9087 -1219971328 [2016-11-29 23:35:14,750] INFO trytond.modules
carrier:registering classes
9087 -1219971328 [2016-11-29 23:35:14,751] INFO trytond.modules
company:registering classes
9087 -1219971328 [2016-11-29 23:35:14,760] INFO trytond.modules
party_siret:registering classes
9087 -1219971328 [2016-11-29 23:35:14,761] INFO trytond.modules
google_maps:registering classes
9087 -1219971328 [2016-11-29 23:35:14,762] INFO trytond.modules
calendar_classification:registering classes
9087 -1219971328 [2016-11-29 23:35:14,762] INFO trytond.modules
party_vcarddav:registering classes
9087 -1219971328 [2016-11-29 23:35:14,763] INFO trytond.modules
calendar_todo:registering classes
9087 -1219971328 [2016-11-29 23:35:14,766] INFO trytond.modules
company_work_time:registering classes
9087 -1219971328 [2016-11-29 23:35:14,766] INFO trytond.modules
health:registering classes
9087 -1219971328 [2016-11-29 23:35:14,804] INFO trytond.modules
product_price_list:registering classes
9087 -1219971328 [2016-11-29 23:35:14,805] INFO trytond.modules
account:registering classes
9087 -1219971328 [2016-11-29 23:35:14,820] INFO trytond.modules
stock:registering classes
9087 -1219971328 [2016-11-29 23:35:14,831] INFO trytond.modules
health_genetics:registering classes
9087 -1219971328 [2016-11-29 23:35:14,832] INFO trytond.modules
stock_split:registering classes
9087 -1219971328 [2016-11-29 23:35:14,832] INFO trytond.modules
stock_lot:registering classes
9087 -1219971328 [2016-11-29 23:35:14,833] INFO trytond.modules
product_cost_fifo:registering classes
9087 -1219971328 [2016-11-29 23:35:14,834] INFO trytond.modules
health_icd9procs:registering classes
9087 -1219971328 [2016-11-29 23:35:14,834] INFO trytond.modules
account_be:registering classes
9087 -1219971328 [2016-11-29 23:35:14,834] INFO trytond.modules
health_icd10:registering classes
9087 -1219971328 [2016-11-29 23:35:14,834] INFO trytond.modules
health_archives:registering classes
9087 -1219971328 [2016-11-29 23:35:14,835] INFO trytond.modules
health_ophthalmology:registering classes
9087 -1219971328 [2016-11-29 23:35:14,836] INFO trytond.modules
stock_forecast:registering classes
9087 -1219971328 [2016-11-29 23:35:14,837] INFO trytond.modules
health_pediatrics:registering classes
9087 -1219971328 [2016-11-29 23:35:14,839] INFO trytond.modules
account_payment:registering classes
9087 -1219971328 [2016-11-29 23:35:14,841] INFO trytond.modules
account_dunning:registering classes
9087 -1219971328 [2016-11-29 23:35:14,842] INFO trytond.modules
health_lifestyle:registering classes
9087 -1219971328 [2016-11-29 23:35:14,844] INFO trytond.modules
health_iss:registering classes
9087 -1219971328 [2016-11-29 23:35:14,846] INFO trytond.modules
health_imaging:registering classes
9087 -1219971328 [2016-11-29 23:35:14,847] INFO trytond.modules
stock_product_location:registering classes
9087 -1219971328 [2016-11-29 23:35:14,848] INFO trytond.modules
health_surgery:registering classes
9087 -1219971328 [2016-11-29 23:35:14,850] INFO trytond.modules
stock_package:registering classes
9087 -1219971328 [2016-11-29 23:35:14,851] INFO trytond.modules
stock_inventory_location:registering classes
9087 -1219971328 [2016-11-29 23:35:14,851] INFO trytond.modules
health_lab:registering classes
9087 -1219971328 [2016-11-29 23:35:14,853] INFO trytond.modules
production:registering classes
9087 -1219971328 [2016-11-29 23:35:14,856] INFO trytond.modules
timesheet:registering classes
9087 -1219971328 [2016-11-29 23:35:14,858] INFO trytond.modules
analytic_account:registering classes
9087 -1219971328 [2016-11-29 23:35:14,860] INFO trytond.modules
health_calendar:registering classes
9087 -1219971328 [2016-11-29 23:35:14,861] INFO trytond.modules
health_crypto:registering classes
9087 -1219971328 [2016-11-29 23:35:14,863] INFO trytond.modules
health_socioeconomics:registering classes
9087 -1219971328 [2016-11-29 23:35:14,864] INFO trytond.modules
account_product:registering classes
9087 -1219971328 [2016-11-29 23:35:14,866] INFO trytond.modules
health_gyneco:registering classes
9087 -1219971328 [2016-11-29 23:35:14,870] INFO trytond.modules
health_icpm:registering classes
9087 -1219971328 [2016-11-29 23:35:14,870] INFO trytond.modules
health_icd10pcs:registering classes
9087 -1219971328 [2016-11-29 23:35:14,871] INFO trytond.modules
stock_location_sequence:registering classes
9087 -1219971328 [2016-11-29 23:35:14,871] INFO trytond.modules
health_who_essential_medicines:registering classes
9087 -1219971328 [2016-11-29 23:35:14,871] INFO trytond.modules
account_de_skr03:registering classes
9087 -1219971328 [2016-11-29 23:35:14,871] INFO trytond.modules
health_reporting:registering classes
9087 -1219971328 [2016-11-29 23:35:14,873] INFO trytond.modules
health_qrcodes:registering classes
File "./trytond", line 80, in <module>
server.TrytonServer(options).run()
File "/home/gnuhealth/gnuhealth/tryton/server/trytond-3.8.8/trytond/server.py",
line 112, in run
Pool(db_name).init(update=self.options.update, lang=lang)
File "/home/gnuhealth/gnuhealth/tryton/server/trytond-3.8.8/trytond/pool.py",
line 144, in init
self.start()
File "/home/gnuhealth/gnuhealth/tryton/server/trytond-3.8.8/trytond/pool.py",
line 97, in start
register_classes()
File "/home/gnuhealth/gnuhealth/tryton/server/trytond-3.8.8/trytond/modules/__init__.py",
line 358, in register_classes
mod_file, pathname, description)
File "/home/gnuhealth/gnuhealth/tryton/server/trytond-3.8.8/
trytond/modules/health_qrcodes/__init__.py", line 25, in <module>
from .health_qrcodes import *
File "/home/gnuhealth/gnuhealth/tryton/server/trytond-3.8.8/
trytond/modules/health_qrcodes/health_qrcodes.py", line 23, in <module>
import qrcode
ImportError: No module named qrcode
En fin, parece que si que empieza a cargar la bd, pero hay algo que falla...
Post by Xavier Andorrà
Hola,
Soy nuevo en esto.
Llevo dias intentando crear una base de datos nueva atraves del cliente
Tryton. Porque quiero hacer pruebas con Gnuhealth.
Siempre me da error de password incorrecto del "Tryton Server password".
super_pwd = BIhnuPvHh3oYY por super_pwd = 123
puede ser este el problema ?
Oscar Alvarez
2016-11-30 01:50:20 UTC
Permalink
Post by Xavier Andorrà
Gracias por la respuesta.
Pero no hay manera. Ahora al arrancar el servidor con la instrucción
Primer aturem servidor tryton.
[ ok ] Stopping tryton-server (via systemctl): tryton-server.service.
Arrenca servidor Tryton 3.8.8
9087 -1219971328 [2016-11-29 23:35:14,349] INFO trytond.server using
/home/gnuhealth/gnuhealth/tryton/server/config/trytond.conf as
configuration file
9087 -1219971328 [2016-11-29 23:35:14,350] INFO trytond.server
initialising distributed objects services
9087 -1219971328 [2016-11-29 23:35:14,363] INFO
trytond.backend.postgresql.database connect to "gnuhealth"
9087 -1219971328 [2016-11-29 23:35:14,701] INFO trytond.modules
ir:registering classes
9087 -1219971328 [2016-11-29 23:35:14,701] INFO trytond.modules
res:registering classes
9087 -1219971328 [2016-11-29 23:35:14,701] INFO trytond.modules
tests:registering classes
9087 -1219971328 [2016-11-29 23:35:14,701] INFO trytond.modules
webdav:registering classes
9087 -1219971328 [2016-11-29 23:35:14,701] INFO trytond.modules
country:registering classes
9087 -1219971328 [2016-11-29 23:35:14,702] INFO trytond.modules
dashboard:registering classes
9087 -1219971328 [2016-11-29 23:35:14,703] INFO trytond.modules
currency:registering classes
9087 -1219971328 [2016-11-29 23:35:14,704] INFO trytond.modules
product:registering classes
9087 -1219971328 [2016-11-29 23:35:14,705] INFO trytond.modules
ldap_authentication:registering classes
9087 -1219971328 [2016-11-29 23:35:14,720] INFO trytond.modules
product_attribute:registering classes
9087 -1219971328 [2016-11-29 23:35:14,720] INFO trytond.modules
product_cost_history:registering classes
9087 -1219971328 [2016-11-29 23:35:14,721] INFO trytond.modules
calendar:registering classes
9087 -1219971328 [2016-11-29 23:35:14,740] INFO trytond.modules
party:registering classes
9087 -1219971328 [2016-11-29 23:35:14,743] INFO trytond.modules
product_measurements:registering classes
9087 -1219971328 [2016-11-29 23:35:14,744] INFO trytond.modules
customs:registering classes
9087 -1219971328 [2016-11-29 23:35:14,746] INFO trytond.modules
calendar_scheduling:registering classes
9087 -1219971328 [2016-11-29 23:35:14,747] INFO trytond.modules
bank:registering classes
9087 -1219971328 [2016-11-29 23:35:14,750] INFO trytond.modules
party_relationship:registering classes
9087 -1219971328 [2016-11-29 23:35:14,750] INFO trytond.modules
carrier:registering classes
9087 -1219971328 [2016-11-29 23:35:14,751] INFO trytond.modules
company:registering classes
9087 -1219971328 [2016-11-29 23:35:14,760] INFO trytond.modules
party_siret:registering classes
9087 -1219971328 [2016-11-29 23:35:14,761] INFO trytond.modules
google_maps:registering classes
9087 -1219971328 [2016-11-29 23:35:14,762] INFO trytond.modules
calendar_classification:registering classes
9087 -1219971328 [2016-11-29 23:35:14,762] INFO trytond.modules
party_vcarddav:registering classes
9087 -1219971328 [2016-11-29 23:35:14,763] INFO trytond.modules
calendar_todo:registering classes
9087 -1219971328 [2016-11-29 23:35:14,766] INFO trytond.modules
company_work_time:registering classes
9087 -1219971328 [2016-11-29 23:35:14,766] INFO trytond.modules
health:registering classes
9087 -1219971328 [2016-11-29 23:35:14,804] INFO trytond.modules
product_price_list:registering classes
9087 -1219971328 [2016-11-29 23:35:14,805] INFO trytond.modules
account:registering classes
9087 -1219971328 [2016-11-29 23:35:14,820] INFO trytond.modules
stock:registering classes
9087 -1219971328 [2016-11-29 23:35:14,831] INFO trytond.modules
health_genetics:registering classes
9087 -1219971328 [2016-11-29 23:35:14,832] INFO trytond.modules
stock_split:registering classes
9087 -1219971328 [2016-11-29 23:35:14,832] INFO trytond.modules
stock_lot:registering classes
9087 -1219971328 [2016-11-29 23:35:14,833] INFO trytond.modules
product_cost_fifo:registering classes
9087 -1219971328 [2016-11-29 23:35:14,834] INFO trytond.modules
health_icd9procs:registering classes
9087 -1219971328 [2016-11-29 23:35:14,834] INFO trytond.modules
account_be:registering classes
9087 -1219971328 [2016-11-29 23:35:14,834] INFO trytond.modules
health_icd10:registering classes
9087 -1219971328 [2016-11-29 23:35:14,834] INFO trytond.modules
health_archives:registering classes
9087 -1219971328 [2016-11-29 23:35:14,835] INFO trytond.modules
health_ophthalmology:registering classes
9087 -1219971328 [2016-11-29 23:35:14,836] INFO trytond.modules
stock_forecast:registering classes
9087 -1219971328 [2016-11-29 23:35:14,837] INFO trytond.modules
health_pediatrics:registering classes
9087 -1219971328 [2016-11-29 23:35:14,839] INFO trytond.modules
account_payment:registering classes
9087 -1219971328 [2016-11-29 23:35:14,841] INFO trytond.modules
account_dunning:registering classes
9087 -1219971328 [2016-11-29 23:35:14,842] INFO trytond.modules
health_lifestyle:registering classes
9087 -1219971328 [2016-11-29 23:35:14,844] INFO trytond.modules
health_iss:registering classes
9087 -1219971328 [2016-11-29 23:35:14,846] INFO trytond.modules
health_imaging:registering classes
9087 -1219971328 [2016-11-29 23:35:14,847] INFO trytond.modules
stock_product_location:registering classes
9087 -1219971328 [2016-11-29 23:35:14,848] INFO trytond.modules
health_surgery:registering classes
9087 -1219971328 [2016-11-29 23:35:14,850] INFO trytond.modules
stock_package:registering classes
9087 -1219971328 [2016-11-29 23:35:14,851] INFO trytond.modules
stock_inventory_location:registering classes
9087 -1219971328 [2016-11-29 23:35:14,851] INFO trytond.modules
health_lab:registering classes
9087 -1219971328 [2016-11-29 23:35:14,853] INFO trytond.modules
production:registering classes
9087 -1219971328 [2016-11-29 23:35:14,856] INFO trytond.modules
timesheet:registering classes
9087 -1219971328 [2016-11-29 23:35:14,858] INFO trytond.modules
analytic_account:registering classes
9087 -1219971328 [2016-11-29 23:35:14,860] INFO trytond.modules
health_calendar:registering classes
9087 -1219971328 [2016-11-29 23:35:14,861] INFO trytond.modules
health_crypto:registering classes
9087 -1219971328 [2016-11-29 23:35:14,863] INFO trytond.modules
health_socioeconomics:registering classes
9087 -1219971328 [2016-11-29 23:35:14,864] INFO trytond.modules
account_product:registering classes
9087 -1219971328 [2016-11-29 23:35:14,866] INFO trytond.modules
health_gyneco:registering classes
9087 -1219971328 [2016-11-29 23:35:14,870] INFO trytond.modules
health_icpm:registering classes
9087 -1219971328 [2016-11-29 23:35:14,870] INFO trytond.modules
health_icd10pcs:registering classes
9087 -1219971328 [2016-11-29 23:35:14,871] INFO trytond.modules
stock_location_sequence:registering classes
9087 -1219971328 [2016-11-29 23:35:14,871] INFO trytond.modules
health_who_essential_medicines:registering classes
9087 -1219971328 [2016-11-29 23:35:14,871] INFO trytond.modules
account_de_skr03:registering classes
9087 -1219971328 [2016-11-29 23:35:14,871] INFO trytond.modules
health_reporting:registering classes
9087 -1219971328 [2016-11-29 23:35:14,873] INFO trytond.modules
health_qrcodes:registering classes
File "./trytond", line 80, in <module>
server.TrytonServer(options).run()
File
"/home/gnuhealth/gnuhealth/tryton/server/trytond-3.8.8/trytond/server.py",
line 112, in run
Pool(db_name).init(update=self.options.update, lang=lang)
File
"/home/gnuhealth/gnuhealth/tryton/server/trytond-3.8.8/trytond/pool.py",
line 144, in init
self.start()
File
"/home/gnuhealth/gnuhealth/tryton/server/trytond-3.8.8/trytond/pool.py",
line 97, in start
register_classes()
File
"/home/gnuhealth/gnuhealth/tryton/server/trytond-3.8.8/trytond/modules/__init__.py",
line 358, in register_classes
mod_file, pathname, description)
File
"/home/gnuhealth/gnuhealth/tryton/server/trytond-3.8.8/trytond/modules/health_qrcodes/__init__.py",
line 25, in <module>
from .health_qrcodes import *
File
"/home/gnuhealth/gnuhealth/tryton/server/trytond-3.8.8/trytond/modules/health_qrcodes/health_qrcodes.py",
line 23, in <module>
import qrcode
ImportError: No module named qrcode
En fin, parece que si que empieza a cargar la bd, pero hay algo que falla...
Hola,
Soy nuevo en esto.
Llevo dias intentando crear una base de datos nueva atraves del
cliente Tryton. Porque quiero hacer pruebas con Gnuhealth.
Siempre me da error de password incorrecto del "Tryton Server password".
super_pwd = BIhnuPvHh3oYY por super_pwd = 123
puede ser este el problema ?
Perdon la solucion es ejecutar:

pip install qrcode
Xavier Andorrà
2016-11-30 17:11:03 UTC
Permalink
OK, gracias Oscar.

Una vez instalado el qrcode, el servidor arranca y se conecta a la bd
"gnuhealth" pero, se para solo, antes de terminar todo el proceso de
arranque y de que pueda arrancar el cliente.

Adjunto un archivo donde he pegado la info que muestra el debug en el
terminal.

La última linea antes de detenerse es la siguiente:

4693 -1219488000 [2016-11-30 16:42:58,192] INFO trytond.server Update/Init
succeed!
Post by Xavier Andorrà
Gracias por la respuesta.
Pero no hay manera. Ahora al arrancar el servidor con la instrucción que
Primer aturem servidor tryton.
[ ok ] Stopping tryton-server (via systemctl): tryton-server.service.
Arrenca servidor Tryton 3.8.8
9087 -1219971328 [2016-11-29 23:35:14,349] INFO trytond.server using
/home/gnuhealth/gnuhealth/tryton/server/config/trytond.conf as
configuration file
9087 -1219971328 [2016-11-29 23:35:14,350] INFO trytond.server
initialising distributed objects services
9087 -1219971328 [2016-11-29 23:35:14,363] INFO
trytond.backend.postgresql.database connect to "gnuhealth"
9087 -1219971328 [2016-11-29 23:35:14,701] INFO trytond.modules
ir:registering classes
9087 -1219971328 [2016-11-29 23:35:14,701] INFO trytond.modules
res:registering classes
9087 -1219971328 [2016-11-29 23:35:14,701] INFO trytond.modules
tests:registering classes
9087 -1219971328 [2016-11-29 23:35:14,701] INFO trytond.modules
webdav:registering classes
9087 -1219971328 [2016-11-29 23:35:14,701] INFO trytond.modules
country:registering classes
9087 -1219971328 [2016-11-29 23:35:14,702] INFO trytond.modules
dashboard:registering classes
9087 -1219971328 [2016-11-29 23:35:14,703] INFO trytond.modules
currency:registering classes
9087 -1219971328 [2016-11-29 23:35:14,704] INFO trytond.modules
product:registering classes
9087 -1219971328 [2016-11-29 23:35:14,705] INFO trytond.modules
ldap_authentication:registering classes
9087 -1219971328 [2016-11-29 23:35:14,720] INFO trytond.modules
product_attribute:registering classes
9087 -1219971328 [2016-11-29 23:35:14,720] INFO trytond.modules
product_cost_history:registering classes
9087 -1219971328 [2016-11-29 23:35:14,721] INFO trytond.modules
calendar:registering classes
9087 -1219971328 [2016-11-29 23:35:14,740] INFO trytond.modules
party:registering classes
9087 -1219971328 [2016-11-29 23:35:14,743] INFO trytond.modules
product_measurements:registering classes
9087 -1219971328 [2016-11-29 23:35:14,744] INFO trytond.modules
customs:registering classes
9087 -1219971328 [2016-11-29 23:35:14,746] INFO trytond.modules
calendar_scheduling:registering classes
9087 -1219971328 [2016-11-29 23:35:14,747] INFO trytond.modules
bank:registering classes
9087 -1219971328 [2016-11-29 23:35:14,750] INFO trytond.modules
party_relationship:registering classes
9087 -1219971328 [2016-11-29 23:35:14,750] INFO trytond.modules
carrier:registering classes
9087 -1219971328 [2016-11-29 23:35:14,751] INFO trytond.modules
company:registering classes
9087 -1219971328 [2016-11-29 23:35:14,760] INFO trytond.modules
party_siret:registering classes
9087 -1219971328 [2016-11-29 23:35:14,761] INFO trytond.modules
google_maps:registering classes
9087 -1219971328 [2016-11-29 23:35:14,762] INFO trytond.modules
calendar_classification:registering classes
9087 -1219971328 [2016-11-29 23:35:14,762] INFO trytond.modules
party_vcarddav:registering classes
9087 -1219971328 [2016-11-29 23:35:14,763] INFO trytond.modules
calendar_todo:registering classes
9087 -1219971328 [2016-11-29 23:35:14,766] INFO trytond.modules
company_work_time:registering classes
9087 -1219971328 [2016-11-29 23:35:14,766] INFO trytond.modules
health:registering classes
9087 -1219971328 [2016-11-29 23:35:14,804] INFO trytond.modules
product_price_list:registering classes
9087 -1219971328 [2016-11-29 23:35:14,805] INFO trytond.modules
account:registering classes
9087 -1219971328 [2016-11-29 23:35:14,820] INFO trytond.modules
stock:registering classes
9087 -1219971328 [2016-11-29 23:35:14,831] INFO trytond.modules
health_genetics:registering classes
9087 -1219971328 [2016-11-29 23:35:14,832] INFO trytond.modules
stock_split:registering classes
9087 -1219971328 [2016-11-29 23:35:14,832] INFO trytond.modules
stock_lot:registering classes
9087 -1219971328 [2016-11-29 23:35:14,833] INFO trytond.modules
product_cost_fifo:registering classes
9087 -1219971328 [2016-11-29 23:35:14,834] INFO trytond.modules
health_icd9procs:registering classes
9087 -1219971328 [2016-11-29 23:35:14,834] INFO trytond.modules
account_be:registering classes
9087 -1219971328 [2016-11-29 23:35:14,834] INFO trytond.modules
health_icd10:registering classes
9087 -1219971328 [2016-11-29 23:35:14,834] INFO trytond.modules
health_archives:registering classes
9087 -1219971328 [2016-11-29 23:35:14,835] INFO trytond.modules
health_ophthalmology:registering classes
9087 -1219971328 [2016-11-29 23:35:14,836] INFO trytond.modules
stock_forecast:registering classes
9087 -1219971328 [2016-11-29 23:35:14,837] INFO trytond.modules
health_pediatrics:registering classes
9087 -1219971328 [2016-11-29 23:35:14,839] INFO trytond.modules
account_payment:registering classes
9087 -1219971328 [2016-11-29 23:35:14,841] INFO trytond.modules
account_dunning:registering classes
9087 -1219971328 [2016-11-29 23:35:14,842] INFO trytond.modules
health_lifestyle:registering classes
9087 -1219971328 [2016-11-29 23:35:14,844] INFO trytond.modules
health_iss:registering classes
9087 -1219971328 [2016-11-29 23:35:14,846] INFO trytond.modules
health_imaging:registering classes
9087 -1219971328 [2016-11-29 23:35:14,847] INFO trytond.modules
stock_product_location:registering classes
9087 -1219971328 [2016-11-29 23:35:14,848] INFO trytond.modules
health_surgery:registering classes
9087 -1219971328 [2016-11-29 23:35:14,850] INFO trytond.modules
stock_package:registering classes
9087 -1219971328 [2016-11-29 23:35:14,851] INFO trytond.modules
stock_inventory_location:registering classes
9087 -1219971328 [2016-11-29 23:35:14,851] INFO trytond.modules
health_lab:registering classes
9087 -1219971328 [2016-11-29 23:35:14,853] INFO trytond.modules
production:registering classes
9087 -1219971328 [2016-11-29 23:35:14,856] INFO trytond.modules
timesheet:registering classes
9087 -1219971328 [2016-11-29 23:35:14,858] INFO trytond.modules
analytic_account:registering classes
9087 -1219971328 [2016-11-29 23:35:14,860] INFO trytond.modules
health_calendar:registering classes
9087 -1219971328 [2016-11-29 23:35:14,861] INFO trytond.modules
health_crypto:registering classes
9087 -1219971328 [2016-11-29 23:35:14,863] INFO trytond.modules
health_socioeconomics:registering classes
9087 -1219971328 [2016-11-29 23:35:14,864] INFO trytond.modules
account_product:registering classes
9087 -1219971328 [2016-11-29 23:35:14,866] INFO trytond.modules
health_gyneco:registering classes
9087 -1219971328 [2016-11-29 23:35:14,870] INFO trytond.modules
health_icpm:registering classes
9087 -1219971328 [2016-11-29 23:35:14,870] INFO trytond.modules
health_icd10pcs:registering classes
9087 -1219971328 [2016-11-29 23:35:14,871] INFO trytond.modules
stock_location_sequence:registering classes
9087 -1219971328 [2016-11-29 23:35:14,871] INFO trytond.modules
health_who_essential_medicines:registering classes
9087 -1219971328 [2016-11-29 23:35:14,871] INFO trytond.modules
account_de_skr03:registering classes
9087 -1219971328 [2016-11-29 23:35:14,871] INFO trytond.modules
health_reporting:registering classes
9087 -1219971328 [2016-11-29 23:35:14,873] INFO trytond.modules
health_qrcodes:registering classes
File "./trytond", line 80, in <module>
server.TrytonServer(options).run()
File
"/home/gnuhealth/gnuhealth/tryton/server/trytond-3.8.8/trytond/server.py",
line 112, in run
Pool(db_name).init(update=self.options.update, lang=lang)
File
"/home/gnuhealth/gnuhealth/tryton/server/trytond-3.8.8/trytond/pool.py",
line 144, in init
self.start()
File
"/home/gnuhealth/gnuhealth/tryton/server/trytond-3.8.8/trytond/pool.py",
line 97, in start
register_classes()
File
"/home/gnuhealth/gnuhealth/tryton/server/trytond-3.8.8/trytond/modules/__init__.py",
line 358, in register_classes
mod_file, pathname, description)
File
"/home/gnuhealth/gnuhealth/tryton/server/trytond-3.8.8/trytond/modules/health_qrcodes/__init__.py",
line 25, in <module>
from .health_qrcodes import *
File
"/home/gnuhealth/gnuhealth/tryton/server/trytond-3.8.8/trytond/modules/health_qrcodes/health_qrcodes.py",
line 23, in <module>
import qrcode
ImportError: No module named qrcode
En fin, parece que si que empieza a cargar la bd, pero hay algo que falla...
Post by Xavier Andorrà
Hola,
Soy nuevo en esto.
Llevo dias intentando crear una base de datos nueva atraves del cliente
Tryton. Porque quiero hacer pruebas con Gnuhealth.
Siempre me da error de password incorrecto del "Tryton Server password".
super_pwd = BIhnuPvHh3oYY por super_pwd = 123
puede ser este el problema ?
pip install qrcode
Sergi Almacellas Abellana
2016-11-30 17:22:34 UTC
Permalink
Hola Xavi,
Post by Xavier Andorrà
OK, gracias Oscar.
Una vez instalado el qrcode, el servidor arranca y se conecta a la bd
"gnuhealth" pero, se para solo, antes de terminar todo el proceso de
arranque y de que pueda arrancar el cliente.
Adjunto un archivo donde he pegado la info que muestra el debug en el
terminal.
4693 -1219488000 [2016-11-30 16:42:58,192] INFO trytond.server
Update/Init succeed!
Lo que has hecho es actualizar la base de datos ya que has especificado
la opcion --all (o bien -u <modulo)

Debes ejectuar trytond sin este comando para que se quede escuchando
como servidor. Con el siguiente comando por ejemplo:

trytond -c <fichero_configuraion> -d <base_datos>

Ambos parametros són opcionales por lo que los puedes omitir si quieres.

Un saludo,
--
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk
Xavier Andorrà
2016-11-30 18:45:11 UTC
Permalink
Sergi, ha ido bién quitar el "--all" !!!!

Aún no he terminado, pero me ha dejado crear una bd nueva.

Muchas, muchas gracias. Llevaba bastantes dias intentando que funcionara....

Un abrazo, Sergi y Oscar. Gracias por ayudar.

El dimecres, 30 novembre de 2016 18:22:37 UTC+1, Sergi Almacellas Abellana
Post by Sergi Almacellas Abellana
Hola Xavi,
Post by Xavier Andorrà
OK, gracias Oscar.
Una vez instalado el qrcode, el servidor arranca y se conecta a la bd
"gnuhealth" pero, se para solo, antes de terminar todo el proceso de
arranque y de que pueda arrancar el cliente.
Adjunto un archivo donde he pegado la info que muestra el debug en el
terminal.
4693 -1219488000 [2016-11-30 16:42:58,192] INFO trytond.server
Update/Init succeed!
Lo que has hecho es actualizar la base de datos ya que has especificado
la opcion --all (o bien -u <modulo)
Debes ejectuar trytond sin este comando para que se quede escuchando
trytond -c <fichero_configuraion> -d <base_datos>
Ambos parametros són opcionales por lo que los puedes omitir si quieres.
Un saludo,
--
Sergi Almacellas Abellana
www.koolpi.com
Loading...