[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Health-dev] [task #16456] Menu for dental treatments
From: |
Feng Shu |
Subject: |
[Health-dev] [task #16456] Menu for dental treatments |
Date: |
Mon, 6 Nov 2023 21:48:58 -0500 (EST) |
Follow-up Comment #2, task #16456 (project health):
feng@Tumashu ~/gnuhealth/tryton/server/trytond-6.0.34/bin $ ./trytond-admin -d
gnuhealth -u health_dentistry
Traceback (most recent call last):
File "/home/feng/gnuhealth/tryton/server/trytond-6.0.34/trytond/convert.py",
line 458, in parse_xmlstream
self.sax_parser.parse(source)
File "/usr/lib/python3.11/xml/sax/expatreader.py", line 111, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib/python3.11/xml/sax/xmlreader.py", line 125, in parse
self.feed(buffer)
File "/usr/lib/python3.11/xml/sax/expatreader.py", line 217, in feed
self._parser.Parse(data, isFinal)
File "../Modules/pyexpat.c", line 468, in EndElement
File "/usr/lib/python3.11/xml/sax/expatreader.py", line 336, in end_element
self._cont_handler.endElement(name)
File "/home/feng/gnuhealth/tryton/server/trytond-6.0.34/trytond/convert.py",
line 513, in endElement
self.taghandler = self.taghandler.endElement(name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/feng/gnuhealth/tryton/server/trytond-6.0.34/trytond/convert.py",
line 157, in endElement
self.mh.import_record('ir.ui.menu', self.values, self.xml_id)
File "/home/feng/gnuhealth/tryton/server/trytond-6.0.34/trytond/convert.py",
line 689, in import_record
self.create_records(model, [values], [fs_id])
File "/home/feng/gnuhealth/tryton/server/trytond-6.0.34/trytond/convert.py",
line 695, in create_records
records = Model.create(vlist)
^^^^^^^^^^^^^^^^^^^
File
"/home/feng/gnuhealth/tryton/server/trytond-6.0.34/trytond/model/modelsql.py",
line 159, in wrapper
return func(cls, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/home/feng/gnuhealth/tryton/server/trytond-6.0.34/trytond/model/modelsql.py",
line 679, in create
cls._validate(sub_records)
File
"/home/feng/gnuhealth/tryton/server/trytond-6.0.34/trytond/model/modelstorage.py",
line 79, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File
"/home/feng/gnuhealth/tryton/server/trytond-6.0.34/trytond/model/modelstorage.py",
line 1377, in _validate
raise SelectionValidationError(gettext(
trytond.model.modelstorage.SelectionValidationError: The value
"gnuhealth_dentistry" for field "Icon" in "UI menu" is not one of the allowed
options. -
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File
"/home/feng/gnuhealth/tryton/server/trytond-6.0.34/bin/./trytond-admin", line
23, in <module>
admin.run(options)
File "/home/feng/gnuhealth/tryton/server/trytond-6.0.34/trytond/admin.py",
line 53, in run
pool.init(update=options.update, lang=list(lang),
File "/home/feng/gnuhealth/tryton/server/trytond-6.0.34/trytond/pool.py",
line 164, in init
restart = not load_modules(
^^^^^^^^^^^^^
File
"/home/feng/gnuhealth/tryton/server/trytond-6.0.34/trytond/modules/__init__.py",
line 443, in load_modules
_load_modules(update)
File
"/home/feng/gnuhealth/tryton/server/trytond-6.0.34/trytond/modules/__init__.py",
line 411, in _load_modules
load_module_graph(graph, pool, update, lang)
File
"/home/feng/gnuhealth/tryton/server/trytond-6.0.34/trytond/modules/__init__.py",
line 252, in load_module_graph
tryton_parser.parse_xmlstream(fp)
File "/home/feng/gnuhealth/tryton/server/trytond-6.0.34/trytond/convert.py",
line 460, in parse_xmlstream
raise Exception("Error " + self.current_state()) from e
Exception: Error Tag menuitem with id health_dentistry.gnuhealth_dentistry
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/task/?16456>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/