Unnable to open Magento Fields in a two shop test ERP

Bug #1036279 reported by David
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Magento OpenERP Connector
New
Undecided
Unassigned

Bug Description

I'm triying to include two online shops . I just installed a 2 magento and latest magento-module-trunk (from launchpad).

1)I had configured APIuser and Roles.

2) I had configured Openerp and I had retrieve all the information correctly ( well the first time I've push the sincronize referential settings i've got an error but not the second time and the process have been finish correctly).

3) Once the products are imported i had try to open magentofields from one test-product that have been imported and the server say:

OpenERP Server Error

Client Traceback (most recent call last):
  File "/opt/openerp/server/openerp/addons/web/common/http.py", line 180, in dispatch
    response["result"] = method(controller, self, **self.params)
  File "/opt/openerp/server/openerp/addons/web/controllers/main.py", line 1209, in load
    return self.fields_view_get(req, model, view_id, view_type, toolbar=toolbar)
  File "/opt/openerp/server/openerp/addons/web/controllers/main.py", line 1091, in fields_view_get
    fvg = Model.fields_view_get(view_id, view_type, context, toolbar, submenu)
  File "/opt/openerp/server/openerp/addons/web/common/openerplib/main.py", line 250, in proxy
    args, kw)
  File "/opt/openerp/server/openerp/addons/web/common/openerplib/main.py", line 117, in proxy
    result = self.connector.send(self.service_name, method, *args)
  File "/opt/openerp/server/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 "/opt/openerp/server/openerp/addons/web/common/http.py", line 593, in send
    return openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/opt/openerp/server/openerp/netsvc.py", line 360, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/opt/openerp/server/openerp/service/web_services.py", line 586, in dispatch
    res = fn(db, uid, *params)
  File "/opt/openerp/server/openerp/osv/osv.py", line 167, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/opt/openerp/server/openerp/osv/osv.py", line 121, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/opt/openerp/server/openerp/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/opt/openerp/server/openerp/osv/osv.py", line 164, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/opt/openerp/server/openerp/addons/magentoerpconnect/product.py", line 1012, in fields_view_get
    cr, uid, field_names, context)
  File "/opt/openerp/server/openerp/addons/magentoerpconnect/product.py", line 865, in redefine_prod_view
    attribute = results.pop()
IndexError: pop from empty list

----------------
My configuration:

http://bazaar.launchpad.net/~magentoerpconnect-core-editors/magentoerpconnect/trunk_version/
revno: 653

http://bazaar.launchpad.net/~openerp/openobject-server/6.1/
revno:4224

David (dhecar)
description: updated
Revision history for this message
Kyle Waid (midwest) wrote :

Hello,

You shouldnt use the trunk version of the connector. The error you are getting is because either you did not import the product attrbutes, or the attributes were not assigned to the attribute set. Go to magento instances > attributes and sets > attribute sets.
Select any, and click update attributes. Then try again

Also I would not recommend using multiple websites. Multiple storeview is fine but not multiple site synchronization. The attribute management wont work correctly.

Revision history for this message
David (dhecar) wrote :

OK. I'll revert to the correct version. I'd delete the shops and reconfigured again with only one shop and works correctly, but... as you say the best way is to have different views for each shop, Is it?

And if I have two different kind of shops (magento/prestashop) ??

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.