openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #17858
[Bug 1079698] [NEW] jasper reports 6.1 install "AttributeError: 'NoneType' object has no attribute 'import_data'"
Public bug reported:
cat /etc/issue
Ubuntu 12.04.1 LTS \n \l
grep version /var/log/openerp-server.log
2012-10-15 22:11:51,606 2054 INFO ? openerp: OpenERP version 6.1-20121014-233151
bzr branch lp:openobject-jasper-reports/6.1
cd 6.1
cp -R * /usr/lib/pymodules/python2.7/openerp/addons/jasper-reports61
Update modules adds 1. Install "jasper-reports61" module "lp
:openobject-jasper-reports/6.1" gets
OpenERP Server Error
Client Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/http.py", line 180, in dispatch
response["result"] = method(controller, self, **self.params)
File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 1052, in call_button
action = self.call_common(req, model, method, args, domain_id, context_id)
File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 996, in call_common
return self._call_kw(req, model, method, args, {})
File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 1010, in _call_kw
return getattr(req.session.model(model), method)(*args, **kwargs)
File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/openerplib/main.py", line 250, in proxy
args, kw)
File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/openerplib/main.py", line 117, in proxy
result = self.connector.send(self.service_name, method, *args)
File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/http.py", line 608, in send
raise xmlrpclib.Fault(openerp.tools.exception_to_unicode(e), formatted_info)
Server Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/http.py", line 593, in send
return openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/usr/lib/pymodules/python2.7/openerp/netsvc.py", line 360, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 586, in dispatch
res = fn(db, uid, *params)
File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 167, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 121, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/lib/pymodules/python2.7/openerp/addons/audittrail/audittrail.py", line 495, in execute_cr
return fct_src(cr, uid, model, method, *args)
File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 164, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/lib/pymodules/python2.7/openerp/addons/base/module/wizard/base_module_upgrade.py", line 101, in upgrade_module
_db, pool = pooler.restart_pool(cr.dbname, update_module=True)
File "/usr/lib/pymodules/python2.7/openerp/pooler.py", line 39, in restart_pool
registry = RegistryManager.new(db_name, force_demo, status, update_module, True)
File "/usr/lib/pymodules/python2.7/openerp/modules/registry.py", line 202, in new
openerp.modules.load_modules(registry.db, force_demo, status, update_module)
File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 338, in load_modules
processed = load_marked_modules(cr, graph, states_to_load, force, status, report, loaded_modules)
File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 253, in load_marked_modules
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules)
File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 192, in load_module_graph
load_update_xml(module_name, idref, mode)
File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 90, in <lambda>
load_update_xml = lambda *args: _load_data(cr, *args, kind='update_xml')
File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 132, in _load_data
tools.convert_csv_import(cr, module_name, pathname, fp.read(), idref, mode, noupdate)
File "/usr/lib/pymodules/python2.7/openerp/tools/convert.py", line 970, 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'
** Affects: openobject-addons
Importance: Undecided
Status: New
** Branch linked: lp:openobject-jasper-reports/6.1
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1079698
Title:
jasper reports 6.1 install "AttributeError: 'NoneType' object has no
attribute 'import_data'"
Status in OpenERP Addons (modules):
New
Bug description:
cat /etc/issue
Ubuntu 12.04.1 LTS \n \l
grep version /var/log/openerp-server.log
2012-10-15 22:11:51,606 2054 INFO ? openerp: OpenERP version 6.1-20121014-233151
bzr branch lp:openobject-jasper-reports/6.1
cd 6.1
cp -R * /usr/lib/pymodules/python2.7/openerp/addons/jasper-reports61
Update modules adds 1. Install "jasper-reports61" module "lp
:openobject-jasper-reports/6.1" gets
OpenERP Server Error
Client Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/http.py", line 180, in dispatch
response["result"] = method(controller, self, **self.params)
File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 1052, in call_button
action = self.call_common(req, model, method, args, domain_id, context_id)
File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 996, in call_common
return self._call_kw(req, model, method, args, {})
File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 1010, in _call_kw
return getattr(req.session.model(model), method)(*args, **kwargs)
File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/openerplib/main.py", line 250, in proxy
args, kw)
File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/openerplib/main.py", line 117, in proxy
result = self.connector.send(self.service_name, method, *args)
File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/http.py", line 608, in send
raise xmlrpclib.Fault(openerp.tools.exception_to_unicode(e), formatted_info)
Server Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/http.py", line 593, in send
return openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/usr/lib/pymodules/python2.7/openerp/netsvc.py", line 360, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 586, in dispatch
res = fn(db, uid, *params)
File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 167, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 121, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/lib/pymodules/python2.7/openerp/addons/audittrail/audittrail.py", line 495, in execute_cr
return fct_src(cr, uid, model, method, *args)
File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 164, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/lib/pymodules/python2.7/openerp/addons/base/module/wizard/base_module_upgrade.py", line 101, in upgrade_module
_db, pool = pooler.restart_pool(cr.dbname, update_module=True)
File "/usr/lib/pymodules/python2.7/openerp/pooler.py", line 39, in restart_pool
registry = RegistryManager.new(db_name, force_demo, status, update_module, True)
File "/usr/lib/pymodules/python2.7/openerp/modules/registry.py", line 202, in new
openerp.modules.load_modules(registry.db, force_demo, status, update_module)
File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 338, in load_modules
processed = load_marked_modules(cr, graph, states_to_load, force, status, report, loaded_modules)
File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 253, in load_marked_modules
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules)
File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 192, in load_module_graph
load_update_xml(module_name, idref, mode)
File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 90, in <lambda>
load_update_xml = lambda *args: _load_data(cr, *args, kind='update_xml')
File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 132, in _load_data
tools.convert_csv_import(cr, module_name, pathname, fp.read(), idref, mode, noupdate)
File "/usr/lib/pymodules/python2.7/openerp/tools/convert.py", line 970, 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'
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1079698/+subscriptions
Follow ups
References