Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

job is net getting execute in magento-openerp connector NotReadableJobError: ('Could not unpickle.', 'False') #46

Closed
atuljain opened this issue Oct 6, 2014 · 1 comment

Comments

@atuljain
Copy link

atuljain commented Oct 6, 2014

Hello,
I installed magento connector and it was working fine but unfortunatly my customer update it connector module from Apps Menu ,
I update all the connectoer's addons also tried to create new database but still getting the same issue and also job is not geting to execute

Client Traceback (most recent call last):
File "/opt/openerp/server/openerp/addons/web/http.py", line 204, in dispatch
response["result"] = method(self, *_self.params)
File "/opt/openerp/server/openerp/addons/web/controllers/main.py", line 1132, in call_button
action = self._call_kw(req, model, method, args, {})
File "/opt/openerp/server/openerp/addons/web/controllers/main.py", line 1120, in _call_kw
return getattr(req.session.model(model), method)(_args, **kwargs)
File "/opt/openerp/server/openerp/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/server/openerp/addons/web/session.py", line 30, in proxy_method
result = self.session.send(self.service_name, method, *args)
File "/opt/openerp/server/openerp/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/server/openerp/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/magento_addons/openerp-connector/connector/queue/model.py", line 393, in requeue
self.pool.get('queue.job').requeue(cr, uid, job_ids, context=context)
File "/opt/openerp/magento_addons/openerp-connector/connector/queue/model.py", line 127, in requeue
self._change_job_state(cr, uid, ids, PENDING, context=context)
File "/opt/openerp/magento_addons/openerp-connector/connector/queue/model.py", line 110, in _change_job_state
job = storage.load(job.uuid)
File "/opt/openerp/magento_addons/openerp-connector/connector/queue/job.py", line 246, in load
func = _unpickle(str(stored.func))
File "/opt/openerp/magento_addons/openerp-connector/connector/queue/job.py", line 71, in _unpickle
raise NotReadableJobError('Could not unpickle.', pickled)
NotReadableJobError: ('Could not unpickle.', 'False')

For avoiding this error i also follow some patched which is provided by other's contributor

https://code.launchpad.net/~camptocamp/openerp-connector/7.0-unicode-pickled-1288187/+merge/209481

also follow this

https://code.launchpad.net/~acsone-openerp/openerp-connector/bug-1288187-sbi-unicode/+merge/209430

please any one can help me

@guewen
Copy link
Member

guewen commented Oct 6, 2014

Hi,

You already posted that here #30
Please do not duplicate. If you have any comment, please write them on your original issue.

@guewen guewen closed this as completed Oct 6, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants