health-dev
[Top][All Lists]
Advanced

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

[Health-dev] [bug #46488] Error in view gnuhealth.signs_and_symptoms


From: Bruno M. Villasanti
Subject: [Health-dev] [bug #46488] Error in view gnuhealth.signs_and_symptoms
Date: Sat, 21 Nov 2015 04:23:21 +0000
User-agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.71 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?46488>

                 Summary: Error in view gnuhealth.signs_and_symptoms
                 Project: GNU Health
            Submitted by: bvillasanti
            Submitted on: sáb 21 nov 2015 01:23:20 ART
                Category: Installation
                Severity: 5 - Blocker
              Item Group: None
                  Status: In Progress
                 Privacy: Public
             Assigned to: bvillasanti
             Open/Closed: Open
         Discussion Lock: Any
                 Release: None
                  Module: health

    _______________________________________________________

Details:

When installing the module `health` (2.9.0):

Invalid XML for view "gnuhealth.signs_and_symptoms"

6833 140154746660608 [2015-11-21 04:01:25,942] INFO trytond.modules
health:loading health_view.xml
6833 140154746660608 [2015-11-21 04:01:33,820] ERROR trytond.ir.ui.view
Invalid xml view:
<string>:2:0:ERROR:RELAXNGV:RELAXNG_ERR_INVALIDATTR: Invalid attribute
editable for element tree
<?xml version="1.0"?>
<tree string="Clinical Findinds - Signs and Symptoms" editable="1">
    <field name="sign_or_symptom" expand="1"/>
    <field name="clinical" expand="1"/>
    <field name="comments" expand="1"/>
</tree>
6833 140154746660608 [2015-11-21 04:01:33,828] ERROR trytond.convert Error
while parsing xml file:
In tag record: model ir.ui.view with id gnuhealth_signs_and_symptoms_tree.
Traceback (most recent call last):
  File
"/home/gnuhealth/gnuhealth/tryton/server/trytond-3.8.0/trytond/convert.py",
line 447, 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
"/home/gnuhealth/gnuhealth/tryton/server/trytond-3.8.0/trytond/convert.py",
line 509, in endElement
    self.taghandler = self.taghandler.endElement(name)
  File
"/home/gnuhealth/gnuhealth/tryton/server/trytond-3.8.0/trytond/convert.py",
line 289, in endElement
    self.model.__name__, self.values, self.xml_id)
  File
"/home/gnuhealth/gnuhealth/tryton/server/trytond-3.8.0/trytond/convert.py",
line 695, in import_record
    self.create_records(model, [values], [fs_id])
  File
"/home/gnuhealth/gnuhealth/tryton/server/trytond-3.8.0/trytond/convert.py",
line 701, in create_records
    records = Model.create(vlist)
  File
"/home/gnuhealth/gnuhealth/tryton/server/trytond-3.8.0/trytond/ir/ui/view.py",
line 201, in create
    views = super(View, cls).create(vlist)
  File
"/home/gnuhealth/gnuhealth/tryton/server/trytond-3.8.0/trytond/model/modelsql.py",
line 581, in create
    cls._validate(sub_records)
  File
"/home/gnuhealth/gnuhealth/tryton/server/trytond-3.8.0/trytond/model/modelstorage.py",
line 1131, in _validate
    cls.validate(records)
  File
"/home/gnuhealth/gnuhealth/tryton/server/trytond-3.8.0/trytond/ir/ui/view.py",
line 128, in validate
    cls.check_xml(views)
  File
"/home/gnuhealth/gnuhealth/tryton/server/trytond-3.8.0/trytond/ir/ui/view.py",
line 149, in check_xml
    cls.raise_user_error('invalid_xml', (view.rec_name,))
  File
"/home/gnuhealth/gnuhealth/tryton/server/trytond-3.8.0/trytond/error.py", line
74, in raise_user_error
    raise UserError(error)
UserError: ('UserError', (u'Invalid XML for view
"gnuhealth.signs_and_symptoms".', ''))





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?46488>

_______________________________________________
  Mensaje enviado vía/por Savannah
  http://savannah.gnu.org/




reply via email to

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