Quantcast

BIRT Report Download Gives EmitterID is Invalid.

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

BIRT Report Download Gives EmitterID is Invalid.

bdrhoa
I'm trying out the BIRT Report plugin and the example application. Rending to the screen works. But then selecting any of the download options results in:

Error 500: Executing action [downloadAs] of controller [ReportController] caused exception: Runtime error executing action
Servlet: grails
URI: /birt-report-test/grails/report/downloadAs.dispatch
Exception Message: EmitterID org.eclipse.birt.report.engine.emitter.odt for render option is invalid. 
Caused by: EmitterID org.eclipse.birt.report.engine.emitter.odt for render option is invalid. 
Class: ReportController 
At Line: [138] 
Code Snippet:
137: options.emitterID="org.eclipse.birt.report.engine.emitter.odt"
138: def result=birtReportService.runAndRender(reportName, reportParams, options)
139: if(format=="html")

Thanks!
---------------------------
www.maf.org/rhoads
www.ontherhoads.org
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: BIRT Report Download Gives EmitterID is Invalid.

eyck.jentzsch
Hi Mark,
what version of the plugin do you use? I just released (after some pain of being able to publish such a large plugin) the 3.7.2 version. I have testet the ODT export here and it works...
Best regards
-Eyck
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: BIRT Report Download Gives EmitterID is Invalid.

david.farnsworth
I had the same problem with the example application.  I couldn't find the 3.7.2 version so I went to the git project https://github.com/eyck/grails-birt-report,
downloaded it
upgraded it to grails 2.1.0
copied the lib from 3.7.0.1
ran grails package-plugin
and installed the new plugin with
grails install-plugin ~/Downloads/eyck-grails-birt-report-9512a57/grails-birt-report-4.2.0.1.zip

into the birt-report-test example application.

I am still getting the same error.

Can you point me to the 3.7.2 version or tell me what I can do to get this working?  Also, I'm not sure if I have the right jars in the lib directory of the 4.2.0.1 plugin as the lib directory in git is empty.

Thanks for your assistance.

Regards,
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: BIRT Report Download Gives EmitterID is Invalid.

eyck.jentzsch
Hi David,
you should be able to to do a 'grails install-plugin birt-report 3.7.2.0' to install the 3.7.2.0 version.

If you build the plugin from the sources you need to copy in the jars from the birt runtime (which you can find at http://www.eclipse.org/downloads/download.php?file=/birt/downloads/drops/R-R1-4_2_0-201206131143/birt-runtime-4_2_0.zip).
I did not add them to the repo on purpose as they come from the Eclipse BIRT project. Since they do not maintain a maven repo I also cannot reference the jars...
HTH

-Eyck
Loading...