c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #25701
[Bug 792455] [NEW] openerp_dia - error importing view
Public bug reported:
I'm using v6.0.2 with only base installed.
I have setup dia with openerp_dia (copying shapes, sheets and py files)
so I can see the "OpenERP Interface" in "Other Sheets" and I have tried
"Tools->Load Open ERP View" a couple of times without problems. However,
I got this error when trying to load res.partner.form:
yDia Error (diamodule.c:365):
<type 'exceptions.TypeError'>TypeError("cannot concatenate 'str' and 'builtin_function_or_method' objects",)Traceback (most recent call last):
File "/home/manu/.dia/python/import_view_openerp.py", line 401, in main
d.draw(data, flags,views['type'])
File "/home/manu/.dia/python/import_view_openerp.py", line 349, in draw
self.process_node(self.etree, 0, 5)
File "/home/manu/.dia/python/import_view_openerp.py", line 303, in process_node
posx2,posy2 = self.process_node(e, posx2, posy2)
File "/home/manu/.dia/python/import_view_openerp.py", line 303, in process_node
posx2,posy2 = self.process_node(e, posx2, posy2)
File "/home/manu/.dia/python/import_view_openerp.py", line 303, in process_node
posx2,posy2 = self.process_node(e, posx2, posy2)
File "/home/manu/.dia/python/import_view_openerp.py", line 275, in process_node
shape = self.shapes.get(element.tag,'shape - '+element.tag)
Please help.
** Affects: openobject-addons
Importance: Undecided
Status: New
** Tags: 6.0.2
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/792455
Title:
openerp_dia - error importing view
Status in OpenERP Modules (addons):
New
Bug description:
I'm using v6.0.2 with only base installed.
I have setup dia with openerp_dia (copying shapes, sheets and py
files) so I can see the "OpenERP Interface" in "Other Sheets" and I
have tried "Tools->Load Open ERP View" a couple of times without
problems. However, I got this error when trying to load
res.partner.form:
yDia Error (diamodule.c:365):
<type 'exceptions.TypeError'>TypeError("cannot concatenate 'str' and 'builtin_function_or_method' objects",)Traceback (most recent call last):
File "/home/manu/.dia/python/import_view_openerp.py", line 401, in main
d.draw(data, flags,views['type'])
File "/home/manu/.dia/python/import_view_openerp.py", line 349, in draw
self.process_node(self.etree, 0, 5)
File "/home/manu/.dia/python/import_view_openerp.py", line 303, in process_node
posx2,posy2 = self.process_node(e, posx2, posy2)
File "/home/manu/.dia/python/import_view_openerp.py", line 303, in process_node
posx2,posy2 = self.process_node(e, posx2, posy2)
File "/home/manu/.dia/python/import_view_openerp.py", line 303, in process_node
posx2,posy2 = self.process_node(e, posx2, posy2)
File "/home/manu/.dia/python/import_view_openerp.py", line 275, in process_node
shape = self.shapes.get(element.tag,'shape - '+element.tag)
Please help.
Follow ups
References