Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

BIRT Report module for OpenERP7

By
klabacita
on 9/21/16, 6:29 PM 141 views

Hi.

I want to install this on my server running ubuntu14.04 with openerp7. The instructions are not difficult but something is missing on my setup.

I had install python request, latter setup tomcat7 is running, latter download the birt-viewer and deploy on tomcat server.

The apps is there, but exist some things I don't understand and the doc don't mention.

Once u deploy the app on tomcat, do u need to have the apps running? Because in my case is not running is just there in the apps list, every time I try to start the app I got this error:

FAIL - Application at context path /birt could not be startedFAIL - Encountered exception org.apache.catalina.LifecycleException: Failed to start component StandardEngine[Catalina].StandardHost[localhost].StandardContext[/birt]]

The extend log from tomcat is:

SEVERE: FAIL - Application at context path /birt could not be startedorg.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/birt]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1256) at org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:692) at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:217) at javax.servlet.http.HttpServlet.service(HttpServlet.java:646) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:213) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:610) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)Caused by: java.lang.SecurityException: Invalid signature file digest for Manifest main attributes at sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:286) at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:239) at java.util.jar.JarVerifier.processEntry(JarVerifier.java:317) at java.util.jar.JarVerifier.update(JarVerifier.java:228) at java.util.jar.JarFile.initializeVerifier(JarFile.java:348) at java.util.jar.JarFile.getInputStream(JarFile.java:415) at org.apache.tomcat.util.scan.FileUrlJar.getEntryInputStream(FileUrlJar.java:97) at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1930) at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1897) at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1882) at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1314) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:873) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:371) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5392) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ... 27 more

Sep 21, 2016 3:18:35 PM org.apache.catalina.core.ApplicationContext logINFO: HTMLManager: list: Listing contexts for virtual host 'localhost'

Now, if I open the tab: http://my-server-ip:8080/birt I got the message:

BIRT viewer has been installed.

  Idea 

Thank you for your choosing BIRT (Business Intelligence Reporting Tool).

Viewer Version : 4.5.0

Engine Version: 4.5.0

JRE version: 1.7.0_111

But if I try to run the test I got the error:

HTTP Status 404 - /frameset

type Status report

message /frameset

description The requested resource is not available.

Apache Tomcat/7.0.52 (Ubuntu)

Anyone has been able to setup birt for openerp?

Other issue I have inside openerp GUI, maybe is because I still don't have this part working, If I try to install the module I got this error:

2016-09-21 22:25:09,087 428 INFO MBX1509 openerp.modules.loading: loading 1 modules...

2016-09-21 22:25:09,138 428 INFO MBX1509 openerp.modules.loading: loading 96 modules...

2016-09-21 22:25:09,157 428 INFO MBX1509 openerp.osv.orm: Missing many2one field definition for _inherits reference "cost_id" in "fleet.vehicle.log.fuel", using default one.

2016-09-21 22:25:09,158 428 INFO MBX1509 openerp.osv.orm: Missing many2one field definition for _inherits reference "cost_id" in "fleet.vehicle.log.services", using default one.

2016-09-21 22:25:09,158 428 INFO MBX1509 openerp.osv.orm: Missing many2one field definition for _inherits reference "cost_id" in "fleet.vehicle.log.contract", using default one.

2016-09-21 22:25:09,507 428 INFO MBX1509 openerp.modules.loading: Modules loaded.

2016-09-21 22:25:09,567 428 INFO MBX1509 openerp.modules.loading: loading 1 modules...

2016-09-21 22:25:09,622 428 INFO MBX1509 openerp.modules.loading: loading 96 modules...

2016-09-21 22:25:09,667 428 INFO MBX1509 openerp.osv.orm: Missing many2one field definition for _inherits reference "cost_id" in "fleet.vehicle.log.fuel", using default one.

2016-09-21 22:25:09,667 428 INFO MBX1509 openerp.osv.orm: Missing many2one field definition for _inherits reference "cost_id" in "fleet.vehicle.log.services", using default one.

2016-09-21 22:25:09,668 428 INFO MBX1509 openerp.osv.orm: Missing many2one field definition for _inherits reference "cost_id" in "fleet.vehicle.log.contract", using default one.

2016-09-21 22:25:09,950 428 INFO MBX1509 openerp.modules.loading: loading 97 modules...

