Discussion:
[tryton-es] Warning Tryton 4.0
Fernando Sánchez
2016-08-06 04:41:10 UTC
Permalink
Hola a todos

Al iniciar el servidor Tryton 4.0 me sale el siguiente warning:

(tryton40)***@Watari:~/.virtualenvs/proyectos/tryton40$ trytond -c
/etc/trytond.conf -d tryton40 -v
13383 139870955767552 [2016-08-06 04:37:08,853] INFO trytond.config using
/etc/trytond.conf as configuration file
13383 139870955767552 [2016-08-06 04:37:09,053] WARNING py.warnings
/home/nando/.virtualenvs/tryton40/local/lib/python2.7/site-packages/relatorio/templates/__init__.py:29:
UserWarning: Unable to load plugin 'chart'
warnings.warn("Unable to load plugin '%s'" % name)

13383 139870955767552 [2016-08-06 04:37:09,157] INFO trytond.modules
ir:registering classes
13383 139870955767552 [2016-08-06 04:37:09,157] INFO trytond.modules
res:registering classes
13383 139870955767552 [2016-08-06 04:37:09,157] INFO trytond.modules
webdav:registering classes
13383 139870955767552 [2016-08-06 04:37:09,159] INFO trytond.modules
tests:registering classes

Tal vez a alguien le sucedió y me pueda dar alguna pista por donde comenzar
a buscar la solución.

Saludos

Fernando S.
Sergi Almacellas Abellana
2016-08-08 07:18:41 UTC
Permalink
Post by Fernando Sánchez
Hola a todos
/etc/trytond.conf -d tryton40 -v
13383 139870955767552 [2016-08-06 04:37:08,853] INFO trytond.config
using /etc/trytond.conf as configuration file
13383 139870955767552 [2016-08-06 04:37:09,053] WARNING py.warnings
UserWarning: Unable to load plugin 'chart'
warnings.warn("Unable to load plugin '%s'" % name)
13383 139870955767552 [2016-08-06 04:37:09,157] INFO trytond.modules
ir:registering classes
13383 139870955767552 [2016-08-06 04:37:09,157] INFO trytond.modules
res:registering classes
13383 139870955767552 [2016-08-06 04:37:09,157] INFO trytond.modules
webdav:registering classes
13383 139870955767552 [2016-08-06 04:37:09,159] INFO trytond.modules
tests:registering classes
Tal vez a alguien le sucedió y me pueda dar alguna pista por donde
comenzar a buscar la solución.
Buenos días,

El motivo de este warning es para informar que no se ha podido encontrar
la librería opcional pycha [1] que utiliza el motor de reportes relatiorio.

Puedes ignorar ese warning si no necesitas esa funcionalidad o lo puedes
solucionar instalando la librería.

Un saludo,

[1] https://pypi.python.org/pypi/pycha/0.7.0
--
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk
Fernando Sánchez
2016-08-08 15:23:04 UTC
Permalink
Post by Sergi Almacellas Abellana
Post by Fernando Sánchez
Hola a todos
/etc/trytond.conf -d tryton40 -v
13383 139870955767552 [2016-08-06 04:37:08,853] INFO trytond.config
using /etc/trytond.conf as configuration file
13383 139870955767552 [2016-08-06 04:37:09,053] WARNING py.warnings
UserWarning: Unable to load plugin 'chart'
warnings.warn("Unable to load plugin '%s'" % name)
13383 139870955767552 [2016-08-06 04:37:09,157] INFO trytond.modules
ir:registering classes
13383 139870955767552 [2016-08-06 04:37:09,157] INFO trytond.modules
res:registering classes
13383 139870955767552 [2016-08-06 04:37:09,157] INFO trytond.modules
webdav:registering classes
13383 139870955767552 [2016-08-06 04:37:09,159] INFO trytond.modules
tests:reg
istering classes
Tal vez a alguien le sucedió y me pueda dar alguna pista por donde
comenzar a buscar la solución.
Buenos días,
El motivo de este warning es para informar que no se ha podido
encontrar la librería opcional pycha [1] que utiliza el motor de
reportes relatiorio.
Puedes ignorar ese warning si no necesitas esa funcionalidad o lo
puedes solucionar instalando la librería.
Un saludo,
[1] https://pypi.python.org/pypi/pycha/0.7.0
Buen dia Sergi

