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

Submitted by:  Bruno M. Villasanti <bvillasanti>
Submitted on:  Sat 21 Nov 2015 04:23:20 AM UTC  
 
Category: InstallationSeverity: 5 - Blocker
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Bruno M. Villasanti <bvillasanti>
Open/Closed: ClosedRelease: None
Module: health

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>In charge of this item.
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>In charge of this item.

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 21 Nov 2015 04:29:02 AM UTCbvillasantiStatusIn Progress=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1