2016-09-21 22:25:09,955 428 INFO MBX1509 openerp.modules.module: module report_birt-master: creating or updating database tables2016-09-21 22:25:09,994 428 INFO MBX1509 openerp.modules.loading: module report_birt-master: loading security/ir.model.access.csv2016-09-21 22:25:09,995 428 ERROR MBX1509 openerp.osv.osv: Uncaught exceptionTraceback (most recent call last):

  File "/opt/openerp/server/openerp/osv/osv.py", line 132, in wrapper return f(self, dbname, *args, **kwargs) File "/opt/openerp/server/openerp/osv/osv.py", line 199, in execute res = self.execute_cr(cr, uid, obj, method, *args, **kw) File "/opt/openerp/server/openerp/osv/osv.py", line 187, in execute_cr return getattr(object, method)(cr, uid, *args, **kw) File "/opt/openerp/server/openerp/addons/base/module/module.py", line 426, in button_immediate_install return self._button_immediate_function(cr, uid, ids, self.button_install, context=context) File "/opt/openerp/server/openerp/addons/base/module/module.py", line 477, in _button_immediate_function _, pool = pooler.restart_pool(cr.dbname, update_module=True) File "/opt/openerp/server/openerp/pooler.py", line 39, in restart_pool registry = RegistryManager.new(db_name, force_demo, status, update_module) File "/opt/openerp/server/openerp/modules/registry.py", line 233, in new openerp.modules.load_modules(registry.db, force_demo, status, update_module) File "/opt/openerp/server/openerp/modules/loading.py", line 354, in load_modules loaded_modules, update_module) File "/opt/openerp/server/openerp/modules/loading.py", line 256, in load_marked_modules loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks) File "/opt/openerp/server/openerp/modules/loading.py", line 188, in load_module_graph load_data(module_name, idref, mode) File "/opt/openerp/server/openerp/modules/loading.py", line 76, in <lambda> load_data = lambda *args: _load_data(cr, *args, kind='data') File "/opt/openerp/server/openerp/modules/loading.py", line 118, in _load_data tools.convert_csv_import(cr, module_name, pathname, fp.read(), idref, mode, noupdate) File "/opt/openerp/server/openerp/tools/convert.py", line 932, in convert_csv_import result, rows, warning_msg, dummy = pool.get(model).import_data(cr, uid, fields, datas,mode, module, noupdate, filename=fname_partial)AttributeError: 'NoneType' object has no attribute 'import_data'2016-09-21 22:25:09,995 428 ERROR MBX1509 openerp.netsvc: 'NoneType' object has no attribute 'import_data'Traceback (most recent call last):

  File "/opt/openerp/server/openerp/netsvc.py", line 296, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params) File "/opt/openerp/server/openerp/service/web_services.py", line 626, in dispatch res = fn(db, uid, *params) File "/opt/openerp/server/openerp/osv/osv.py", line 190, in execute_kw return self.execute(db, uid, obj, method, *args, **kw or {}) File "/opt/openerp/server/openerp/osv/osv.py", line 132, in wrapper return f(self, dbname, *args, **kwargs) File "/opt/openerp/server/openerp/osv/osv.py", line 199, in execute res = self.execute_cr(cr, uid, obj, method, *args, **kw) File "/opt/openerp/server/openerp/osv/osv.py", line 187, in execute_cr return getattr(object, method)(cr, uid, *args, **kw) File "/opt/openerp/server/openerp/addons/base/module/module.py", line 426, in button_immediate_install return self._button_immediate_function(cr, uid, ids, self.button_install, context=context) File "/opt/openerp/server/openerp/addons/base/module/module.py", line 477, in _button_immediate_function _, pool = pooler.restart_pool(cr.dbname, update_module=True) File "/opt/openerp/server/openerp/pooler.py", line 39, in restart_pool registry = RegistryManager.new(db_name, force_demo, status, update_module) File "/opt/openerp/server/openerp/modules/registry.py", line 233, in new openerp.modules.load_modules(registry.db, force_demo, status, update_module) File "/opt/openerp/server/openerp/modules/loading.py", line 354, in load_modules loaded_modules, update_module) File "/opt/openerp/server/openerp/modules/loading.py", line 256, in load_marked_modules loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks) File "/opt/openerp/server/openerp/modules/loading.py", line 188, in load_module_graph load_data(module_name, idref, mode) File "/opt/openerp/server/openerp/modules/loading.py", line 76, in <lambda> load_data = lambda *args: _load_data(cr, *args, kind='data') File "/opt/openerp/server/openerp/modules/loading.py", line 118, in _load_data tools.convert_csv_import(cr, module_name, pathname, fp.read(), idref, mode, noupdate) File "/opt/openerp/server/openerp/tools/convert.py", line 932, in convert_csv_import result, rows, warning_msg, dummy = pool.get(model).import_data(cr, uid, fields, datas,mode, module, noupdate, filename=fname_partial)AttributeError: 'NoneType' object has no attribute 'import_data'

Any help will be appreciated, thanks.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 9/21/16, 6:29 PM
Seen: 141 times
Last updated: 9/22/16, 3:24 AM