Odoo Help


Initialize stock from Magento [Closed]

Hans Lindberg
on 3/26/13, 4:20 PM 1,525 views

The Question has been closed for reason: off-topic or not relevant

Fabien Pinckaers (fp)
on 03/26/2013 16:53:53

Client Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/http.py", line 180, in dispatch response["result"] = method(controller, self, *self.params) File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 1052, in call_button action = self.call_common(req, model, method, args, domain_id, context_id) File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 996, in call_common return self._call_kw(req, model, method, args, {}) File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 1010, in _call_kw return getattr(req.session.model(model), method)(args, **kwargs) File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/openerplib/main.py", line 250, in proxy args, kw) File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/openerplib/main.py", line 117, in proxy result = self.connector.send(self.service_name, method, *args) File "/usr/lib/pymodules/python2.7/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 "/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 186, in execute_kw return self.execute(db, uid, obj, method, *args, *kw or {}) File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 129, in wrapper return f(self, dbname, args, *kwargs) File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 195, in execute res = self.execute_cr(cr, uid, obj, method, args, *kw) File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 183, in execute_cr return getattr(object, method)(cr, uid, args, *kw) File "/usr/lib/pymodules/python2.7/openerp/addons/sneldev_magento/wizard/sneldev_magento_stock_init.py", line 42, in do_stock_init if (self.pool.get('sneldev.magento').init_stock(cr, uid) < 0): File "/usr/lib/pymodules/python2.7/openerp/addons/sneldev_magento/sneldev_magento.py", line 699, in init_stock log.print_traceback() File "/usr/lib/pymodules/python2.7/openerp/addons/sneldev_magento/common_tools.py", line 115, in print_traceback traceback.print_exc(file=self._logfile) File "/usr/lib/python2.7/traceback.py", line 232, in print_exc print_exception(etype, value, tb, limit, file) File "/usr/lib/python2.7/traceback.py", line 124, in print_exception _print(file, 'Traceback (most recent call last):') File "/usr/lib/python2.7/traceback.py", line 13, in _print file.write(str+terminator) AttributeError: 'bool' object has no attribute 'write'

bugs should be reported on launchpad, not here, on the openerp-magento project.

Fabien Pinckaers (fp)
on 3/26/13, 4:54 PM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 3/26/13, 4:20 PM
Seen: 1525 times
Last updated: 3/16/15, 8:10 AM