On 2016-05-05 22:44, Oscar Alvarez wrote:
> Hi, Devs
> 
> I trying to run tryton server 4.0 about python 3.5, and it server runs but I
> get some warnings:
> 
> /home/psk/.virtualenvs/tryton40/lib/python3.5/site-packages/relatorio/templates/__init__.py:29:
> UserWarning: Unable to load plugin 'chart'
>   warnings.warn("Unable to load plugin '%s'" % name)

This is not particularly linked to Python3. This is bacause relatorio
has a weak dependency on pycha. If you think this behaviour could be
improved you can report it on https://relatorio.tryton.org/

> /home/psk/.virtualenvs/tryton40/lib/python3.5/site-packages/trytond/modules/__init__.py:143:
> DeprecationWarning: This method will be removed in future versions.  Use
> 'parser.read_file()' instead.
>   module_config.readfp(fp)

Yes, readfp was changed for read_file in Python 3.2 but it is not
available in Python 2.7. So this feature is kept to ease the transition
between 2 to 3: https://bugs.python.org/issue13248#msg146500
I don't think we should do anything about it until we drop support for
2.7.

> /home/psk/.virtualenvs/tryton40/lib/python3.5/site-packages/stdnum/numdb.py:202:
> ResourceWarning: unclosed file <_io.BufferedReader 
> name='/home/psk/.virtualenvs/tryton40/lib/python3.5/site-packages/stdnum/iban.dat'>
>   db = read(reader(resource_stream(__name__, name + '.dat')))

I think this one should be reported to python-stdnum:
https://github.com/arthurdejong/python-stdnum/issues

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: cedric.kr...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

-- 
You received this message because you are subscribed to the Google Groups 
"tryton-dev" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton-dev/20160506090754.GW13326%40tetsuo.

Reply via email to