[6.1] Crash on import orders NoneType external_osv.py

Bug #1055702 reported by Sami
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Prestashop OpenERP Connector
New
Undecided
Unassigned

Bug Description

Pretashop 5.0.17

Everything on the Prestashop Instances page works, but going to the Prestashops Shops page, I can not import anything as it ends up in a crash. Thoughts?

Stack trace:
Server Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/http.py", line 593, in send
    return openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/usr/lib/pymodules/python2.7/openerp/netsvc.py", line 360, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 586, in dispatch
    res = fn(db, uid, *params)
  File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 167, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 121, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 164, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/usr/lib/pymodules/python2.7/openerp/addons/base_sale_multichannels/sale.py", line 315, in import_orders
    self.import_resources(cr, uid, ids, 'sale.order', context=context)
  File "/usr/lib/pymodules/python2.7/openerp/addons/base_external_referentials/external_osv.py", line 554, in import_resources
    external_session = ExternalSession(browse_record.referential_id, browse_record)
  File "/usr/lib/pymodules/python2.7/openerp/addons/base_external_referentials/external_osv.py", line 118, in __init__
    self.connection = referential.external_connection(debug=self.debug, logger = self.logger)
TypeError: 'NoneType' object is not callable

Revision history for this message
Caner Candan (canercandan) wrote :

Hi there, I get the same issue:


TypeError: 'NoneType' object is not callable
Oct 15 20:48:33 test OpenERP Server 6.1-1:?:ERROR:openerp.netsvc:'NoneType' object is not callable

summary: - Crash on import orders NoneType external_osv.py
+ [6.1] Crash on import orders NoneType external_osv.py
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.