health-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Health-dev] Exception when building the package in a cleanroom Debian e


From: Emilien Klein
Subject: [Health-dev] Exception when building the package in a cleanroom Debian environment
Date: Mon, 24 Mar 2014 21:35:40 +0100

Hi GNU Health team,

The Debian package has to pass a number of automated tests to validate
a minimal level of quality. One of these tools is called piuparts.

When running piuparts on the latest version of the Debian package, an
exception was thrown. I would need some help figuring out how to fix
this.

See the output of the entire build process here, the Traceback is at the end:
https://piuparts.debian.org/sid/fail/gnuhealth-server_2.4.1-2.log

Extract:

  [Fri Mar 14 03:40:49 2014] INFO:modules:ir:loading lang.xml
  [Fri Mar 14 03:40:49 2014]  [7mERROR [0m:convert:Error while parsing xml file:
  In tag record: model ir.lang with id lang_ca.
  Traceback (most recent call last):
[...]
    File 
"/usr/lib/python2.7/dist-packages/trytond/backend/postgresql/database.py",
line 309, in execute
      return self.cursor.execute(sql, params)
  UnicodeEncodeError: 'ascii' codec can't encode character u'\xe0' in
position 5: ordinal not in range(128)


Seems like there is some character with accents in the Canadian
language model, which can't be encoded using ASCII.

Any idea how to fix this?
Thanks,
    +Emilien



reply via email to

[Prev in Thread] Current Thread [Next in Thread]