health-dev
[Top][All Lists]
Advanced

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

[Health-dev] [bug #64464] health_genetics export po file error.


From: Feng Shu
Subject: [Health-dev] [bug #64464] health_genetics export po file error.
Date: Thu, 10 Aug 2023 21:08:27 -0400 (EDT)

Follow-up Comment #4, bug #64464 (project health):

I think it is health_genetics_uniprot' problem,

feng@Tumashu ~/gnuhealth/tryton/server/trytond-6.0.33/bin $ ./trytond-admin -d
gnuhealth -u health_genetics_uniprot
Traceback (most recent call last):
  File "/home/feng/gnuhealth/tryton/server/trytond-6.0.33/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.33/trytond/convert.py",
line 513, in endElement
    self.taghandler = self.taghandler.endElement(name)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/feng/gnuhealth/tryton/server/trytond-6.0.33/trytond/convert.py",
line 295, in endElement
    self.mh.import_record(
  File "/home/feng/gnuhealth/tryton/server/trytond-6.0.33/trytond/convert.py",
line 689, in import_record
    self.create_records(model, [values], [fs_id])
  File "/home/feng/gnuhealth/tryton/server/trytond-6.0.33/trytond/convert.py",
line 695, in create_records
    records = Model.create(vlist)
              ^^^^^^^^^^^^^^^^^^^
  File
"/home/feng/gnuhealth/tryton/server/trytond-6.0.33/trytond/model/modelsql.py",
line 159, in wrapper
    return func(cls, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File
"/home/feng/gnuhealth/tryton/server/trytond-6.0.33/trytond/model/modelsql.py",
line 614, in create
    cursor.execute(*table.insert(insert_columns,
  File
"/home/feng/gnuhealth/tryton/server/trytond-6.0.33/trytond/backend/postgresql/database.py",
line 74, in execute
    cursor.execute(self, sql, args)
psycopg2.errors.UndefinedColumn: 错误:  关系 "gnuhealth_protein_disease"
的 "create_uid" 字段不存在
LINE 1: INSERT INTO "gnuhealth_protein_disease" AS "a" ("create_uid"...
                                                        ^


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.33/bin/./trytond-admin", line
23, in <module>
    admin.run(options)
  File "/home/feng/gnuhealth/tryton/server/trytond-6.0.33/trytond/admin.py",
line 53, in run
    pool.init(update=options.update, lang=list(lang),
  File "/home/feng/gnuhealth/tryton/server/trytond-6.0.33/trytond/pool.py",
line 164, in init
    restart = not load_modules(
                  ^^^^^^^^^^^^^
  File
"/home/feng/gnuhealth/tryton/server/trytond-6.0.33/trytond/modules/__init__.py",
line 440, in load_modules
    _load_modules(update)
  File
"/home/feng/gnuhealth/tryton/server/trytond-6.0.33/trytond/modules/__init__.py",
line 408, in _load_modules
    load_module_graph(graph, pool, update, lang)
  File
"/home/feng/gnuhealth/tryton/server/trytond-6.0.33/trytond/modules/__init__.py",
line 252, in load_module_graph
    tryton_parser.parse_xmlstream(fp)
  File "/home/feng/gnuhealth/tryton/server/trytond-6.0.33/trytond/convert.py",
line 460, in parse_xmlstream
    raise Exception("Error " + self.current_state()) from e
Exception: Error In tag record model gnuhealth.protein.disease with id
health_genetics_uniprot.DI-00001.
feng@Tumashu ~/gnuhealth/tryton/server/trytond-6.0.33/bin $ 



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64464>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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