Gracias por responder,
Te cuento que instale la libreria pycha 0.7.0, etsoy trabajando en un
entorno virtualenv, pero al iniciar el server trytond sigue saliendo el
warning.
No se que pueda estar faltando por hacer. Aqui el log:

***@Watari:~$ workon tryton40
(tryton40)***@Watari:~/.virtualenvs/proyectos/tryton40$ pip install pycha
Downloading/unpacking pycha
Downloading pycha-0.7.0.tar.gz (41kB): 41kB downloaded
Running setup.py (path:/tmp/pip-build-6QwCAX/pycha/setup.py) egg_info
for package pycha

Installing collected packages: pycha
Running setup.py install for pycha

Installing chavier script to /home/nando/.virtualenvs/tryton40/bin
Successfully installed pycha
(tryton40)***@Watari:~/.virtualenvs/proyectos/tryton40$ trytond -d
tryton40 -c /etc/trytond.conf -v
7455 140507211556608 [2016-08-08 14:58:55,289] INFO trytond.config using
/etc/trytond.conf as configuration file
7455 140507211556608 [2016-08-08 14:58:55,883] WARNING py.warnings
/home/nando/.virtualenvs/tryton40/local/lib/python2.7/site-packages/relatorio/templates/__init__.py:29:
UserWarning: Unable to load plugin 'chart'
warnings.warn("Unable to load plugin '%s'" % name)

