← Back to team overview

openerp-india team mailing list archive

[Bug 915071] Re: Magento connector will not upload

 

Wrong project my dear.

** Project changed: openobject-server => magentoerpconnect

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/915071

Title:
  Magento connector will not upload

Status in Magento OpenERP Connector:
  New

Bug description:
  While trying to do a product upload from the GTK clinet in WIndows, I
  get the following error:

  
  Environment Information : 
  System : Windows-XP-5.1.2600-SP3
  OS Name : nt
  Operating System Release : XP
  Operating System Version : 5.1.2600
  Operating System Architecture : 32bit
  Operating System Locale : en_US.cp1252
  Python Version : 2.5.2
  OpenERP-Client Version : 6.0.3
  Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
    File "/usr/local/lib/python2.6/site-packages/openerp-server/netsvc.py", line 489, in dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, params)
    File "/usr/local/lib/python2.6/site-packages/openerp-server/service/web_services.py", line 599, in dispatch
      res = fn(db, uid, *params)
    File "/usr/local/lib/python2.6/site-packages/openerp-server/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/usr/local/lib/python2.6/site-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/site-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/site-packages/openerp-server/addons/base_sale_multichannels/sale.py", line 147, in export_catalog
      self.export_products(cr, uid, shop, context)
    File "/usr/local/lib/python2.6/site-packages/openerp-server/addons/base_sale_multichannels/sale.py", line 138, in export_products
      self.export_products_collection(cr, uid, shop, shop.exportable_product_ids, context)
    File "/usr/local/lib/python2.6/site-packages/openerp-server/addons/base_sale_multichannels/sale.py", line 135, in export_products_collection
      self.pool.get('product.product').ext_export(cr, uid, [product.id for product in shop.exportable_product_ids] , [shop.referential_id.id], {}, context)
    File "/usr/local/lib/python2.6/site-packages/openerp-server/addons/magentoconnect/product.py", line 977, in ext_export
      temp_result = super(magerp_osv.magerp_osv, self).ext_export(cr, uid, [id], external_referential_ids, defaults, context_storeview)
    File "/usr/local/lib/python2.6/site-packages/openerp-server/addons/base_external_referentials/external_osv.py", line 285, in ext_export
      for record_data in self.read_w_order(cr, uid, ids, [], context):
    File "/usr/local/lib/python2.6/site-packages/openerp-server/addons/base_external_referentials/external_osv.py", line 32, in read_w_order
      res = self.read(cr, user, ids, fields_to_read, context, load)
    File "/usr/local/lib/python2.6/site-packages/openerp-server/osv/orm.py", line 2944, in read
      result = self._read_flat(cr, user, select, fields, context, load)
    File "/usr/local/lib/python2.6/site-packages/openerp-server/osv/orm.py", line 3064, in _read_flat
      res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)
    File "/usr/local/lib/python2.6/site-packages/openerp-server/osv/fields.py", line 481, in get
      ids2 = obj.pool.get(self._obj).search(cr, user, self._domain + [(self._fields_id, 'in', ids)], limit=self._limit, context=context)
  AttributeError: 'NoneType' object has no attribute 'search'

  Additionally, products marked NOT for export to Magento are in the
  export list.  When I try to delete them from the update list, the
  icons are greyed out.

  We are using OpenERP 6.0.3 and Magento 1.5..  The GTK is also 6.0.3.

To manage notifications about this bug go to:
https://bugs.launchpad.net/magentoerpconnect/+bug/915071/+subscriptions


References