Bug: The value "unicode" for the field "external_type" is not in the selection

Bug #891572 reported by Shailendra Khare
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Magento OpenERP Connector
Invalid
Undecided
Unassigned

Bug Description

Hi. I recently installed Openerp and the magento intergration module. I've imported categories, but I can't seem to import products. Here's the log i get.

The value "unicode" for the field "external_type" is not in the selection

Please give me the solution.

Thanks in advance

Environment Information :
System : Windows-Vista-6.1.7600
OS Name : nt
Operating System Release : Vista
Operating System Version : 6.1.7600
Operating System Architecture : 32bit
Operating System Locale : en_US.cp1252
Python Version : 2.5.2
OpenERP-Client Version : 5.0.9
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
  File "netsvc.pyo", line 245, in dispatch
  File "netsvc.pyo", line 74, in __call__
  File "service\web_services.pyo", line 576, in execute
  File "osv\osv.pyo", line 58, in wrapper
  File "osv\osv.pyo", line 119, in execute
  File "osv\osv.pyo", line 111, in execute_cr
  File "C:\Program Files\OpenERP AllInOne\Server\addons\magentoerpconnect_generic\magerp_core.py", line 157, in sync_products
  File "C:\Program Files\OpenERP AllInOne\Server\addons\magentoerpconnect_generic\magerp_osv.py", line 87, in call
  File "C:\Program Files\OpenERP AllInOne\Server\addons\magentoerpconnect_generic\magerp_osv.py", line 60, in try_call
  File "xmlrpclib.pyo", line 1147, in __call__
  File "xmlrpclib.pyo", line 1437, in __request
  File "xmlrpclib.pyo", line 1201, in request
  File "xmlrpclib.pyo", line 1340, in _parse_response
  File "xmlrpclib.pyo", line 785, in close
ResponseError: ResponseError()

I'm using Magento 1.4.0.1 btw. I'm sure that's probably the issue but maybe there's a workaround? thanks in advance.

Revision history for this message
Sébastien BEAU - http://www.akretion.com (sebastien.beau) wrote :

Hi I think you don't use the correct version of extra-addons.
With magento-trunk version you should use the trunk-extra-addons version
here => https://code.launchpad.net/~openerp-commiter/openobject-addons/trunk-extra-addons

In trunk version I replace all mapping with the type "str" by "unicode". If you don't use the correct extra-addons version it will raise this error.

Best regards

Changed in magentoerpconnect:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

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