← Back to team overview

report-openoffice-team team mailing list archive

[Bug 582753] Re: report generation does not work when server 5.0.10 started from init script

 

Sure, here's one of the testcases I use:

class Parser(report_sxw.rml_parse):
    def __init__(self, cr, uid, name, context):
        super(Parser, self).__init__(cr, uid, name, context)
        self.localcontext.update({
            'test': "Testing"
        })

-- 
report generation does not work when server 5.0.10 started from init script
https://bugs.launchpad.net/bugs/582753
You received this bug notification because you are a member of Report
OpenOffice Team, which is the registrant for Report OpenOffice.

Status in OpenOffice.org Reporting Engine for OpenObject: New

Bug description:
After a server upgrade to 5.0.10 there is a difference with earlier versions. 

running the server from command-line works fine, but if the server is run from the init-script (debian style), the reprt generation does not work when a localcontext.update section is used in the parser.

The behaviour I am seeing is that the GTK client hangs, the web client times out after 15 seconds with an 'internal server error'. There are no error messages in any logs.

If i do not use any of the entries in the report which are coming from the added data in a localcontext update, both ods and pdf generation works fine (including data usage of user.company, data from a wizard)





References