[Debian-med-packaging] Bug#748561: gnuhealth-server: fails to install

Holger Levsen holger at layer-acht.org
Sun May 18 13:20:41 UTC 2014


Package: gnuhealth-server
Version: 2.4.1-2
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts

Hi, 

during a test with piuparts I noticed your package failed to install in 
jessie. As per definition of the release team this makes the package too buggy 
for a release, thus the severity.

From the attached log (scroll to the bottom...):

0m44.1s DEBUG: Starting command: ['chroot', 
'/srv/piuparts.debian.org/tmp/tmpWTLL_C', 'apt-get', '-y', 'install', 
'gnuhealth-server=2.4.1-2']
1m5.0s DUMP: 
  Reading package lists...
  Building dependency tree...
  Reading state information...
  The following NEW packages will be installed:
    gnuhealth-server
  0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  Need to get 2341 kB of archives.
  After this operation, 45.8 MB of additional disk space will be used.
  Get:1 http://mirror.bm.debian.org/debian/ jessie/main gnuhealth-server all 
2.4.1-2 [2341 kB]
  debconf: delaying package configuration, since apt-utils is not installed
  Fetched 2341 kB in 0s (7300 kB/s)
  Selecting previously unselected package gnuhealth-server.
  (Reading database ... 12376 files and directories currently installed.)
  Preparing to unpack .../gnuhealth-server_2.4.1-2_all.deb ...
  Unpacking gnuhealth-server (2.4.1-2) ...
  Setting up gnuhealth-server (2.4.1-2) ...
  dbconfig-common: writing config to /etc/dbconfig-common/gnuhealth-
server.conf
  
  Creating config file /etc/dbconfig-common/gnuhealth-server.conf with new 
version
  creating postgres user gnuhealth:  success.
  verifying creation of user: success.
  creating database gnuhealth: success.
  verifying database gnuhealth exists: success.
  populating database via scriptfile...  [Wed May 14 07:17:08 2014] 
INFO:server:using /etc/gnuhealth/gnuhealth-server.conf as configuration file
  [Wed May 14 07:17:08 2014] INFO:server:initialising distributed objects 
services
  [Wed May 14 07:17:08 2014] INFO:database:connect to "gnuhealth"
  [Wed May 14 07:17:08 2014] INFO:server:init db
  [Wed May 14 07:17:08 2014] INFO:modules:ir:registering classes
  [Wed May 14 07:17:08 2014] INFO:modules:res:registering classes
  [Wed May 14 07:17:08 2014] INFO:modules:webdav:registering classes
  [Wed May 14 07:17:08 2014] INFO:modules:product:registering classes
  [Wed May 14 07:17:08 2014] INFO:modules:currency:registering classes
  [Wed May 14 07:17:08 2014] INFO:modules:tests:registering classes
  [Wed May 14 07:17:08 2014] INFO:modules:country:registering classes
  [Wed May 14 07:17:08 2014] INFO:modules:calendar:registering classes
  [Wed May 14 07:17:08 2014] INFO:modules:party:registering classes
  [Wed May 14 07:17:08 2014] WARNING:party:Unable to import vatnumber. VAT 
number validation disabled.
  [Wed May 14 07:17:08 2014] INFO:modules:company:registering classes
  [Wed May 14 07:17:08 2014] INFO:modules:health:registering classes
  [Wed May 14 07:17:08 2014] INFO:modules:stock:registering classes
  [Wed May 14 07:17:08 2014] INFO:modules:account:registering classes
  [Wed May 14 07:17:08 2014] INFO:modules:health_socioeconomics:registering 
classes
  [Wed May 14 07:17:08 2014] INFO:modules:health_inpatient:registering classes
  [Wed May 14 07:17:08 2014] INFO:modules:account_product:registering classes
  [Wed May 14 07:17:08 2014] INFO:modules:health_icd10:registering classes
  [Wed May 14 07:17:08 2014] INFO:modules:health_lab:registering classes
  [Wed May 14 07:17:08 2014] INFO:modules:health_icpm:registering classes
  [Wed May 14 07:17:08 2014] INFO:modules:health_gyneco:registering classes
  [Wed May 14 07:17:08 2014] INFO:modules:health_icd10pcs:registering classes
  [Wed May 14 07:17:08 2014] INFO:modules:health_pediatrics:registering 
