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!


El dimecres, 30 novembre de 2016 2:50:26 UTC+1, oscar_alvarez va escriure:
>
>
>
> On 29/11/16 18:42, Xavier Andorrà wrote:
>
> 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...
>
> El dimecres, 16 novembre de 2016 15:23:10 UTC+1, Xavier Andorrà va 
> escriure: 
>>
>> 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 ?
>>
>>
> Perdon la solucion es ejecutar:
>
> pip install qrcode
>

Attachment: 20161130 Log arrencada fallida
Description: Binary data

Responder a