7455 140507211556608 [2016-08-08 14:58:56,685] INFO trytond.modules
ir:registering classes
7455 140507211556608 [2016-08-08 14:58:56,686] INFO trytond.modules
res:registering classes
7455 140507211556608 [2016-08-08 14:58:56,686] INFO trytond.modules
webdav:registering classes
7455 140507211556608 [2016-08-08 14:58:56,696] INFO trytond.modules
tests:registering classes
7455 140507211556608 [2016-08-08 14:58:56,696] INFO trytond.modules
currency:registering classes
7455 140507211556608 [2016-08-08 14:58:56,718] INFO trytond.modules
product:registering classes
7455 140507211556608 [2016-08-08 14:58:56,734] INFO trytond.modules
country:registering classes
7455 140507211556608 [2016-08-08 14:58:56,747] INFO trytond.modules
dashboard:registering classes
7455 140507211556608 [2016-08-08 14:58:56,758] INFO trytond.modules
calendar:registering classes
7455 140507211556608 [2016-08-08 14:58:56,936] INFO trytond.modules
product_classification:registering classes
7455 140507211556608 [2016-08-08 14:58:56,945] INFO trytond.modules
party:registering classes
7455 140507211556608 [2016-08-08 14:58:57,025] INFO trytond.modules
product_attribute:registering classes
7455 140507211556608 [2016-08-08 14:58:57,032] INFO trytond.modules
product_measurements:registering classes
7455 140507211556608 [2016-08-08 14:58:57,043] INFO trytond.modules
product_cost_history:registering classes
7455 140507211556608 [2016-08-08 14:58:57,045] INFO trytond.modules
google_maps:registering classes
7455 140507211556608 [2016-08-08 14:58:57,058] INFO trytond.modules
calendar_scheduling:registering classes
7455 140507211556608 [2016-08-08 14:58:57,092] INFO trytond.modules
party_relationship:registering classes
7455 140507211556608 [2016-08-08 14:58:57,094] INFO trytond.modules
calendar_classification:registering classes
7455 140507211556608 [2016-08-08 14:58:57,121] INFO trytond.modules
calendar_todo:registering classes
7455 140507211556608 [2016-08-08 14:58:57,135] INFO trytond.modules
company:registering classes
7455 140507211556608 [2016-08-08 14:58:57,184] INFO trytond.modules
bank:registering classes
7455 140507211556608 [2016-08-08 14:58:57,223] INFO trytond.modules
carrier:registering classes
7455 140507211556608 [2016-08-08 14:58:57,224] INFO trytond.modules
company_work_time:registering classes
7455 140507211556608 [2016-08-08 14:58:57,233] INFO trytond.modules
staff:registering classes
7455 140507211556608 [2016-08-08 14:58:57,267] INFO trytond.modules
stock:registering classes
7455 140507211556608 [2016-08-08 14:58:57,314] INFO trytond.modules
account:registering classes
7455 140507211556608 [2016-08-08 14:58:57,369] INFO trytond.modules
product_price_list:registering classes
7455 140507211556608 [2016-08-08 14:58:57,384] INFO trytond.modules
stock_inventory_location:registering classes
7455 140507211556608 [2016-08-08 14:58:57,397] INFO trytond.modules
account_product:registering classes
7455 140507211556608 [2016-08-08 14:58:57,415] INFO trytond.modules
product_cost_fifo:registering classes
7455 140507211556608 [2016-08-08 14:58:57,427] INFO trytond.modules
stock_forecast:registering classes
7455 140507211556608 [2016-08-08 14:58:57,441] INFO trytond.modules
stock_product_location:registering classes
7455 140507211556608 [2016-08-08 14:58:57,446] INFO trytond.modules
account_payment:registering classes
7455 140507211556608 [2016-08-08 14:58:57,459] INFO trytond.modules
account_dunning:registering classes
7455 140507211556608 [2016-08-08 14:58:57,466] INFO trytond.modules
timesheet:registering classes
7455 140507211556608 [2016-08-08 14:58:57,481] INFO trytond.modules
analytic_account:registering classes
7455 140507211556608 [2016-08-08 14:58:57,525] INFO trytond.modules
staff_payroll:registering classes
7455 140507211556608 [2016-08-08 14:58:57,564] INFO trytond.modules
timesheet_cost:registering classes
7455 140507211556608 [2016-08-08 14:58:57,566] INFO trytond.modules
account_stock_continental:registering classes
7455 140507211556608 [2016-08-08 14:58:57,584] INFO trytond.modules
account_invoice:registering classes
7455 140507211556608 [2016-08-08 14:58:57,600] INFO trytond.modules
account_dunning_letter:registering classes
7455 140507211556608 [2016-08-08 14:58:57,613] INFO trytond.modules
account_statement:registering classes
7455 140507211556608 [2016-08-08 14:58:57,622] INFO trytond.modules
account_invoice_stock:registering classes
7455 140507211556608 [2016-08-08 14:58:57,629] INFO trytond.modules
account_invoice_line_standalone:registering classes
7455 140507211556608 [2016-08-08 14:58:57,638] INFO trytond.modules
account_stock_landed_cost:registering classes
7455 140507211556608 [2016-08-08 14:58:57,643] INFO trytond.modules
purchase_shipment_cost:registering classes
7455 140507211556608 [2016-08-08 14:58:57,649] INFO trytond.modules
account_deposit:registering classes
7455 140507211556608 [2016-08-08 14:58:57,651] INFO trytond.modules
analytic_invoice:registering classes
7455 140507211556608 [2016-08-08 14:58:57,658] INFO trytond.modules
account_invoice_history:registering classes
7455 140507211556608 [2016-08-08 14:58:57,670] INFO trytond.modules
sale:registering classes
7455 140507211556608 [2016-08-08 14:58:57,687] INFO trytond.modules
carrier_weight:registering classes
7455 140507211556608 [2016-08-08 14:58:57,697] INFO trytond.modules
carrier_percentage:registering classes
7455 140507211556608 [2016-08-08 14:58:57,704] INFO trytond.modules
purchase:registering classes
7455 140507211556608 [2016-08-08 14:58:57,715] INFO trytond.modules
account_payment_clearing:registering classes
7455 140507211556608 [2016-08-08 14:58:57,725] INFO trytond.modules
account_asset:registering classes
7455 140507211556608 [2016-08-08 14:58:57,762] INFO trytond.modules
purchase_request:registering classes
7455 140507211556608 [2016-08-08 14:58:57,773] INFO trytond.modules
analytic_purchase:registering classes
7455 140507211556608 [2016-08-08 14:58:57,774] INFO trytond.modules
sale_complaint:registering classes
7455 140507211556608 [2016-08-08 14:58:57,790] INFO trytond.modules
purchase_invoice_line_standalone:registering classes
7455 140507211556608 [2016-08-08 14:58:57,800] INFO trytond.modules
sale_opportunity:registering classes
7455 140507211556608 [2016-08-08 14:58:57,822] INFO trytond.modules
sale_price_list:registering classes
7455 140507211556608 [2016-08-08 14:58:57,824] INFO trytond.modules
analytic_sale:registering classes
7455 140507211556608 [2016-08-08 14:58:57,840] INFO trytond.modules
stock_supply:registering classes
7455 140507211556608 [2016-08-08 14:58:57,852] INFO trytond.modules
sale_promotion:registering classes
7455 140507211556608 [2016-08-08 14:58:57,854] INFO trytond.modules
sale_supply:registering classes
7455 140507211556608 [2016-08-08 14:58:57,857] INFO trytond.modules
sale_stock_quantity:registering classes
7455 140507211556608 [2016-08-08 14:58:57,879] INFO trytond.pool init
pool for "tryton40"
7455 140507211556608 [2016-08-08 14:58:57,981] INFO
trytond.backend.postgresql.database connect to "tryton40"
7455 140507211556608 [2016-08-08 14:58:58,248] INFO trytond.modules ir
7455 140507211556608 [2016-08-08 14:58:58,250] INFO trytond.modules res
7455 140507211556608 [2016-08-08 14:58:58,250] INFO trytond.modules currency
7455 140507211556608 [2016-08-08 14:58:58,251] INFO trytond.modules product
7455 140507211556608 [2016-08-08 14:58:58,251] INFO trytond.modules country
7455 140507211556608 [2016-08-08 14:58:58,251] INFO trytond.modules party
7455 140507211556608 [2016-08-08 14:58:58,251] INFO trytond.modules
product_attribute
7455 140507211556608 [2016-08-08 14:58:58,251] INFO trytond.modules
product_cost_history
7455 140507211556608 [2016-08-08 14:58:58,252] INFO trytond.modules
party_relationship
7455 140507211556608 [2016-08-08 14:58:58,252] INFO trytond.modules company
7455 140507211556608 [2016-08-08 14:58:58,253] INFO trytond.modules
google_maps
7455 140507211556608 [2016-08-08 14:58:58,253] INFO trytond.modules bank
7455 140507211556608 [2016-08-08 14:58:58,253] INFO trytond.modules
company_work_time
7455 140507211556608 [2016-08-08 14:58:58,253] INFO trytond.modules staff
7455 140507211556608 [2016-08-08 14:58:58,254] INFO trytond.modules stock
7455 140507211556608 [2016-08-08 14:58:58,255] INFO trytond.modules account
7455 140507211556608 [2016-08-08 14:58:58,256] INFO trytond.modules
product_price_list
7455 140507211556608 [2016-08-08 14:58:58,257] INFO trytond.modules
stock_inventory_location
7455 140507211556608 [2016-08-08 14:58:58,257] INFO trytond.modules
account_product
7455 140507211556608 [2016-08-08 14:58:58,257] INFO trytond.modules
stock_forecast
7455 140507211556608 [2016-08-08 14:58:58,257] INFO trytond.modules
stock_product_location
7455 140507211556608 [2016-08-08 14:58:58,258] INFO trytond.modules
account_payment
7455 140507211556608 [2016-08-08 14:58:58,258] INFO trytond.modules
account_dunning
7455 140507211556608 [2016-08-08 14:58:58,259] INFO trytond.modules
timesheet
7455 140507211556608 [2016-08-08 14:58:58,259] INFO trytond.modules
analytic_account
7455 140507211556608 [2016-08-08 14:58:58,259] INFO trytond.modules
staff_payroll
7455 140507211556608 [2016-08-08 14:58:58,260] INFO trytond.modules
timesheet_cost
7455 140507211556608 [2016-08-08 14:58:58,260] INFO trytond.modules
account_invoice
7455 140507211556608 [2016-08-08 14:58:58,261] INFO trytond.modules
account_stock_continental
7455 140507211556608 [2016-08-08 14:58:58,262] INFO trytond.modules
account_dunning_letter
7455 140507211556608 [2016-08-08 14:58:58,262] INFO trytond.modules
account_statement
7455 140507211556608 [2016-08-08 14:58:58,263] INFO trytond.modules
analytic_invoice
7455 140507211556608 [2016-08-08 14:58:58,263] INFO trytond.modules
account_invoice_stock
7455 140507211556608 [2016-08-08 14:58:58,263] INFO trytond.modules
account_invoice_line_standalone
7455 140507211556608 [2016-08-08 14:58:58,264] INFO trytond.modules
account_deposit
7455 140507211556608 [2016-08-08 14:58:58,264] INFO trytond.modules
account_invoice_history
7455 140507211556608 [2016-08-08 14:58:58,265] INFO trytond.modules sale
7455 140507211556608 [2016-08-08 14:58:58,266] INFO trytond.modules purchase
7455 140507211556608 [2016-08-08 14:58:58,267] INFO trytond.modules
account_payment_clearing
7455 140507211556608 [2016-08-08 14:58:58,267] INFO trytond.modules
account_asset
7455 140507211556608 [2016-08-08 14:58:58,268] INFO trytond.modules
analytic_purchase
7455 140507211556608 [2016-08-08 14:58:58,269] INFO trytond.modules
sale_complaint
7455 140507211556608 [2016-08-08 14:58:58,269] INFO trytond.modules
analytic_sale
7455 140507211556608 [2016-08-08 14:58:58,270] INFO trytond.modules
purchase_request
7455 140507211556608 [2016-08-08 14:58:58,270] INFO trytond.modules
purchase_invoice_line_standalone
7455 140507211556608 [2016-08-08 14:58:58,270] INFO trytond.modules
sale_opportunity
7455 140507211556608 [2016-08-08 14:58:58,272] INFO trytond.modules
sale_price_list
7455 140507211556608 [2016-08-08 14:58:58,272] INFO trytond.modules
stock_supply
7455 140507211556608 [2016-08-08 14:58:58,273] INFO trytond.modules
sale_promotion
7455 140507211556608 [2016-08-08 14:58:58,273] INFO trytond.modules
sale_supply
7455 140507211556608 [2016-08-08 14:58:58,274] INFO trytond.modules
sale_stock_quantity
7455 140507211556608 [2016-08-08 14:58:58,274] INFO trytond.pool setup
pool for "tryton40"
7455 140507211556608 [2016-08-08 14:58:59,569] INFO trytond.modules all
modules loaded
7455 140507211556608 [2016-08-08 14:58:59,745] INFO werkzeug * Running
on http://localhost:8000/ (Press CTRL+C to quit)

