← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 793481] Re: "Open Magento Fields" fails

 

Reload Referential settings only refreshes an internal setting so that
should never fail. Invalid API path means that you did not correctly
type the magento store path. You must include http://www. double check
your settings. Then you must synchronize the referential. You do not
necessarily have to do the steps in order. And you could use the trunk
but it is not recommended. Also using sample data is fine.

In regards to the bug, From what you are telling me it sounds like you
have never imported magento products? If this is true then I do believe
it is a bug as in the button returns false value but it is not written
to understand if there is no information available. I have also seen
this message once.

There was a commit not long ago that would make the button disappear if
there was no fields to open, perhaps Sebastien, you could try to
reproduce on database where settings have not been imported if that
matters at all.

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/793481

Title:
  "Open Magento Fields" fails

Status in Magento Open ERP Connector:
  New

Bug description:
  Software Versions:
  OpenERP: 6.0.2
  Magento: 1.5.1.0
  magentoerpconnect: 6.0.1.0

  Clicking on "Open Magento Field" in Product form view, I get the
  following error:

  Traceback (most recent call last):
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 489, in dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, params)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 599, in dispatch
      res = fn(db, uid, *params)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/magentoerpconnect.zip/magentoerpconnect/product.py", line 641, in open_magento_fields
      set_id = self.read(cr, uid, ids, fields=['set'], context=context)[0]['set'][0]
  TypeError: 'bool' object is unsubscriptable


References