Magentopenerpconnect Wizzard setup error C2C Optimized

Bug #675013 reported by ag2888
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Magento OpenERP Connector
Won't Fix
Undecided
Unassigned

Bug Description

Hello,

Fresh install (13/11/2010) when we process to wizard this optimized module lp:~jgrandguillaume-c2c/magentoerpconnect/magentoerpconnect_optimized :

[2010-11-13 22:32:24,925][test] INFO:init:module base: loading objects
[2010-11-13 22:32:25,000][test] INFO:init:updating modules list
[2010-11-13 22:32:25,013][test] INFO:init:module base: loading objects
[2010-11-13 22:32:25,085][test] INFO:init:module process: loading objects
[2010-11-13 22:32:25,089][test] INFO:init:module base_setup: loading objects
[2010-11-13 22:32:25,092][test] INFO:init:module board: loading objects
[2010-11-13 22:32:25,097][test] INFO:init:module base_external_referentials: loading objects
[2010-11-13 22:32:25,105][test] INFO:init:module decimal_precision: loading objects
[2010-11-13 22:32:25,107][test] INFO:init:module analytic: loading objects
[2010-11-13 22:32:25,109][test] INFO:init:module product: loading objects
[2010-11-13 22:32:25,126][test] INFO:init:module product_images_olbs: loading objects
[2010-11-13 22:32:25,128][test] INFO:init:module account: loading objects
[2010-11-13 22:32:25,205][test] INFO:init:module product_m2mcategories: loading objects
[2010-11-13 22:32:25,207][test] INFO:init:module account_voucher: loading objects
[2010-11-13 22:32:25,216][test] INFO:init:module account_chart: loading objects
[2010-11-13 22:32:25,216][test] INFO:init:module stock: loading objects
[2010-11-13 22:32:25,245][test] INFO:init:module base_vat: loading objects
[2010-11-13 22:32:25,247][test] INFO:init:module procurement: loading objects
[2010-11-13 22:32:25,257][test] INFO:init:module l10n_fr: loading objects
[2010-11-13 22:32:25,260][test] INFO:init:module purchase: loading objects
[2010-11-13 22:32:25,272][test] INFO:init:module sale: loading objects
[2010-11-13 22:32:25,284][test] INFO:init:module delivery: loading objects
[2010-11-13 22:32:25,293][test] INFO:init:module base_sale_multichannels: loading objects
[2010-11-13 22:32:25,302][test] INFO:init:module magento: loading objects
[2010-11-13 22:32:25,315][test] ERROR:web-services:Uncaught exception
Traceback (most recent call last):
  File "/opt/openerp/server/bin/osv/osv.py", line 57, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/opt/openerp/server/bin/osv/osv.py", line 140, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/opt/openerp/server/bin/osv/osv.py", line 130, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/opt/openerp/server/bin/addons/base/module/wizard/base_module_upgrade.py", line 99, in upgrade_module
    _, pool = pooler.restart_pool(cr.dbname, update_module=True)
  File "/opt/openerp/server/bin/pooler.py", line 60, in restart_pool
    return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
  File "/opt/openerp/server/bin/pooler.py", line 39, in get_db_and_pool
    addons.load_modules(db, force_demo, status, update_module)
  File "/opt/openerp/server/bin/addons/__init__.py", line 853, in load_modules
    r = load_module_graph(cr, graph, status, report=report)
  File "/opt/openerp/server/bin/addons/__init__.py", line 699, in load_module_graph
    modules = pool.instanciate(package.name, cr)
  File "/opt/openerp/server/bin/osv/osv.py", line 194, in instanciate
    res.append(klass.createInstance(self, module, cr))
  File "/opt/openerp/server/bin/osv/osv.py", line 267, in createInstance
    assert pool.get(parent_name), "parent class %s does not exist in module %s !" % (parent_name, module)
AssertionError: parent class mrp.bom does not exist in module magento !
[2010-11-13 22:32:25,396][test] INFO:init:module base: loading objects
[2010-11-13 22:32:25,477][test] INFO:init:module base: loading objects
[2010-11-13 22:32:25,548][test] INFO:init:module base_setup: loading objects
[2010-11-13 22:32:25,550][test] INFO:init:module process: loading objects
[2010-11-13 22:32:25,555][test] INFO:init:module board: loading objects
[2010-11-13 22:32:25,560][test] INFO:init:module base_external_referentials: loading objects
[2010-11-13 22:32:25,568][test] INFO:init:module decimal_precision: loading objects
[2010-11-13 22:32:25,569][test] INFO:init:module product: loading objects
[2010-11-13 22:32:25,585][test] INFO:init:module analytic: loading objects
[2010-11-13 22:32:25,588][test] INFO:init:module product_m2mcategories: loading objects
[2010-11-13 22:32:25,590][test] INFO:init:module account: loading objects
[2010-11-13 22:32:25,666][test] INFO:init:module product_images_olbs: loading objects
[2010-11-13 22:32:25,668][test] INFO:init:module base_vat: loading objects
[2010-11-13 22:32:25,670][test] INFO:init:module account_voucher: loading objects
[2010-11-13 22:32:25,678][test] INFO:init:module account_chart: loading objects
[2010-11-13 22:32:25,679][test] INFO:init:module stock: loading objects
[2010-11-13 22:32:25,707][test] INFO:init:module procurement: loading objects
[2010-11-13 22:32:25,718][test] INFO:init:module l10n_fr: loading objects
[2010-11-13 22:32:25,721][test] INFO:init:module purchase: loading objects
[2010-11-13 22:32:25,732][test] INFO:init:module sale: loading objects
[2010-11-13 22:32:25,744][test] INFO:init:module delivery: loading objects
[2010-11-13 22:32:25,754][test] INFO:init:module base_sale_multichannels: loading objects
[2010-11-13 22:32:25,769][test] INFO:init:module base_external_referentials: no quality certificate
[2010-11-13 22:32:25,770][test] INFO:init:module decimal_precision: no quality certificate
[2010-11-13 22:32:25,773][test] INFO:init:module analytic: no quality certificate
[2010-11-13 22:32:25,774][test] INFO:init:module product_m2mcategories: no quality certificate
[2010-11-13 22:32:25,777][test] INFO:init:module product_images_olbs: no quality certificate
[2010-11-13 22:32:25,783][test] INFO:init:module procurement: no quality certificate
[2010-11-13 22:32:25,789][test] INFO:init:module base_sale_multichannels: no quality certificate

GTK Error :

Environment Information :
System : Windows-32bit
OS Name : nt
Operating System Release :
Operating System Version : 32bit
Operating System Architecture : 32bit
Operating System Locale : fr_FR.cp1252
Python Version : 2.5.2
OpenERP-Client Version : 6.0.0-rc1-1
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
  File "/opt/openerp/server/bin/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/opt/openerp/server/bin/service/web_services.py", line 586, in dispatch
    res = fn(db, uid, *params)
  File "/opt/openerp/server/bin/osv/osv.py", line 57, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/opt/openerp/server/bin/osv/osv.py", line 140, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/opt/openerp/server/bin/osv/osv.py", line 130, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/opt/openerp/server/bin/addons/base/module/wizard/base_module_upgrade.py", line 99, in upgrade_module
    _, pool = pooler.restart_pool(cr.dbname, update_module=True)
  File "/opt/openerp/server/bin/pooler.py", line 60, in restart_pool
    return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
  File "/opt/openerp/server/bin/pooler.py", line 39, in get_db_and_pool
    addons.load_modules(db, force_demo, status, update_module)
  File "/opt/openerp/server/bin/addons/__init__.py", line 853, in load_modules
    r = load_module_graph(cr, graph, status, report=report)
  File "/opt/openerp/server/bin/addons/__init__.py", line 699, in load_module_graph
    modules = pool.instanciate(package.name, cr)
  File "/opt/openerp/server/bin/osv/osv.py", line 194, in instanciate
    res.append(klass.createInstance(self, module, cr))
  File "/opt/openerp/server/bin/osv/osv.py", line 267, in createInstance
    assert pool.get(parent_name), "parent class %s does not exist in module %s !" % (parent_name, module)
AssertionError: parent class mrp.bom does not exist in module magento !

Sincerely

summary: - Wizzard setup error C2C Optimized
+ Magentopenerpconnect Wizzard setup error C2C Optimized
description: updated
Revision history for this message
Sharoon Thomas http://openlabs.co.in (sharoonthomas) wrote :

You have branched from a different location.

Make sure that the module name is magentoerpconnect itself

The name of the module is that of the folder of the module code.

Revision history for this message
ag2888 (q-contact-gdaudit-com) wrote :

Yes Sharoon, we have test with the optimized branch (https://bugs.launchpad.net/magentoerpconnect/+bug/648667)

Sincerely

Revision history for this message
Joël Grand-Guillaume @ camptocamp (jgrandguillaume-c2c) wrote :

Hi,

Could you confirm that everything is in order when renaming the module correctly ?

Thanks for reporting,

Joël

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

I close the bug because we don't need anymore this wizard. Indeed on trunk version magento field are store in a sparse field, so no more speed problem

Changed in magentoerpconnect:
status: New → Won't Fix
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.