← Back to team overview

openerp-india team mailing list archive

[Bug 1115363] Re: [7.0] Google docs integration not working

 

** Changed in: openobject-addons
       Status: New => Confirmed

** Changed in: openobject-addons
   Importance: Undecided => High

-- 
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/1115363

Title:
  [7.0] Google docs integration not working

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  Go on runbot all (or more secure: create a local instance and install
  Google doc integration module)

  1. Give you user admin the credentials of your google aps account
  2. Go on any doc and click "attachment"  >  add google doc
  3. Here's what you get:

  Client Traceback (most recent call last):
    File "/home/antoine/source/web/7.0/addons/web/http.py", line 195, in dispatch
      response["result"] = method(self, **self.params)
    File "/home/antoine/source/web/7.0/addons/web/controllers/main.py", line 1078, in call_kw
      return self._call_kw(req, model, method, args, kwargs)
    File "/home/antoine/source/web/7.0/addons/web/controllers/main.py", line 1070, in _call_kw
      return getattr(req.session.model(model), method)(*args, **kwargs)
    File "/home/antoine/source/web/7.0/addons/web/session.py", line 43, in proxy
      result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
    File "/home/antoine/source/web/7.0/addons/web/session.py", line 31, in proxy_method
      result = self.session.send(self.service_name, method, *args)
    File "/home/antoine/source/web/7.0/addons/web/session.py", line 104, in send
      raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)

  
  Server Traceback (most recent call last):
    File "/home/antoine/source/web/7.0/addons/web/session.py", line 90, in send
      return openerp.netsvc.dispatch_rpc(service_name, method, args)
    File "/home/antoine/source/server/7.0/openerp/netsvc.py", line 289, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/home/antoine/source/server/7.0/openerp/service/web_services.py", line 614, in dispatch
      res = fn(db, uid, *params)
    File "/home/antoine/source/server/7.0/openerp/osv/osv.py", line 169, in execute_kw
      return self.execute(db, uid, obj, method, *args, **kw or {})
    File "/home/antoine/source/server/7.0/openerp/osv/osv.py", line 123, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/antoine/source/server/7.0/openerp/osv/osv.py", line 179, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/antoine/source/server/7.0/openerp/osv/osv.py", line 166, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/antoine/source/addons/7.0/google_docs/google_docs.py", line 171, in google_doc_get
      google_document = pool_ir_attachment.create_empty_google_doc(cr, uid, res_model, res_id, context=context)
    File "/home/antoine/source/addons/7.0/google_docs/google_docs.py", line 97, in create_empty_google_doc
      local_resource = gdata.docs.data.Resource(gdata.docs.data.DOCUMENT_LABEL,title=title)
  AttributeError: 'module' object has no attribute 'Resource'

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1115363/+subscriptions


References