Saludos
Sergi Almacellas Abellana
2016-08-08 15:44:21 UTC
Permalink
Post by Fernando Sánchez
Post by Sergi Almacellas Abellana
Post by Fernando Sánchez
Hola a todos
/etc/trytond.conf -d tryton40 -v
13383 139870955767552 [2016-08-06 04:37:08,853] INFO trytond.config
using /etc/trytond.conf as configuration file
13383 139870955767552 [2016-08-06 04:37:09,053] WARNING py.warnings
UserWarning: Unable to load plugin 'chart'
warnings.warn("Unable to load plugin '%s'" % name)
13383 139870955767552 [2016-08-06 04:37:09,157] INFO trytond.modules
ir:registering classes
13383 139870955767552 [2016-08-06 04:37:09,157] INFO trytond.modules
res:registering classes
13383 139870955767552 [2016-08-06 04:37:09,157] INFO trytond.modules
webdav:registering classes
13383 139870955767552 [2016-08-06 04:37:09,159] INFO trytond.modules
tests:reg
istering classes
Tal vez a alguien le sucedió y me pueda dar alguna pista por donde
comenzar a buscar la solución.
Buenos días,
El motivo de este warning es para informar que no se ha podido
encontrar la librería opcional pycha [1] que utiliza el motor de
reportes relatiorio.
Puedes ignorar ese warning si no necesitas esa funcionalidad o lo
puedes solucionar instalando la librería.
Un saludo,
[1] https://pypi.python.org/pypi/pycha/0.7.0
Buen dia Sergi
Gracias por responder,
Te cuento que instale la libreria pycha 0.7.0, etsoy trabajando en un
entorno virtualenv, pero al iniciar el server trytond sigue saliendo el
warning.
Tienes que instalar tambien la libreria pyyaml

De todos modos puedes instalar relatorio con soporte para chart usando
el comando:

pip install "relatorio[chart]>=0.6"

Un saludo,
--
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk
Fernando Sánchez
2017-07-25 17:24:01 UTC
Permalink
Se me ocurrió retomar la solución de este warning y pude encontrarla.
Había que instalar la libreria pycairo, que era la que no se encontraba
instalada y me generaba el warning.
Pero tuve que hacerlo descargando el paquete e instalando via python
setup.py install. Con el comando pip me salia un mensaje que no encontraba
la versión adecuada.

Saludos


El lunes, 8 de agosto de 2016, 10:44:23 (UTC-5), Sergi Almacellas Abellana
Post by Sergi Almacellas Abellana
Post by Fernando Sánchez
Post by Fernando Sánchez
Hola a todos
/etc/trytond.conf -d tryton40 -v
13383 139870955767552 [2016-08-06 04:37:08,853] INFO trytond.config
using /etc/trytond.conf as configuration file
13383 139870955767552 [2016-08-06 04:37:09,053] WARNING py.warnings
UserWarning: Unable to load plugin 'chart'
warnings.warn("Unable to load plugin '%s'" % name)
13383 139870955767552 [2016-08-06 04:37:09,157] INFO trytond.modules
ir:registering classes
13383 139870955767552 [2016-08-06 04:37:09,157] INFO trytond.modules
res:registering classes
13383 139870955767552 [2016-08-06 04:37:09,157] INFO trytond.modules
webdav:registering classes
13383 139870955767552 [2016-08-06 04:37:09,159] INFO trytond.modules
tests:reg
istering classes
Tal vez a alguien le sucedió y me pueda dar alguna pista por donde
comenzar a buscar la solución.
Buenos días,
El motivo de este warning es para informar que no se ha podido
encontrar la librería opcional pycha [1] que utiliza el motor de
reportes relatiorio.
Puedes ignorar ese warning si no necesitas esa funcionalidad o lo
puedes solucionar instalando la librería.
Un saludo,
[1] https://pypi.python.org/pypi/pycha/0.7.0
Buen dia Sergi
Gracias por responder,
Te cuento que instale la libreria pycha 0.7.0, etsoy trabajando en un
entorno virtualenv, pero al iniciar el server trytond sigue saliendo el
warning.
Tienes que instalar tambien la libreria pyyaml
De todos modos puedes instalar relatorio con soporte para chart usando
pip install "relatorio[chart]>=0.6"
Un saludo,
--
Sergi Almacellas Abellana
www.koolpi.com
Loading...