On 08 Jan 11:31, Jean-Michel OLTRA wrote:
> Y a-t-il un souci pour afficher un signe % dans un document, ou bien une
> ruse particulière ?

Normalement non.

> Si je tente d'afficher un taux de tva via formatLang() + '%', ou bien
> via une méthode python d'un objet qui me récupère les tva regroupées par
> taux (et qui renvoie le taux suivi de %),

Il faudrait expliquer vraiment où se ça se passes. "afficher" peut
vouloir dire beaucoup de chose.

> alors j'obtiens :
> 
>   File "/trytond/protocols/jsonrpc.py", line 123, in _marshaled_dispatch
>     response['result'] = dispatch_method(method, params)
>   File "/trytond/protocols/jsonrpc.py", line 156, in _dispatch
>     res = dispatch(*args)
>   File "/trytond/protocols/dispatcher.py", line 193, in
>     dispatch database_name) + tb_s)
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xc6 in position 2260:
> ordinal not in range(128)

C'est typique d'un problème dans un rapport odt pour lequel Genshi
génère une traceback binaire.

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: [email protected]
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

Attachment: pgpYH7uWr6SXM.pgp
Description: PGP signature

Répondre à