[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Health-dev] [bug #62628] Crash when creating a database using latests s
From: |
Sergi Almacellas Abellana |
Subject: |
[Health-dev] [bug #62628] Crash when creating a database using latests sources |
Date: |
Wed, 15 Jun 2022 06:28:03 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?62628>
Summary: Crash when creating a database using latests sources
Project: GNU Health
Submitter: pokoli
Submitted: mié 15 jun 2022 10:28:01 UTC
Category: Installation
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Release: None
Discussion Lock: Any
Module: health
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: mié 15 jun 2022 10:28:01 UTC By: Sergi Almacellas Abellana <pokoli>
I get the following exception when activating the health module on a new
database:
Traceback (most recent call last):
File
"/home/pokoli/.virtualenvs/gnuhealth/lib/python3.10/site-packages/trytond/convert.py",
line 458, in parse_xmlstream
self.sax_parser.parse(source)
File "/usr/lib/python3.10/xml/sax/expatreader.py", line 111, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib/python3.10/xml/sax/xmlreader.py", line 125, in parse
self.feed(buffer)
File "/usr/lib/python3.10/xml/sax/expatreader.py", line 217, in feed
self._parser.Parse(data, isFinal)
File "/build/python/src/Python-3.10.5/Modules/pyexpat.c", line 416, in
StartElement
File "/usr/lib/python3.10/xml/sax/expatreader.py", line 333, in
start_element
self._cont_handler.startElement(name, AttributesImpl(attrs))
File
"/home/pokoli/.virtualenvs/gnuhealth/lib/python3.10/site-packages/trytond/convert.py",
line 490, in startElement
self.taghandler.startElement(name, attributes)
File
"/home/pokoli/.virtualenvs/gnuhealth/lib/python3.10/site-packages/trytond/convert.py",
line 237, in startElement
found, = SearchModel.search(eval(search_attr, context))
ValueError: not enough values to unpack (expected 1, got 0)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/pokoli/.virtualenvs/gnuhealth/bin/trytond-admin", line 23, in
<module>
admin.run(options)
File
"/home/pokoli/.virtualenvs/gnuhealth/lib/python3.10/site-packages/trytond/admin.py",
line 53, in run
pool.init(update=options.update, lang=list(lang),
File
"/home/pokoli/.virtualenvs/gnuhealth/lib/python3.10/site-packages/trytond/pool.py",
line 164, in init
restart = not load_modules(
File
"/home/pokoli/.virtualenvs/gnuhealth/lib/python3.10/site-packages/trytond/modules/__init__.py",
line 438, in load_modules
_load_modules(update)
File
"/home/pokoli/.virtualenvs/gnuhealth/lib/python3.10/site-packages/trytond/modules/__init__.py",
line 406, in _load_modules
load_module_graph(graph, pool, update, lang)
File
"/home/pokoli/.virtualenvs/gnuhealth/lib/python3.10/site-packages/trytond/modules/__init__.py",
line 252, in load_module_graph
tryton_parser.parse_xmlstream(fp)
File
"/home/pokoli/.virtualenvs/gnuhealth/lib/python3.10/site-packages/trytond/convert.py",
line 460, in parse_xmlstream
raise Exception("Error " + self.current_state()) from e
Exception: Error In tag record model gnuhealth.help with id
health.SM-CORE-0006.
The problem is related to the gnuhealth help command which is related to the
health module. I'm using the following comand to raise the issue:
$ createdb health
$ trytond-admin -d health -u health --activate-dependencies -vv
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62628>
_______________________________________________
Mensaje enviado vía Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Health-dev] [bug #62628] Crash when creating a database using latests sources,
Sergi Almacellas Abellana <=