vaab / report_birt

BIRT Report module for OpenERP
5 stars 6 forks source link

Install OPENERP 7 Fail. #7

Open oakmbx opened 8 years ago

oakmbx commented 8 years ago

I want to install this module on openerp7 under ubuntu14, I had install python module, setup tomcat7, deploy the app in tomcat7.

a) Do I have to start the app in tomcat7, why? I see the list on tomcat7 server, but If I try to start the app I got this error on screen:

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

If I open the app in my browser: http://server-ip:8080/birt I got this 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

View Example

I click the Example but got this error:

HTTP Status 404 - /frameset type Status report message /frameset description The requested resource is not available. Apache Tomcat/7.0.52 (Ubuntu)

3) If I open openerp GUI and try to install the module I receive this error: Client Traceback (most recent call last): File "/opt/openerp/web/addons/web/http.py", line 204, in dispatch response["result"] = method(self, *_self.params) File "/opt/openerp/web/addons/web/controllers/main.py", line 1132, in call_button action = self._call_kw(req, model, method, args, {}) File "/opt/openerp/web/addons/web/controllers/main.py", line 1120, in _call_kw return getattr(req.session.model(model), method)(_args, *kwargs) File "/opt/openerp/web/addons/web/session.py", line 42, in proxy result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw) File "/opt/openerp/web/addons/web/session.py", line 30, in proxy_method result = self.session.send(self.service_name, method, args) File "/opt/openerp/web/addons/web/session.py", line 103, in send raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)

Server Traceback (most recent call last): File "/opt/openerp/web/addons/web/session.py", line 89, in send return openerp.netsvc.dispatch_rpc(service_name, method, args) 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_immediatefunction , 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 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'

I already install java because maybe some lib was missing, but did't fix the issue, any recommendation about this error?

Thanks.