classes
  [Wed May 14 07:17:08 2014] INFO:modules:stock_lot:registering classes
  [Wed May 14 07:17:08 2014] INFO:modules:health_lifestyle:registering classes
  [Wed May 14 07:17:08 2014] INFO:modules:health_genetics:registering classes
  [Wed May 14 07:17:08 2014] INFO:modules:health_imaging:registering classes
  [Wed May 14 07:17:08 2014] INFO:modules:health_surgery:registering classes
  [Wed May 14 07:17:08 2014] 
INFO:modules:health_who_essential_medicines:registering classes
  [Wed May 14 07:17:08 2014] INFO:modules:health_reporting:registering classes
  [Wed May 14 07:17:08 2014] INFO:modules:health_calendar:registering classes
  [Wed May 14 07:17:08 2014] INFO:modules:account_invoice:registering classes
  [Wed May 14 07:17:08 2014] INFO:modules:health_nursing:registering classes
  [Wed May 14 07:17:08 2014] INFO:modules:health_mdg6:registering classes
  [Wed May 14 07:17:08 2014] 
INFO:modules:health_inpatient_calendar:registering classes
  [Wed May 14 07:17:08 2014] 
INFO:modules:health_pediatrics_growth_charts:registering classes
  [Wed May 14 07:17:08 2014] INFO:modules:health_profile:registering classes
  [Wed May 14 07:17:08 2014] INFO:modules:health_history:registering classes
  [Wed May 14 07:17:08 2014] INFO:modules:health_ntd:registering classes
  [Wed May 14 07:17:08 2014] INFO:modules:health_services:registering classes
  [Wed May 14 07:17:08 2014] INFO:modules:health_ntd_dengue:registering 
classes
  [Wed May 14 07:17:08 2014] INFO:modules:health_icu:registering classes
  [Wed May 14 07:17:08 2014] INFO:modules:health_stock:registering classes
  [Wed May 14 07:17:08 2014] 
INFO:modules:health_pediatrics_growth_charts_who:registering classes
  [Wed May 14 07:17:08 2014] INFO:modules:health_ntd_chagas:registering 
classes
  [Wed May 14 07:17:08 2014] INFO:pool:init pool for "gnuhealth"
  [Wed May 14 07:17:08 2014] INFO:modules:ir
  [Wed May 14 07:17:09 2014] INFO:modules:ir:register ir.model.graph
  [Wed May 14 07:17:09 2014] INFO:modules:ir:register ir.configuration
  [Wed May 14 07:17:09 2014] INFO:modules:ir:register ir.translation
  [Wed May 14 07:17:09 2014] INFO:modules:ir:register ir.translation.set.start
  [Wed May 14 07:17:09 2014] INFO:modules:ir:register 
ir.translation.set.succeed
  [Wed May 14 07:17:09 2014] INFO:modules:ir:register 
ir.translation.clean.start
  [Wed May 14 07:17:09 2014] INFO:modules:ir:register 
ir.translation.clean.succeed
  [Wed May 14 07:17:09 2014] INFO:modules:ir:register 
ir.translation.update.start
  [Wed May 14 07:17:09 2014] INFO:modules:ir:register 
ir.translation.export.start
  [Wed May 14 07:17:09 2014] INFO:modules:ir:register 
ir.translation.export.result
  [Wed May 14 07:17:09 2014] INFO:modules:ir:register ir.sequence.type
  [Wed May 14 07:17:09 2014] INFO:modules:ir:register ir.sequence
  [Wed May 14 07:17:09 2014] INFO:modules:ir:register ir.sequence.strict
  [Wed May 14 07:17:09 2014] INFO:modules:ir:register ir.ui.menu
  [Wed May 14 07:17:09 2014] INFO:modules:ir:register ir.ui.menu.favorite
  [Wed May 14 07:17:09 2014] INFO:modules:ir:register ir.ui.view
  [Wed May 14 07:17:09 2014] INFO:modules:ir:register ir.ui.view.show.start
  [Wed May 14 07:17:09 2014] INFO:modules:ir:register ir.ui.view_tree_width
  [Wed May 14 07:17:09 2014] INFO:modules:ir:register ir.ui.view_tree_state
  [Wed May 14 07:17:09 2014] INFO:modules:ir:register ir.ui.view_search
  [Wed May 14 07:17:10 2014] INFO:modules:ir:register ir.ui.icon
  [Wed May 14 07:17:10 2014] INFO:modules:ir:register ir.property
  [Wed May 14 07:17:10 2014] INFO:modules:ir:register ir.action
  [Wed May 14 07:17:10 2014] INFO:modules:ir:register ir.action.keyword
  [Wed May 14 07:17:10 2014] INFO:modules:ir:register ir.action.report
  [Wed May 14 07:17:10 2014] INFO:modules:ir:register ir.action.act_window
  [Wed May 14 07:17:10 2014] INFO:modules:ir:register 
