This looks to me like a regression of bug https://bugs.launchpad.net/openobject-server/+bug/392480 ? Depending on the rml I think the test for 'None' on the n.getparent() calls.
We got a very similar error, which we were able to work around with:
--- bin/report/preprocess.py 2010-04-23 14:12:24 +0000 +++ bin/report/preprocess.py 2010-07-20 10:31:51 +0000 @@ -19,6 +19,8 @@ def _sub3(txt): n = node while n.tag != txt.group(2): + if n.getparent() is None: + break n = n.getparent() n.set('rml_tag
I suspect this bug can be worked around in the same manner
This looks to me like a regression of bug https:/ /bugs.launchpad .net/openobject -server/ +bug/392480 ? Depending on the rml I think the test for 'None' on the n.getparent() calls.
We got a very similar error, which we were able to work around with:
--- bin/report/ preprocess. py 2010-04-23 14:12:24 +0000 preprocess. py 2010-07-20 10:31:51 +0000
def _sub3(txt):
n = node
while n.tag != txt.group(2):
n = n.getparent()
n.set(' rml_tag
+++ bin/report/
@@ -19,6 +19,8 @@
+ if n.getparent() is None:
+ break
I suspect this bug can be worked around in the same manner