[6.1] Cannot install prestashoperpconnect on OpenERP v6.1

Bug #1060065 reported by Damián Soriano
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Prestashop OpenERP Connector
Fix Committed
Undecided
Unassigned

Bug Description

I have OpenERP v6.1 (more precisely OpenERP Server 6.1-20120930-233203) with Postgresql 9.1 on Ubuntu 12.04.

All the dependencies are installed correctly in a fresh database but when trying to install prestashoperpconnect I have the following error (The problem is that there is a missing comma in the file settings/1.5.0.0/product.product/external.mappinglines.template.csv at line 8, if u add a comma then the problem is solved):

2012-10-02 08:19:33,644 4483 INFO prestashop01 openerp.modules.loading: module prestashoperpconnect: loading settings/1.5.0.0/product.product/external.mappinglines.template.csv
2012-10-02 08:19:33,718 4483 ERROR prestashop01 openerp.osv.osv: Uncaught exception
Traceback (most recent call last):
  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/module/wizard/base_module_upgrade.py", line 101, in upgrade_module
    _db, pool = pooler.restart_pool(cr.dbname, update_module=True)
  File "/usr/lib/pymodules/python2.7/openerp/pooler.py", line 39, in restart_pool
    registry = RegistryManager.new(db_name, force_demo, status, update_module, True)
  File "/usr/lib/pymodules/python2.7/openerp/modules/registry.py", line 202, in new
    openerp.modules.load_modules(registry.db, force_demo, status, update_module)
  File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 338, in load_modules
    processed = load_marked_modules(cr, graph, states_to_load, force, status, report, loaded_modules)
  File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 253, in load_marked_modules
    loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules)
  File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 192, in load_module_graph
    load_update_xml(module_name, idref, mode)
  File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 90, in <lambda>
    load_update_xml = lambda *args: _load_data(cr, *args, kind='update_xml')
  File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 132, in _load_data
    tools.convert_csv_import(cr, module_name, pathname, fp.read(), idref, mode, noupdate)
  File "/usr/lib/pymodules/python2.7/openerp/tools/convert.py", line 970, in convert_csv_import
    result, rows, warning_msg, dummy = pool.get(model).import_data(cr, uid, fields, datas,mode, module, noupdate, filename=fname_partial)
  File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 1412, in import_data
    process_liness(self, datas, [], current_module, self._name, fields_def, position=position)
  File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 1304, in process_liness
    (len(fields), position+2, len(line)))
Exception: Please check that all your lines have 14 columns.Stopped around line 8 having 13 columns.
2012-10-02 08:19:33,833 4483 ERROR prestashop01 openerp.netsvc: Please check that all your lines have 14 columns.Stopped around line 8 having 13 columns.

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

I got the same issue on ArchLinux and have no idea to solve it.

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

succeed to solve with your solution (adding a comma)

Revision history for this message
Alexis de Lattre (alexis-via) wrote :

This bug has been fixed in revno 114.

Changed in prestashoperpconnect:
status: New → Fix Committed
summary: - Cannot install prestashoperpconnect on OpenERP v6.1
+ [6.1] Cannot install prestashoperpconnect on OpenERP v6.1
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.