ir.action.act_window.view
  [Wed May 14 07:17:10 2014] INFO:modules:ir:register 
ir.action.act_window.domain
  [Wed May 14 07:17:10 2014] INFO:modules:ir:register ir.action.wizard
  [Wed May 14 07:17:10 2014] INFO:modules:ir:register ir.action.url
  [Wed May 14 07:17:10 2014] INFO:modules:ir:register ir.model
  [Wed May 14 07:17:10 2014] INFO:modules:ir:register ir.model.field
  [Wed May 14 07:17:10 2014] INFO:modules:ir:register ir.model.access
  [Wed May 14 07:17:11 2014] INFO:modules:ir:register ir.model.field.access
  [Wed May 14 07:17:11 2014] INFO:modules:ir:register ir.model.button
  [Wed May 14 07:17:11 2014] INFO:modules:ir:register ir.model.data
  [Wed May 14 07:17:11 2014] INFO:modules:ir:register 
ir.model.print_model_graph.start
  [Wed May 14 07:17:11 2014] INFO:modules:ir:register ir.attachment
  [Wed May 14 07:17:11 2014] INFO:modules:ir:register ir.cron
  [Wed May 14 07:17:11 2014] INFO:modules:ir:register ir.lang
  [Wed May 14 07:17:11 2014] INFO:modules:ir:register ir.export
  [Wed May 14 07:17:11 2014] INFO:modules:ir:register ir.export.line
  [Wed May 14 07:17:11 2014] INFO:modules:ir:register ir.rule.group
  [Wed May 14 07:17:11 2014] INFO:modules:ir:register ir.rule
  [Wed May 14 07:17:11 2014] INFO:modules:ir:register ir.module.module
  [Wed May 14 07:17:12 2014] INFO:modules:ir:register 
ir.module.module.dependency
  [Wed May 14 07:17:12 2014] INFO:modules:ir:register 
ir.module.module.config_wizard.item
  [Wed May 14 07:17:12 2014] INFO:modules:ir:register 
ir.module.module.config_wizard.first
  [Wed May 14 07:17:12 2014] INFO:modules:ir:register 
ir.module.module.config_wizard.other
  [Wed May 14 07:17:12 2014] INFO:modules:ir:register 
ir.module.module.install_upgrade.start
  [Wed May 14 07:17:12 2014] INFO:modules:ir:register 
ir.module.module.install_upgrade.done
  [Wed May 14 07:17:12 2014] INFO:modules:ir:register ir.cache
  [Wed May 14 07:17:12 2014] INFO:modules:ir:register ir.date
  [Wed May 14 07:17:12 2014] INFO:modules:ir:register ir.trigger
  [Wed May 14 07:17:12 2014] INFO:modules:ir:register ir.trigger.log
  [Wed May 14 07:17:12 2014] INFO:modules:ir:register ir.session
  [Wed May 14 07:17:12 2014] INFO:modules:ir:register ir.session.wizard
  [Wed May 14 07:17:12 2014] INFO:modules:ir:register ir.translation.set
  [Wed May 14 07:17:12 2014] INFO:modules:ir:register ir.translation.clean
  [Wed May 14 07:17:12 2014] INFO:modules:ir:register ir.translation.update
  [Wed May 14 07:17:12 2014] INFO:modules:ir:register ir.translation.export
  [Wed May 14 07:17:12 2014] INFO:modules:ir:register ir.ui.view.show
  [Wed May 14 07:17:12 2014] INFO:modules:ir:register 
ir.model.print_model_graph
  [Wed May 14 07:17:12 2014] INFO:modules:ir:register 
ir.module.module.config_wizard
  [Wed May 14 07:17:12 2014] INFO:modules:ir:register 
ir.module.module.install_upgrade
  [Wed May 14 07:17:12 2014] INFO:modules:ir:register ir.module.module.config
  [Wed May 14 07:17:12 2014] INFO:modules:ir:loading ir.xml
  /usr/lib/python2.7/dist-packages/trytond/model/modelstorage.py:1309: 
DeprecationWarning: With-statements now directly support multiple context 
managers
    Transaction().set_context(self._context)):
  [Wed May 14 07:17:12 2014] INFO:modules:ir:loading ui/ui.xml
  [Wed May 14 07:17:12 2014] INFO:modules:ir:loading ui/icon.xml
  /usr/lib/python2.7/dist-packages/trytond/model/fields/reference.py:72: 
DeprecationWarning: With-statements now directly support multiple context 
managers
    Transaction().set_user(0)):
  [Wed May 14 07:17:12 2014] INFO:modules:ir:loading ui/menu.xml
  [Wed May 14 07:17:13 2014] INFO:modules:ir:loading ui/view.xml
  [Wed May 14 07:17:13 2014] INFO:modules:ir:loading action.xml
  [Wed May 14 07:17:14 2014] INFO:modules:ir:loading model.xml
  [Wed May 14 07:17:15 2014] INFO:modules:ir:loading sequence.xml
  [Wed May 14 07:17:16 2014] INFO:modules:ir:loading attachment.xml
  [Wed May 14 07:17:16 2014] INFO:modules:ir:loading cron.xml
  [Wed May 14 07:17:16 2014] INFO:modules:ir:loading lang.xml
  [Wed May 14 07:17:16 2014] ERROR:convert:Error while parsing xml 
file:
  In tag record: model ir.lang with id lang_ca.
  Traceback (most recent call last):
    File "/usr/bin/trytond", line 111, in <module>
      trytond.server.TrytonServer(options).run()
    File "/usr/lib/python2.7/dist-packages/trytond/server.py", line 124, in 
run
      Pool(db_name).init(update=update, lang=lang)
    File "/usr/lib/python2.7/dist-packages/trytond/pool.py", line 151, in init
      lang=lang)
    File "/usr/lib/python2.7/dist-packages/trytond/modules/__init__.py", line 
399, in load_modules
      load_module_graph(graph, pool, lang)
    File "/usr/lib/python2.7/dist-packages/trytond/modules/__init__.py", line 
249, in load_module_graph
      tryton_parser.parse_xmlstream(fp)
    File "/usr/lib/python2.7/dist-packages/trytond/convert.py", line 432, in 
parse_xmlstream
      self.sax_parser.parse(source)
    File "/usr/lib/python2.7/xml/sax/expatreader.py", line 107, in parse
      xmlreader.IncrementalParser.parse(self, source)
    File "/usr/lib/python2.7/xml/sax/xmlreader.py", line 123, in parse
      self.feed(buffer)
    File "/usr/lib/python2.7/xml/sax/expatreader.py", line 210, in feed
      self._parser.Parse(data, isFinal)
    File "/usr/lib/python2.7/xml/sax/expatreader.py", line 307, in end_element
      self._cont_handler.endElement(name)
    File "/usr/lib/python2.7/dist-packages/trytond/convert.py", line 482, in 
endElement
      self.taghandler = self.taghandler.endElement(name)
    File "/usr/lib/python2.7/dist-packages/trytond/convert.py", line 277, in 
endElement
      self.model.__name__, self.values, self.xml_id)
    File "/usr/lib/python2.7/dist-packages/trytond/convert.py", line 707, in 
import_record
      self.create_records(model, [values], [fs_id])
    File "/usr/lib/python2.7/dist-packages/trytond/convert.py", line 713, in 
create_records
      records = Model.create(vlist)
    File "/usr/lib/python2.7/dist-packages/trytond/ir/lang.py", line 211, in 
create
      languages = super(Lang, cls).create(vlist)
    File "/usr/lib/python2.7/dist-packages/trytond/model/modelsql.py", line 
344, in create
      [insert_values], [table.id]))
    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)
  error encountered populating database:
  /usr/share/dbconfig-common/scripts/gnuhealth-server/install/pgsql exited 
with non-zero status


cheers,
	Holger
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gnuhealth-server_2.4.1-2.log
Type: text/x-log
Size: 170916 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20140518/0d9def20/attachment-0001.bin>


More information about the Debian-med-packaging mailing list