bugGNU Health - Bugs: bug #46488, Error in view...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #46488: Error in view gnuhealth.signs_and_symptoms

Submitter:  Bruno M. Villasanti <bvillasanti>
Submitted:  Sat 21 Nov 2015 04:23:20 AM UTC
   
 
Category:  Installation Severity:  5 - Blocker
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  bvillasanti
Open/Closed:  Closed Release:  None
Module:  health Component:  None

Sat 21 Nov 2015 04:29:02 AM UTC, comment #1: 

Fix in default changeset 2161:44e2ea2d9e89 [1]

--
[1] http://hg.savannah.gnu.org/hgweb/health/rev/44e2ea2d9e89

Bruno M. Villasanti <bvillasanti>
Sat 21 Nov 2015 04:23:20 AM UTC, original submission:  

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".', ''))

Bruno M. Villasanti <bvillasanti>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bvillasanti (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-11-21 bvillasanti StatusIn Progress Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.12.
    Corresponding source code