Greetings,
I experience an issue when trytond-admin --all fails to run after enabling the health module in a Trytond server version 4.2.11 with GNU Health version 3.2.9. The issue is not present if the health module is disabled or not installed. According to the output from trytond-admin --all -v (attached on trytond-admin.log) the error happens while parsing the file data/health_sequences.xml inside the GNU Health module. Steps to reproduce: 1. Install the package trytond_health==3.2.9 and psycopg with either pip or pipenv - a Pipenv file is attached to this mail. 2. Configure a server with a Postgresql database, and configure Trytond. 3. Execute trytond_admin --all --update-modules-list -p to prepare the database and set the admin password. 4. Enable the Health module and its dependencies from the web UI (sao). 5. Run trytond-admin --all again. I have replicated this issue on both an Herokuish container (uses Heroku builders and runtimes) and a Docker container deployed on Dokku. The Docker container is created from a Dockerfile based on the official Tryton container (attached). The consequence of this issue is that it is harder to install and update other modules after installing GNU Health. Also if the Health module is disabled it can't be enabled again - trying to enable it again appears to trigger the same bug. I have a test server running two GNU Health instances (one from each deployment method) affected from this issue that can be accessed for debugging if necessary. These are my Git repos with the files used for deploying to a Dokku server - these are unfinished and need additional adjustments to be reusable on other servers: https://gitlab.com/ppedrotti/tryton-dokku-buildpack https://gitlab.com/ppedrotti/tryton-dokku-docker In case of doubt you can contact me at this mail address. Yours Sincerely, Pablo Pedrotti. ppedro...@araiconsultora.com
$ trytond-admin -c /app/config.ini -d gnuhealth --all --update-modules-list -v 800 139832039520000 [2018-05-29 00:16:49,964] WARNING py.warnings /app/.heroku/python/lib/python3.6/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>. """) 800 139832039520000 [2018-05-29 00:16:49,967] INFO trytond.backend.postgresql.database connect to "gnuhealth" 800 139832039520000 [2018-05-29 00:16:50,152] WARNING py.warnings /app/.heroku/python/lib/python3.6/site-packages/trytond/modules/__init__.py:144: DeprecationWarning: This method will be removed in future versions. Use 'parser.read_file()' instead. module_config.readfp(fp) 800 139832039520000 [2018-05-29 00:16:50,157] INFO trytond.modules ir:registering classes 800 139832039520000 [2018-05-29 00:16:50,158] INFO trytond.modules res:registering classes 800 139832039520000 [2018-05-29 00:16:50,158] INFO trytond.modules product:registering classes 800 139832039520000 [2018-05-29 00:16:50,161] INFO trytond.modules tests:registering classes 800 139832039520000 [2018-05-29 00:16:50,161] INFO trytond.modules currency:registering classes 800 139832039520000 [2018-05-29 00:16:50,162] INFO trytond.modules country:registering classes 800 139832039520000 [2018-05-29 00:16:50,164] INFO trytond.modules party:registering classes 800 139832039520000 [2018-05-29 00:16:50,184] INFO trytond.modules company:registering classes 800 139832039520000 [2018-05-29 00:16:50,212] INFO trytond.modules health:registering classes 800 139832039520000 [2018-05-29 00:16:50,226] INFO trytond.pool init pool for "gnuhealth" 800 139832039520000 [2018-05-29 00:16:50,260] INFO trytond.modules ir 800 139832039520000 [2018-05-29 00:16:50,261] INFO trytond.pool setup pool for "gnuhealth" 800 139832039520000 [2018-05-29 00:16:50,361] INFO trytond.modules ir:register ir.configuration 800 139832039520000 [2018-05-29 00:16:50,396] INFO trytond.modules ir:register ir.translation 800 139832039520000 [2018-05-29 00:16:50,474] INFO trytond.modules ir:register ir.translation.set.start 800 139832039520000 [2018-05-29 00:16:50,479] INFO trytond.modules ir:register ir.translation.set.succeed 800 139832039520000 [2018-05-29 00:16:50,482] INFO trytond.modules ir:register ir.translation.clean.start 800 139832039520000 [2018-05-29 00:16:50,486] INFO trytond.modules ir:register ir.translation.clean.succeed 800 139832039520000 [2018-05-29 00:16:50,490] INFO trytond.modules ir:register ir.translation.update.start 800 139832039520000 [2018-05-29 00:16:50,493] INFO trytond.modules ir:register ir.translation.export.start 800 139832039520000 [2018-05-29 00:16:50,497] INFO trytond.modules ir:register ir.translation.export.result 800 139832039520000 [2018-05-29 00:16:50,500] INFO trytond.modules ir:register ir.sequence.type 800 139832039520000 [2018-05-29 00:16:50,528] INFO trytond.modules ir:register ir.sequence 800 139832039520000 [2018-05-29 00:16:50,594] INFO trytond.modules ir:register ir.sequence.strict 800 139832039520000 [2018-05-29 00:16:50,653] INFO trytond.modules ir:register ir.ui.menu 800 139832039520000 [2018-05-29 00:16:50,695] INFO trytond.modules ir:register ir.ui.menu.favorite 800 139832039520000 [2018-05-29 00:16:50,750] INFO trytond.modules ir:register ir.ui.view 800 139832039520000 [2018-05-29 00:16:50,836] INFO trytond.modules ir:register ir.ui.view.show.start 800 139832039520000 [2018-05-29 00:16:50,842] INFO trytond.modules ir:register ir.ui.view_tree_width 800 139832039520000 [2018-05-29 00:16:50,881] INFO trytond.modules ir:register ir.ui.view_tree_state 800 139832039520000 [2018-05-29 00:16:50,975] INFO trytond.modules ir:register ir.ui.view_search 800 139832039520000 [2018-05-29 00:16:51,018] INFO trytond.modules ir:register ir.ui.icon 800 139832039520000 [2018-05-29 00:16:51,049] INFO trytond.modules ir:register ir.property 800 139832039520000 [2018-05-29 00:16:51,090] INFO trytond.modules ir:register ir.action 800 139832039520000 [2018-05-29 00:16:51,134] INFO trytond.modules ir:register ir.action.keyword 800 139832039520000 [2018-05-29 00:16:51,196] INFO trytond.modules ir:register ir.action.report 800 139832039520000 [2018-05-29 00:16:51,266] INFO trytond.modules ir:register ir.action.act_window 800 139832039520000 [2018-05-29 00:16:51,336] INFO trytond.modules ir:register ir.action.act_window.view 800 139832039520000 [2018-05-29 00:16:51,412] INFO trytond.modules ir:register ir.action.act_window.domain 800 139832039520000 [2018-05-29 00:16:51,456] INFO trytond.modules ir:register ir.action.wizard 800 139832039520000 [2018-05-29 00:16:51,499] INFO trytond.modules ir:register ir.action.url 800 139832039520000 [2018-05-29 00:16:51,541] INFO trytond.modules ir:register ir.model 800 139832039520000 [2018-05-29 00:16:51,574] INFO trytond.modules ir:register ir.model.field 800 139832039520000 [2018-05-29 00:16:51,620] INFO trytond.modules ir:register ir.model.access 800 139832039520000 [2018-05-29 00:16:51,698] INFO trytond.modules ir:register ir.model.field.access 800 139832039520000 [2018-05-29 00:16:51,777] INFO trytond.modules ir:register ir.model.button 800 139832039520000 [2018-05-29 00:16:51,819] INFO trytond.modules ir:register ir.model.button.rule 800 139832039520000 [2018-05-29 00:16:51,862] INFO trytond.modules ir:register ir.model.button.click 800 139832039520000 [2018-05-29 00:16:51,905] INFO trytond.modules ir:register ir.model.button-button.reset 800 139832039520000 [2018-05-29 00:16:51,959] INFO trytond.modules ir:register ir.model.data 800 139832039520000 [2018-05-29 00:16:52,011] INFO trytond.modules ir:register ir.model.print_model_graph.start 800 139832039520000 [2018-05-29 00:16:52,016] INFO trytond.modules ir:register ir.attachment 800 139832039520000 [2018-05-29 00:16:52,071] INFO trytond.modules ir:register ir.note 800 139832039520000 [2018-05-29 00:16:52,100] INFO trytond.modules ir:register ir.note.read 800 139832039520000 [2018-05-29 00:16:52,155] INFO trytond.modules ir:register ir.cron 800 139832039520000 [2018-05-29 00:16:52,238] INFO trytond.modules ir:register ir.lang 800 139832039520000 [2018-05-29 00:16:52,275] INFO trytond.modules ir:register ir.export 800 139832039520000 [2018-05-29 00:16:52,306] INFO trytond.modules ir:register ir.export.line 800 139832039520000 [2018-05-29 00:16:52,347] INFO trytond.modules ir:register ir.rule.group 800 139832039520000 [2018-05-29 00:16:52,391] INFO trytond.modules ir:register ir.rule 800 139832039520000 [2018-05-29 00:16:52,457] INFO trytond.modules ir:register ir.module 800 139832039520000 [2018-05-29 00:16:52,489] INFO trytond.modules ir:register ir.module.dependency 800 139832039520000 [2018-05-29 00:16:52,531] INFO trytond.modules ir:register ir.module.config_wizard.item 800 139832039520000 [2018-05-29 00:16:52,601] INFO trytond.modules ir:register ir.module.config_wizard.first 800 139832039520000 [2018-05-29 00:16:52,607] INFO trytond.modules ir:register ir.module.config_wizard.other 800 139832039520000 [2018-05-29 00:16:52,611] INFO trytond.modules ir:register ir.module.config_wizard.done 800 139832039520000 [2018-05-29 00:16:52,615] INFO trytond.modules ir:register ir.module.activate_upgrade.start 800 139832039520000 [2018-05-29 00:16:52,619] INFO trytond.modules ir:register ir.module.activate_upgrade.done 800 139832039520000 [2018-05-29 00:16:52,622] INFO trytond.modules ir:register ir.cache 800 139832039520000 [2018-05-29 00:16:52,653] INFO trytond.modules ir:register ir.date 800 139832039520000 [2018-05-29 00:16:52,658] INFO trytond.modules ir:register ir.trigger 800 139832039520000 [2018-05-29 00:16:52,741] INFO trytond.modules ir:register ir.trigger.log 800 139832039520000 [2018-05-29 00:16:52,808] INFO trytond.modules ir:register ir.session 800 139832039520000 [2018-05-29 00:16:52,865] INFO trytond.modules ir:register ir.session.wizard 800 139832039520000 [2018-05-29 00:16:52,895] INFO trytond.modules ir:register ir.translation.set 800 139832039520000 [2018-05-29 00:16:52,899] INFO trytond.modules ir:register ir.translation.clean 800 139832039520000 [2018-05-29 00:16:52,902] INFO trytond.modules ir:register ir.translation.update 800 139832039520000 [2018-05-29 00:16:52,904] INFO trytond.modules ir:register ir.translation.export 800 139832039520000 [2018-05-29 00:16:52,907] INFO trytond.modules ir:register ir.ui.view.show 800 139832039520000 [2018-05-29 00:16:52,908] INFO trytond.modules ir:register ir.model.print_model_graph 800 139832039520000 [2018-05-29 00:16:52,911] INFO trytond.modules ir:register ir.module.config_wizard 800 139832039520000 [2018-05-29 00:16:52,914] INFO trytond.modules ir:register ir.module.activate_upgrade 800 139832039520000 [2018-05-29 00:16:52,917] INFO trytond.modules ir:register ir.module.config 800 139832039520000 [2018-05-29 00:16:52,919] INFO trytond.modules ir:register ir.model.graph 800 139832039520000 [2018-05-29 00:16:52,919] INFO trytond.modules ir:register ir.model.workflow_graph 800 139832039520000 [2018-05-29 00:16:52,937] INFO trytond.modules ir:loading ir.xml 800 139832039520000 [2018-05-29 00:16:53,014] INFO trytond.modules ir:loading ui/ui.xml 800 139832039520000 [2018-05-29 00:16:53,032] INFO trytond.modules ir:loading ui/icon.xml 800 139832039520000 [2018-05-29 00:16:53,041] WARNING py.warnings /app/.heroku/python/lib/python3.6/site-packages/trytond/model/fields/function.py:89: DeprecationWarning: inspect.getargspec() is deprecated, use inspect.signature() or inspect.getfullargspec() if 'names' in inspect.getargspec(method)[0]: 800 139832039520000 [2018-05-29 00:16:53,111] INFO trytond.modules ir:loading ui/menu.xml 800 139832039520000 [2018-05-29 00:16:53,173] INFO trytond.modules ir:loading ui/view.xml 800 139832039520000 [2018-05-29 00:16:53,278] INFO trytond.modules ir:loading action.xml 800 139832039520000 [2018-05-29 00:16:53,401] INFO trytond.modules ir:loading model.xml 800 139832039520000 [2018-05-29 00:16:53,553] INFO trytond.modules ir:loading sequence.xml 800 139832039520000 [2018-05-29 00:16:53,636] INFO trytond.modules ir:loading attachment.xml 800 139832039520000 [2018-05-29 00:16:53,692] INFO trytond.modules ir:loading note.xml 800 139832039520000 [2018-05-29 00:16:53,743] INFO trytond.modules ir:loading cron.xml 800 139832039520000 [2018-05-29 00:16:53,792] INFO trytond.modules ir:loading lang.xml 800 139832039520000 [2018-05-29 00:16:53,858] INFO trytond.modules ir:loading translation.xml 800 139832039520000 [2018-05-29 00:16:53,980] INFO trytond.modules ir:loading export.xml 800 139832039520000 [2018-05-29 00:16:54,030] INFO trytond.modules ir:loading rule.xml 800 139832039520000 [2018-05-29 00:16:54,080] INFO trytond.modules ir:loading property.xml 800 139832039520000 [2018-05-29 00:16:54,139] INFO trytond.modules ir:loading module.xml 800 139832039520000 [2018-05-29 00:16:54,230] INFO trytond.modules ir:loading trigger.xml 800 139832039520000 [2018-05-29 00:16:54,276] INFO trytond.modules res 800 139832039520000 [2018-05-29 00:16:54,277] INFO trytond.pool setup pool for "gnuhealth" 800 139832039520000 [2018-05-29 00:16:54,313] INFO trytond.modules res:register res.group 800 139832039520000 [2018-05-29 00:16:54,342] INFO trytond.modules res:register res.user 800 139832039520000 [2018-05-29 00:16:54,417] INFO trytond.modules res:register res.user.login.attempt 800 139832039520000 [2018-05-29 00:16:54,464] INFO trytond.modules res:register res.group 800 139832039520000 [2018-05-29 00:16:54,490] INFO trytond.modules res:register res.user-ir.action 800 139832039520000 [2018-05-29 00:16:54,541] INFO trytond.modules res:register res.user-res.group 800 139832039520000 [2018-05-29 00:16:54,618] INFO trytond.modules res:register res.user.warning 800 139832039520000 [2018-05-29 00:16:54,657] INFO trytond.modules res:register res.user.application 800 139832039520000 [2018-05-29 00:16:54,696] INFO trytond.modules res:register res.user.config.start 800 139832039520000 [2018-05-29 00:16:54,701] INFO trytond.modules res:register ir.ui.menu-res.group 800 139832039520000 [2018-05-29 00:16:54,775] INFO trytond.modules res:register ir.action-res.group 800 139832039520000 [2018-05-29 00:16:54,849] INFO trytond.modules res:register ir.model.field-res.group 800 139832039520000 [2018-05-29 00:16:54,923] INFO trytond.modules res:register ir.model.button-res.group 800 139832039520000 [2018-05-29 00:16:54,972] INFO trytond.modules res:register ir.model.button.rule 800 139832039520000 [2018-05-29 00:16:55,022] INFO trytond.modules res:register ir.model.button.click 800 139832039520000 [2018-05-29 00:16:55,077] INFO trytond.modules res:register ir.rule.group-res.group 800 139832039520000 [2018-05-29 00:16:55,152] INFO trytond.modules res:register ir.rule.group-res.user 800 139832039520000 [2018-05-29 00:16:55,227] INFO trytond.modules res:register ir.lang 800 139832039520000 [2018-05-29 00:16:55,260] INFO trytond.modules res:register ir.sequence.type 800 139832039520000 [2018-05-29 00:16:55,289] INFO trytond.modules res:register ir.sequence.type-res.group 800 139832039520000 [2018-05-29 00:16:55,340] INFO trytond.modules res:register ir.sequence 800 139832039520000 [2018-05-29 00:16:55,401] INFO trytond.modules res:register ir.sequence.strict 800 139832039520000 [2018-05-29 00:16:55,454] INFO trytond.modules res:register ir.module.config_wizard.item 800 139832039520000 [2018-05-29 00:16:55,512] INFO trytond.modules res:register res.user.config 800 139832039520000 [2018-05-29 00:16:55,524] INFO trytond.modules res:loading res.xml 800 139832039520000 [2018-05-29 00:16:55,652] INFO trytond.modules res:loading group.xml 800 139832039520000 [2018-05-29 00:16:55,714] INFO trytond.modules res:loading user.xml 800 139832039520000 [2018-05-29 00:16:55,791] INFO trytond.modules res:loading ir.xml 800 139832039520000 [2018-05-29 00:16:56,093] INFO trytond.modules country 800 139832039520000 [2018-05-29 00:16:56,094] INFO trytond.pool setup pool for "gnuhealth" 800 139832039520000 [2018-05-29 00:16:56,101] INFO trytond.modules country:register country.country 800 139832039520000 [2018-05-29 00:16:56,148] INFO trytond.modules country:register country.subdivision 800 139832039520000 [2018-05-29 00:16:56,201] INFO trytond.modules country:register country.zip 800 139832039520000 [2018-05-29 00:16:57,311] INFO trytond.modules country:loading country.xml 800 139832039520000 [2018-05-29 00:17:06,187] INFO trytond.modules currency 800 139832039520000 [2018-05-29 00:17:06,188] INFO trytond.pool setup pool for "gnuhealth" 800 139832039520000 [2018-05-29 00:17:06,194] INFO trytond.modules currency:register currency.currency 800 139832039520000 [2018-05-29 00:17:06,232] INFO trytond.modules currency:register currency.currency.rate 800 139832039520000 [2018-05-29 00:17:06,281] INFO trytond.modules currency:loading currency.xml 800 139832039520000 [2018-05-29 00:17:06,643] INFO trytond.modules product 800 139832039520000 [2018-05-29 00:17:06,644] INFO trytond.pool setup pool for "gnuhealth" 800 139832039520000 [2018-05-29 00:17:06,659] INFO trytond.modules product:register product.uom.category 800 139832039520000 [2018-05-29 00:17:06,686] INFO trytond.modules product:register product.uom 800 139832039520000 [2018-05-29 00:17:06,729] INFO trytond.modules product:register product.category 800 139832039520000 [2018-05-29 00:17:06,767] INFO trytond.modules product:register product.template 800 139832039520000 [2018-05-29 00:17:06,828] INFO trytond.modules product:register product.product 800 139832039520000 [2018-05-29 00:17:06,868] INFO trytond.modules product:register product.template-product.category 800 139832039520000 [2018-05-29 00:17:06,917] INFO trytond.modules product:register product.configuration 800 139832039520000 [2018-05-29 00:17:06,951] INFO trytond.modules product:loading product.xml 800 139832039520000 [2018-05-29 00:17:07,120] INFO trytond.modules product:loading category.xml 800 139832039520000 [2018-05-29 00:17:07,164] INFO trytond.modules product:loading uom.xml 800 139832039520000 [2018-05-29 00:17:07,271] INFO trytond.modules product:loading configuration.xml 800 139832039520000 [2018-05-29 00:17:07,300] INFO trytond.modules party 800 139832039520000 [2018-05-29 00:17:07,300] INFO trytond.pool setup pool for "gnuhealth" 800 139832039520000 [2018-05-29 00:17:07,321] INFO trytond.modules party:register party.category 800 139832039520000 [2018-05-29 00:17:07,361] INFO trytond.modules party:register party.party 800 139832039520000 [2018-05-29 00:17:07,425] INFO trytond.modules party:register party.party-party.category 800 139832039520000 [2018-05-29 00:17:07,473] INFO trytond.modules party:register party.identifier 800 139832039520000 [2018-05-29 00:17:07,535] INFO trytond.modules party:register party.check_vies.result 800 139832039520000 [2018-05-29 00:17:07,540] INFO trytond.modules party:register party.replace.ask 800 139832039520000 [2018-05-29 00:17:07,544] INFO trytond.modules party:register party.address 800 139832039520000 [2018-05-29 00:17:07,630] INFO trytond.modules party:register party.address.format 800 139832039520000 [2018-05-29 00:17:07,682] INFO trytond.modules party:register party.contact_mechanism 800 139832039520000 [2018-05-29 00:17:07,742] INFO trytond.modules party:register party.configuration 800 139832039520000 [2018-05-29 00:17:07,769] INFO trytond.modules party:register party.check_vies 800 139832039520000 [2018-05-29 00:17:07,772] INFO trytond.modules party:register party.replace 800 139832039520000 [2018-05-29 00:17:07,781] INFO trytond.modules party:loading party.xml 800 139832039520000 [2018-05-29 00:17:07,952] INFO trytond.modules party:loading category.xml 800 139832039520000 [2018-05-29 00:17:07,996] INFO trytond.modules party:loading address.xml 800 139832039520000 [2018-05-29 00:17:11,167] INFO trytond.modules party:loading contact_mechanism.xml 800 139832039520000 [2018-05-29 00:17:11,194] INFO trytond.modules party:loading configuration.xml 800 139832039520000 [2018-05-29 00:17:11,221] INFO trytond.modules company 800 139832039520000 [2018-05-29 00:17:11,223] INFO trytond.pool setup pool for "gnuhealth" 800 139832039520000 [2018-05-29 00:17:11,251] INFO trytond.modules company:register company.company 800 139832039520000 [2018-05-29 00:17:11,314] INFO trytond.modules company:register company.employee 800 139832039520000 [2018-05-29 00:17:11,364] INFO trytond.modules company:register res.user-company.employee 800 139832039520000 [2018-05-29 00:17:11,414] INFO trytond.modules company:register res.user 800 139832039520000 [2018-05-29 00:17:11,522] INFO trytond.modules company:register ir.property 800 139832039520000 [2018-05-29 00:17:11,571] INFO trytond.modules company:register ir.sequence 800 139832039520000 [2018-05-29 00:17:11,643] INFO trytond.modules company:register ir.sequence.strict 800 139832039520000 [2018-05-29 00:17:11,706] INFO trytond.modules company:register ir.date 800 139832039520000 [2018-05-29 00:17:11,709] INFO trytond.modules company:register company.company.config.start 800 139832039520000 [2018-05-29 00:17:11,713] INFO trytond.modules company:register ir.cron 800 139832039520000 [2018-05-29 00:17:11,786] INFO trytond.modules company:register ir.cron-company.company 800 139832039520000 [2018-05-29 00:17:11,837] INFO trytond.modules company:register party.configuration 800 139832039520000 [2018-05-29 00:17:11,862] INFO trytond.modules company:register ir.rule 800 139832039520000 [2018-05-29 00:17:11,919] INFO trytond.modules company:register company.company.config 800 139832039520000 [2018-05-29 00:17:11,923] INFO trytond.modules company:register party.replace 800 139832039520000 [2018-05-29 00:17:11,925] INFO trytond.modules company:register party.letter 800 139832039520000 [2018-05-29 00:17:11,929] INFO trytond.modules company:loading company.xml 800 139832039520000 [2018-05-29 00:17:12,220] INFO trytond.modules company:loading cron.xml 800 139832039520000 [2018-05-29 00:17:12,227] INFO trytond.modules health 800 139832039520000 [2018-05-29 00:17:12,228] INFO trytond.pool setup pool for "gnuhealth" 800 139832039520000 [2018-05-29 00:17:12,387] INFO trytond.modules health:register gnuhealth.operational_area 800 139832039520000 [2018-05-29 00:17:12,417] INFO trytond.modules health:register gnuhealth.operational_sector 800 139832039520000 [2018-05-29 00:17:12,457] INFO trytond.modules health:register gnuhealth.du 800 139832039520000 [2018-05-29 00:17:12,540] INFO trytond.modules health:register gnuhealth.occupation 800 139832039520000 [2018-05-29 00:17:12,570] INFO trytond.modules health:register gnuhealth.ethnicity 800 139832039520000 [2018-05-29 00:17:12,600] INFO trytond.modules health:register gnuhealth.birth_certificate 800 139832039520000 [2018-05-29 00:17:12,690] INFO trytond.modules health:register gnuhealth.death_certificate 800 139832039520000 [2018-05-29 00:17:12,783] INFO trytond.modules health:register party.party 800 139832039520000 [2018-05-29 00:17:12,938] INFO trytond.modules health:register party.contact_mechanism 800 139832039520000 [2018-05-29 00:17:12,998] INFO trytond.modules health:register gnuhealth.person_name 800 139832039520000 [2018-05-29 00:17:13,041] INFO trytond.modules health:register party.address 800 139832039520000 [2018-05-29 00:17:13,143] INFO trytond.modules health:register gnuhealth.dose.unit 800 139832039520000 [2018-05-29 00:17:13,170] INFO trytond.modules health:register gnuhealth.medication.dosage 800 139832039520000 [2018-05-29 00:17:13,199] INFO trytond.modules health:register gnuhealth.drug.form 800 139832039520000 [2018-05-29 00:17:13,228] INFO trytond.modules health:register gnuhealth.drug.route 800 139832039520000 [2018-05-29 00:17:13,255] INFO trytond.modules health:register gnuhealth.specialty 800 139832039520000 [2018-05-29 00:17:13,284] INFO trytond.modules health:register gnuhealth.institution 800 139832039520000 [2018-05-29 00:17:13,333] INFO trytond.modules health:register gnuhealth.institution.specialties 800 139832039520000 [2018-05-29 00:17:13,382] INFO trytond.modules health:register gnuhealth.institution.operationalsector 800 139832039520000 [2018-05-29 00:17:13,430] INFO trytond.modules health:register gnuhealth.institution 800 139832039520000 [2018-05-29 00:17:13,488] INFO trytond.modules health:register gnuhealth.hospital.building 800 139832039520000 [2018-05-29 00:17:13,529] INFO trytond.modules health:register gnuhealth.hospital.unit 800 139832039520000 [2018-05-29 00:17:13,570] INFO trytond.modules health:register gnuhealth.hospital.or 800 139832039520000 [2018-05-29 00:17:13,634] INFO trytond.modules health:register gnuhealth.hospital.ward 800 139832039520000 [2018-05-29 00:17:13,706] INFO trytond.modules health:register gnuhealth.hospital.bed 800 139832039520000 [2018-05-29 00:17:13,772] INFO trytond.modules health:register gnuhealth.healthprofessional 800 139832039520000 [2018-05-29 00:17:13,825] INFO trytond.modules health:register gnuhealth.hp_specialty 800 139832039520000 [2018-05-29 00:17:13,879] INFO trytond.modules health:register gnuhealth.healthprofessional 800 139832039520000 [2018-05-29 00:17:13,941] INFO trytond.modules health:register gnuhealth.family 800 139832039520000 [2018-05-29 00:17:13,970] INFO trytond.modules health:register gnuhealth.family_member 800 139832039520000 [2018-05-29 00:17:14,021] INFO trytond.modules health:register gnuhealth.medicament.category 800 139832039520000 [2018-05-29 00:17:14,060] INFO trytond.modules health:register gnuhealth.medicament 800 139832039520000 [2018-05-29 00:17:14,179] INFO trytond.modules health:register gnuhealth.immunization_schedule 800 139832039520000 [2018-05-29 00:17:14,221] INFO trytond.modules health:register gnuhealth.immunization_schedule_line 800 139832039520000 [2018-05-29 00:17:14,271] INFO trytond.modules health:register gnuhealth.immunization_schedule_dose 800 139832039520000 [2018-05-29 00:17:14,313] INFO trytond.modules health:register gnuhealth.pathology.category 800 139832039520000 [2018-05-29 00:17:14,352] INFO trytond.modules health:register gnuhealth.pathology.group 800 139832039520000 [2018-05-29 00:17:14,382] INFO trytond.modules health:register gnuhealth.pathology 800 139832039520000 [2018-05-29 00:17:14,425] INFO trytond.modules health:register gnuhealth.disease_group.members 800 139832039520000 [2018-05-29 00:17:14,474] INFO trytond.modules health:register gnuhealth.birth_certificate 800 139832039520000 [2018-05-29 00:17:14,587] INFO trytond.modules health:register gnuhealth.death_certificate 800 139832039520000 [2018-05-29 00:17:14,713] INFO trytond.modules health:register gnuhealth.death_underlying_condition 800 139832039520000 [2018-05-29 00:17:14,766] INFO trytond.modules health:register gnuhealth.procedure 800 139832039520000 [2018-05-29 00:17:14,795] INFO trytond.modules health:register gnuhealth.insurance.plan 800 139832039520000 [2018-05-29 00:17:14,847] INFO trytond.modules health:register gnuhealth.insurance 800 139832039520000 [2018-05-29 00:17:14,911] INFO trytond.modules health:register gnuhealth.person_alternative_identification 800 139832039520000 [2018-05-29 00:17:14,952] INFO trytond.modules health:register product.product 800 139832039520000 [2018-05-29 00:17:14,994] INFO trytond.modules health:register gnuhealth.sequences 800 139832039520000 [2018-05-29 00:17:15,021] INFO trytond.modules health:register gnuhealth.patient 800 139832039520000 [2018-05-29 00:17:15,113] INFO trytond.modules health:register gnuhealth.patient.disease 800 139832039520000 [2018-05-29 00:17:15,196] INFO trytond.modules health:register gnuhealth.appointment 800 139832039520000 [2018-05-29 00:17:15,286] INFO trytond.modules health:register gnuhealth.appointment.report 800 139832039520000 [2018-05-29 00:17:15,292] INFO trytond.modules health:register gnuhealth.appointment.report.open.start 800 139832039520000 [2018-05-29 00:17:15,296] INFO trytond.modules health:register gnuhealth.prescription.order 800 139832039520000 [2018-05-29 00:17:15,370] INFO trytond.modules health:register gnuhealth.prescription.line 800 139832039520000 [2018-05-29 00:17:15,492] INFO trytond.modules health:register gnuhealth.patient.medication 800 139832039520000 [2018-05-29 00:17:15,647] INFO trytond.modules health:register gnuhealth.vaccination 800 139832039520000 [2018-05-29 00:17:15,736] INFO trytond.modules health:register gnuhealth.patient.evaluation 800 139832039520000 [2018-05-29 00:17:15,947] INFO trytond.modules health:register gnuhealth.directions 800 139832039520000 [2018-05-29 00:17:15,999] INFO trytond.modules health:register gnuhealth.secondary_condition 800 139832039520000 [2018-05-29 00:17:16,049] INFO trytond.modules health:register gnuhealth.diagnostic_hypothesis 800 139832039520000 [2018-05-29 00:17:16,099] INFO trytond.modules health:register gnuhealth.signs_and_symptoms 800 139832039520000 [2018-05-29 00:17:16,149] INFO trytond.modules health:register gnuhealth.patient.ecg 800 139832039520000 [2018-05-29 00:17:16,219] INFO trytond.modules health:register gnuhealth.check_immunization_status.init 800 139832039520000 [2018-05-29 00:17:16,224] INFO trytond.modules health:register product.template 800 139832039520000 [2018-05-29 00:17:16,282] INFO trytond.modules health:register gnuhealth.appointment.report.open 800 139832039520000 [2018-05-29 00:17:16,284] INFO trytond.modules health:register wizard.gnuhealth.appointment.evaluation 800 139832039520000 [2018-05-29 00:17:16,286] INFO trytond.modules health:register gnuhealth.check_immunization_status 800 139832039520000 [2018-05-29 00:17:16,288] INFO trytond.modules health:register patient.disease 800 139832039520000 [2018-05-29 00:17:16,288] INFO trytond.modules health:register patient.medication 800 139832039520000 [2018-05-29 00:17:16,289] INFO trytond.modules health:register patient.vaccination 800 139832039520000 [2018-05-29 00:17:16,289] INFO trytond.modules health:register gnuhealth.immunization_status_report 800 139832039520000 [2018-05-29 00:17:16,459] INFO trytond.modules health:loading health_view.xml 800 139832039520000 [2018-05-29 00:17:17,558] INFO trytond.modules health:loading data/health_product.xml 800 139832039520000 [2018-05-29 00:17:17,559] INFO trytond.modules health:loading data/health_specialties.xml 800 139832039520000 [2018-05-29 00:17:17,650] INFO trytond.modules health:loading data/ethnic_groups.xml 800 139832039520000 [2018-05-29 00:17:17,663] INFO trytond.modules health:loading data/occupations.xml 800 139832039520000 [2018-05-29 00:17:17,692] INFO trytond.modules health:loading data/dose_units.xml 800 139832039520000 [2018-05-29 00:17:17,693] INFO trytond.modules health:loading data/drug_administration_routes.xml 800 139832039520000 [2018-05-29 00:17:17,697] INFO trytond.modules health:loading data/medicament_form.xml 800 139832039520000 [2018-05-29 00:17:17,703] INFO trytond.modules health:loading data/medication_frequencies.xml 800 139832039520000 [2018-05-29 00:17:17,705] INFO trytond.modules health:loading data/health_sequences.xml 800 139832039520000 [2018-05-29 00:17:17,717] ERROR trytond.convert Error while parsing xml file: In tag record: model ir.sequence with id seq_gnuhealth_patient_evaluation. Traceback (most recent call last): File "/app/.heroku/python/lib/python3.6/site-packages/trytond/convert.py", line 447, in parse_xmlstream self.sax_parser.parse(source) File "/app/.heroku/python/lib/python3.6/xml/sax/expatreader.py", line 111, in parse xmlreader.IncrementalParser.parse(self, source) File "/app/.heroku/python/lib/python3.6/xml/sax/xmlreader.py", line 125, in parse self.feed(buffer) File "/app/.heroku/python/lib/python3.6/xml/sax/expatreader.py", line 217, in feed self._parser.Parse(data, isFinal) File "/tmp/bob-yJzbt_/src/Modules/pyexpat.c", line 468, in EndElement File "/app/.heroku/python/lib/python3.6/xml/sax/expatreader.py", line 336, in end_element self._cont_handler.endElement(name) File "/app/.heroku/python/lib/python3.6/site-packages/trytond/convert.py", line 507, in endElement self.taghandler = self.taghandler.endElement(name) File "/app/.heroku/python/lib/python3.6/site-packages/trytond/convert.py", line 289, in endElement self.model.__name__, self.values, self.xml_id) File "/app/.heroku/python/lib/python3.6/site-packages/trytond/convert.py", line 685, in import_record old_values, fs_id, mdata_id) File "/app/.heroku/python/lib/python3.6/site-packages/trytond/convert.py", line 744, in write_records Model.write(*to_update) File "/app/.heroku/python/lib/python3.6/site-packages/trytond/ir/sequence.py", line 207, in write sequence.update_sql_sequence(values.get('number_next')) File "/app/.heroku/python/lib/python3.6/site-packages/trytond/ir/sequence.py", line 287, in update_sql_sequence number_next = self.number_next File "/app/.heroku/python/lib/python3.6/site-packages/trytond/model/fields/field.py", line 272, in __get__ return inst.__getattr__(self.name) File "/app/.heroku/python/lib/python3.6/site-packages/trytond/model/modelstorage.py", line 1378, in __getattr__ read_data = self.read(list(ids), list(ffields.keys())) File "/app/.heroku/python/lib/python3.6/site-packages/trytond/model/modelsql.py", line 773, in read getter_results = field.get(ids, cls, field_list, values=result) File "/app/.heroku/python/lib/python3.6/site-packages/trytond/model/fields/function.py", line 91, in get return dict((name, call(name)) for name in names) File "/app/.heroku/python/lib/python3.6/site-packages/trytond/model/fields/function.py", line 91, in <genexpr> return dict((name, call(name)) for name in names) File "/app/.heroku/python/lib/python3.6/site-packages/trytond/model/fields/function.py", line 85, in call return dict((r.id, method(r, name)) for r in records) File "/app/.heroku/python/lib/python3.6/site-packages/trytond/model/fields/function.py", line 85, in <genexpr> return dict((r.id, method(r, name)) for r in records) File "/app/.heroku/python/lib/python3.6/site-packages/trytond/ir/sequence.py", line 168, in get_number_next 'END FROM "%s"' % sql_name) psycopg2.ProgrammingError: column "increment_by" does not exist LINE 1: ...N NOT is_called THEN last_value ELSE last_value + increment_... ^ Traceback (most recent call last): File "/app/.heroku/python/bin/trytond-admin", line 21, in <module> admin.run(options) File "/app/.heroku/python/lib/python3.6/site-packages/trytond/admin.py", line 53, in run pool.init(update=options.update, lang=list(lang)) File "/app/.heroku/python/lib/python3.6/site-packages/trytond/pool.py", line 153, in init lang=lang) File "/app/.heroku/python/lib/python3.6/site-packages/trytond/modules/__init__.py", line 453, in load_modules _load_modules() File "/app/.heroku/python/lib/python3.6/site-packages/trytond/modules/__init__.py", line 422, in _load_modules load_module_graph(graph, pool, update, lang) File "/app/.heroku/python/lib/python3.6/site-packages/trytond/modules/__init__.py", line 259, in load_module_graph tryton_parser.parse_xmlstream(fp) File "/app/.heroku/python/lib/python3.6/site-packages/trytond/convert.py", line 447, in parse_xmlstream self.sax_parser.parse(source) File "/app/.heroku/python/lib/python3.6/xml/sax/expatreader.py", line 111, in parse xmlreader.IncrementalParser.parse(self, source) File "/app/.heroku/python/lib/python3.6/xml/sax/xmlreader.py", line 125, in parse self.feed(buffer) File "/app/.heroku/python/lib/python3.6/xml/sax/expatreader.py", line 217, in feed self._parser.Parse(data, isFinal) File "/tmp/bob-yJzbt_/src/Modules/pyexpat.c", line 468, in EndElement File "/app/.heroku/python/lib/python3.6/xml/sax/expatreader.py", line 336, in end_element self._cont_handler.endElement(name) File "/app/.heroku/python/lib/python3.6/site-packages/trytond/convert.py", line 507, in endElement self.taghandler = self.taghandler.endElement(name) File "/app/.heroku/python/lib/python3.6/site-packages/trytond/convert.py", line 289, in endElement self.model.__name__, self.values, self.xml_id) File "/app/.heroku/python/lib/python3.6/site-packages/trytond/convert.py", line 685, in import_record old_values, fs_id, mdata_id) File "/app/.heroku/python/lib/python3.6/site-packages/trytond/convert.py", line 744, in write_records Model.write(*to_update) File "/app/.heroku/python/lib/python3.6/site-packages/trytond/ir/sequence.py", line 207, in write sequence.update_sql_sequence(values.get('number_next')) File "/app/.heroku/python/lib/python3.6/site-packages/trytond/ir/sequence.py", line 287, in update_sql_sequence number_next = self.number_next File "/app/.heroku/python/lib/python3.6/site-packages/trytond/model/fields/field.py", line 272, in __get__ return inst.__getattr__(self.name) File "/app/.heroku/python/lib/python3.6/site-packages/trytond/model/modelstorage.py", line 1378, in __getattr__ read_data = self.read(list(ids), list(ffields.keys())) File "/app/.heroku/python/lib/python3.6/site-packages/trytond/model/modelsql.py", line 773, in read getter_results = field.get(ids, cls, field_list, values=result) File "/app/.heroku/python/lib/python3.6/site-packages/trytond/model/fields/function.py", line 91, in get return dict((name, call(name)) for name in names) File "/app/.heroku/python/lib/python3.6/site-packages/trytond/model/fields/function.py", line 91, in <genexpr> return dict((name, call(name)) for name in names) File "/app/.heroku/python/lib/python3.6/site-packages/trytond/model/fields/function.py", line 85, in call return dict((r.id, method(r, name)) for r in records) File "/app/.heroku/python/lib/python3.6/site-packages/trytond/model/fields/function.py", line 85, in <genexpr> return dict((r.id, method(r, name)) for r in records) File "/app/.heroku/python/lib/python3.6/site-packages/trytond/ir/sequence.py", line 168, in get_number_next 'END FROM "%s"' % sql_name) psycopg2.ProgrammingError: column "increment_by" does not exist LINE 1: ...N NOT is_called THEN last_value ELSE last_value + increment_... ^
Pipfile
Description: Binary data
Pipfile.lock
Description: Binary data
entrypoint.sh
Description: application/shellscript
trytond.conf
Description: Binary data
Dockerfile
Description: Binary data