Public bug reported:
trunk, db all, runbot, go to Settings/configuration/general settings,
apply. I think is comes from google
Traceback (most recent call last):
File
"/home/odoo/runbot/static/openerp-dev-trunk-job-positions-19065/server/openerp/addons/web/http.py",
line 314, in dispatch
response["result"] = self._call_function(**self.params)
File
"/home/odoo/runbot/static/openerp-dev-trunk-job-positions-19065/server/openerp/addons/web/http.py",
line 174, in _call_function
return self.func(*args, **kwargs)
File
"/home/odoo/runbot/static/openerp-dev-trunk-job-positions-19065/server/openerp/addons/web/http.py",
line 1053, in nfunc
return func(*args, **kwargs)
File
"/home/odoo/runbot/static/openerp-dev-trunk-job-positions-19065/server/openerp/addons/web/controllers/main.py",
line 1095, in call_button
action = self._call_kw(model, method, args, {})
File
"/home/odoo/runbot/static/openerp-dev-trunk-job-positions-19065/server/openerp/addons/web/controllers/main.py",
line 1083, in _call_kw
return getattr(request.registry.get(model), method)(request.cr,
request.uid, *args, **kwargs)
File
"/home/odoo/runbot/static/openerp-dev-trunk-job-positions-19065/server/openerp/addons/base/res/res_config.py",
line 560, in execute
getattr(self, method)(cr, uid, ids, context)
File
"/home/odoo/runbot/static/openerp-dev-trunk-job-positions-19065/server/openerp/addons/google_drive/google_drive.py",
line 226, in set_google_authorization_code
refresh_token = self.pool['google.service'].generate_refresh_token(cr, uid,
'drive', config.google_drive_authorization_code, context=context)
File
"/home/odoo/runbot/static/openerp-dev-trunk-job-positions-19065/server/openerp/addons/google_base_account/google_base_account.py",
line 52, in generate_refresh_token
return content.get('refresh_token')
UnboundLocalError: local variable 'content' referenced before assignment
** Affects: openobject-addons
Importance: Medium
Status: Confirmed
** Changed in: openobject-addons
Status: New => Confirmed
** Changed in: openobject-addons
Importance: Undecided => Medium
--
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/1220216
Title:
[trunk] traceback when applying general setting (google ?)
Status in OpenERP Addons (modules):
Confirmed
Bug description:
trunk, db all, runbot, go to Settings/configuration/general settings,
apply. I think is comes from google
Traceback (most recent call last):
File
"/home/odoo/runbot/static/openerp-dev-trunk-job-positions-19065/server/openerp/addons/web/http.py",
line 314, in dispatch
response["result"] = self._call_function(**self.params)
File
"/home/odoo/runbot/static/openerp-dev-trunk-job-positions-19065/server/openerp/addons/web/http.py",
line 174, in _call_function
return self.func(*args, **kwargs)
File
"/home/odoo/runbot/static/openerp-dev-trunk-job-positions-19065/server/openerp/addons/web/http.py",
line 1053, in nfunc
return func(*args, **kwargs)
File
"/home/odoo/runbot/static/openerp-dev-trunk-job-positions-19065/server/openerp/addons/web/controllers/main.py",
line 1095, in call_button
action = self._call_kw(model, method, args, {})
File
"/home/odoo/runbot/static/openerp-dev-trunk-job-positions-19065/server/openerp/addons/web/controllers/main.py",
line 1083, in _call_kw
return getattr(request.registry.get(model), method)(request.cr,
request.uid, *args, **kwargs)
File
"/home/odoo/runbot/static/openerp-dev-trunk-job-positions-19065/server/openerp/addons/base/res/res_config.py",
line 560, in execute
getattr(self, method)(cr, uid, ids, context)
File
"/home/odoo/runbot/static/openerp-dev-trunk-job-positions-19065/server/openerp/addons/google_drive/google_drive.py",
line 226, in set_google_authorization_code
refresh_token = self.pool['google.service'].generate_refresh_token(cr,
uid, 'drive', config.google_drive_authorization_code, context=context)
File
"/home/odoo/runbot/static/openerp-dev-trunk-job-positions-19065/server/openerp/addons/google_base_account/google_base_account.py",
line 52, in generate_refresh_token
return content.get('refresh_token')
UnboundLocalError: local variable 'content' referenced before assignment
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1220216/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~openerp-india
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-india
More help : https://help.launchpad.net/ListHelp