← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 737628] [NEW] [6.0.1] Could not create database using webclient

 

Public bug reported:

In a clean install using OpenERP 6.0.1, PostgreSQL 8.4, Ubuntu 10.04LTS
we are unable to create a new database using the webclient. The message
in the webbrowser says: Unable to create database (or something similar,
dutch translation).


Installed using the following dependancies:

# openerp server dependancies
python-lxml postgresql python-psycopg2 python-pydot python-reportlab python-tz python-matplotlib python-pychart python-hippocanvas python-yaml python-mako graphviz python-imaging python-pyparsing python-webdav python-vobject

# openerp webclient dependancies
python-cherrypy3 python-pybabel python-mako python-simplejson python-formencode python-pyparsing python-tz python-xlwt


Excerpt from the server log file:

[2011-03-18 15:25:33,677][template1] INFO:web-services:CREATE DATABASE: test3
[2011-03-18 15:25:39,622][test3] INFO:init:module base: loading objects
[2011-03-18 15:25:39,654][test3] INFO:init:module base: creating or updating database tables
[2011-03-18 15:26:09,612][test3] INFO:data:Computing parent left and right for table res_partner_category...
[2011-03-18 15:26:27,259][test3] INFO:data:storing computed values of fields.function 'global'
[2011-03-18 15:26:27,264][test3] INFO:data:storing computed values of fields.function 'web_icon_data'
[2011-03-18 15:26:27,265][test3] INFO:data:storing computed values of fields.function 'web_icon_hover_data'
[2011-03-18 15:26:27,265][test3] INFO:data:storing computed values of fields.function 'menus_by_module'
[2011-03-18 15:26:27,405][test3] INFO:data:storing computed values of fields.function 'reports_by_module'
[2011-03-18 15:26:27,542][test3] INFO:data:storing computed values of fields.function 'views_by_module'
[2011-03-18 15:26:27,769][test3] INFO:data:storing computed values of fields.function 'report_file'
[2011-03-18 15:26:27,791][test3] INFO:init:module base: loading base_data.xml
[2011-03-18 15:26:29,158][test3] INFO:init:module base: loading security/base_security.xml
[2011-03-18 15:26:29,356][test3] INFO:init:module base: loading base_menu.xml
[2011-03-18 15:26:29,513][test3] INFO:init:module base: loading res/res_security.xml
[2011-03-18 15:26:29,567][test3] INFO:init:module base: loading res/res_config.xml
[2011-03-18 15:26:29,655][test3] INFO:init:module base: loading data/res.country.state.csv
[2011-03-18 15:26:29,915][test3] INFO:init:module base: loading base_update.xml
[2011-03-18 15:26:31,389][test3] INFO:init:module base: loading ir/wizard/wizard_menu_view.xml
[2011-03-18 15:26:31,417][test3] INFO:init:module base: loading ir/ir.xml
[2011-03-18 15:26:33,130][test3] INFO:init:module base: loading ir/workflow/workflow_view.xml
[2011-03-18 15:26:33,427][test3] INFO:init:module base: loading ir/report/ir_report.xml
[2011-03-18 15:26:33,448][test3] INFO:init:module base: loading module/module_view.xml
[2011-03-18 15:26:33,562][test3] INFO:init:module base: loading module/module_data.xml
[2011-03-18 15:26:33,566][test3] INFO:init:module base: loading module/module_report.xml
[2011-03-18 15:26:33,582][test3] INFO:init:module base: loading module/wizard/base_module_import_view.xml
[2011-03-18 15:26:33,617][test3] INFO:init:module base: loading module/wizard/base_module_update_view.xml
[2011-03-18 15:26:33,649][test3] INFO:init:module base: loading module/wizard/base_language_install_view.xml
[2011-03-18 15:26:33,704][test3] INFO:init:module base: loading module/wizard/base_import_language_view.xml
[2011-03-18 15:26:33,738][test3] INFO:init:module base: loading module/wizard/base_module_upgrade_view.xml
[2011-03-18 15:26:33,795][test3] INFO:init:module base: loading module/wizard/base_module_configuration_view.xml
[2011-03-18 15:26:33,834][test3] INFO:init:module base: loading module/wizard/base_module_shortcut_data.xml
[2011-03-18 15:26:33,905][test3] INFO:init:module base: loading module/wizard/base_export_language_view.xml
[2011-03-18 15:26:33,943][test3] INFO:init:module base: loading module/wizard/base_update_translations_view.xml
[2011-03-18 15:26:33,974][test3] INFO:init:module base: loading res/res_request_view.xml
[2011-03-18 15:26:34,148][test3] INFO:init:module base: loading res/res_lang_view.xml
[2011-03-18 15:26:34,208][test3] INFO:init:module base: loading res/res_log_view.xml
[2011-03-18 15:26:34,281][test3] INFO:init:module base: loading res/partner/partner_report.xml
[2011-03-18 15:26:34,307][test3] INFO:init:module base: loading res/partner/partner_view.xml
[2011-03-18 15:26:34,802][test3] INFO:init:module base: loading res/partner/partner_shortcut_data.xml
[2011-03-18 15:26:34,811][test3] INFO:init:module base: loading res/bank_view.xml
[2011-03-18 15:26:34,855][test3] INFO:init:module base: loading res/country_view.xml
[2011-03-18 15:26:34,965][test3] INFO:init:module base: loading res/res_currency_view.xml
[2011-03-18 15:26:35,052][test3] INFO:init:module base: loading res/partner/crm_view.xml
[2011-03-18 15:26:35,152][test3] INFO:init:module base: loading res/partner/wizard/partner_sms_send_view.xml
[2011-03-18 15:26:35,193][test3] INFO:init:module base: loading res/partner/wizard/partner_wizard_spam_view.xml
[2011-03-18 15:26:35,235][test3] INFO:init:module base: loading res/partner/wizard/partner_clear_ids_view.xml
[2011-03-18 15:26:35,373][test3] INFO:init:module base: loading res/partner/wizard/partner_wizard_ean_check_view.xml
[2011-03-18 15:26:35,505][test3] INFO:init:module base: loading res/partner/partner_data.xml
[2011-03-18 15:26:35,572][test3] INFO:init:module base: loading res/ir_property_view.xml
[2011-03-18 15:26:36,000][test3] INFO:init:module base: loading security/base_security.xml
[2011-03-18 15:26:36,093][test3] INFO:init:module base: loading publisher_warranty/publisher_warranty_view.xml
[2011-03-18 15:26:36,208][test3] INFO:init:module base: loading security/ir.model.access.csv
[2011-03-18 15:26:36,996][test3] INFO:init:module base: loading res/res_widget_view.xml
[2011-03-18 15:26:37,176][test3] INFO:init:module base: loading res/res_widget_data.xml
[2011-03-18 15:26:37,206][test3] INFO:init:module base: loading publisher_warranty/publisher_warranty_data.xml
[2011-03-18 15:26:37,236][test3] INFO:init:module base: loading base_demo.xml
[2011-03-18 15:26:37,279][test3] INFO:init:module base: loading res/partner/partner_demo.xml
[2011-03-18 15:26:37,954][test3] INFO:init:module base: loading res/partner/crm_demo.xml
[2011-03-18 15:26:37,968][test3] INFO:init:module base: loading res/res_widget_demo.xml
[2011-03-18 15:26:37,998][test3] INFO:init:module base: loading test/base_test.xml
[2011-03-18 15:26:38,009][test3] INFO:init:module base: loading test/base_test.yml
[2011-03-18 15:26:38,023][test3] INFO:init:module base: loading test/test_context.xml
[2011-03-18 15:26:38,031][test3] INFO:init:module base: loading test/bug_lp541545.xml
[2011-03-18 15:26:38,036][test3] INFO:init:module base: loading test/test_osv_expression.yml
[2011-03-18 15:26:38,858][test3] ERROR:web-services:[01]: CREATE DATABASE
[2011-03-18 15:26:38,858][test3] ERROR:web-services:[02]: Traceback (most recent call last):
[2011-03-18 15:26:38,859][test3] ERROR:web-services:[03]:   File "/home/openerp/openerp-server-6.0.0/bin/service/web_services.py", line 101, in __call__
[2011-03-18 15:26:38,859][test3] ERROR:web-services:[04]:     update_module=True)[1]
[2011-03-18 15:26:38,859][test3] ERROR:web-services:[05]:   File "/home/openerp/openerp-server-6.0.0/bin/pooler.py", line 60, in restart_pool
[2011-03-18 15:26:38,859][test3] ERROR:web-services:[06]:     return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
[2011-03-18 15:26:38,859][test3] ERROR:web-services:[07]:   File "/home/openerp/openerp-server-6.0.0/bin/pooler.py", line 39, in get_db_and_pool
[2011-03-18 15:26:38,859][test3] ERROR:web-services:[08]:     addons.load_modules(db, force_demo, status, update_module)
[2011-03-18 15:26:38,859][test3] ERROR:web-services:[09]:   File "/home/openerp/openerp-server-6.0.0/bin/addons/__init__.py", line 833, in load_modules
[2011-03-18 15:26:38,859][test3] ERROR:web-services:[10]:     processed_modules.extend(load_module_graph(cr, graph, status, perform_checks=(not update_module), report=report))
[2011-03-18 15:26:38,859][test3] ERROR:web-services:[11]:   File "/home/openerp/openerp-server-6.0.0/bin/addons/__init__.py", line 772, in load_module_graph
[2011-03-18 15:26:38,860][test3] ERROR:web-services:[12]:     modobj.update_translations(cr, 1, [mid], None)
[2011-03-18 15:26:38,865][test3] ERROR:web-services:[13]:   File "/home/openerp/openerp-server-6.0.0/bin/addons/base/module/module.py", line 521, in update_translations
[2011-03-18 15:26:38,865][test3] ERROR:web-services:[14]:     tools.trans_update_res_ids(cr)
[2011-03-18 15:26:38,866][test3] ERROR:web-services:[15]: AttributeError: 'module' object has no attribute 'trans_update_res_ids'
[2011-03-18 15:26:39,230][template1] ERROR:db.cursor:Programming error: database "test3" already exists
, in query CREATE DATABASE "test3" ENCODING 'unicode' TEMPLATE "template0" 
[2011-03-18 15:27:16,703][test3] INFO:init:module base: loading objects

** Affects: openobject-server
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/737628

Title:
  [6.0.1] Could not create database using webclient

Status in OpenERP Server:
  New

Bug description:
  In a clean install using OpenERP 6.0.1, PostgreSQL 8.4, Ubuntu
  10.04LTS we are unable to create a new database using the webclient.
  The message in the webbrowser says: Unable to create database (or
  something similar, dutch translation).

  
  Installed using the following dependancies:

  # openerp server dependancies
  python-lxml postgresql python-psycopg2 python-pydot python-reportlab python-tz python-matplotlib python-pychart python-hippocanvas python-yaml python-mako graphviz python-imaging python-pyparsing python-webdav python-vobject

  # openerp webclient dependancies
  python-cherrypy3 python-pybabel python-mako python-simplejson python-formencode python-pyparsing python-tz python-xlwt

  
  Excerpt from the server log file:

  [2011-03-18 15:25:33,677][template1] INFO:web-services:CREATE DATABASE: test3
  [2011-03-18 15:25:39,622][test3] INFO:init:module base: loading objects
  [2011-03-18 15:25:39,654][test3] INFO:init:module base: creating or updating database tables
  [2011-03-18 15:26:09,612][test3] INFO:data:Computing parent left and right for table res_partner_category...
  [2011-03-18 15:26:27,259][test3] INFO:data:storing computed values of fields.function 'global'
  [2011-03-18 15:26:27,264][test3] INFO:data:storing computed values of fields.function 'web_icon_data'
  [2011-03-18 15:26:27,265][test3] INFO:data:storing computed values of fields.function 'web_icon_hover_data'
  [2011-03-18 15:26:27,265][test3] INFO:data:storing computed values of fields.function 'menus_by_module'
  [2011-03-18 15:26:27,405][test3] INFO:data:storing computed values of fields.function 'reports_by_module'
  [2011-03-18 15:26:27,542][test3] INFO:data:storing computed values of fields.function 'views_by_module'
  [2011-03-18 15:26:27,769][test3] INFO:data:storing computed values of fields.function 'report_file'
  [2011-03-18 15:26:27,791][test3] INFO:init:module base: loading base_data.xml
  [2011-03-18 15:26:29,158][test3] INFO:init:module base: loading security/base_security.xml
  [2011-03-18 15:26:29,356][test3] INFO:init:module base: loading base_menu.xml
  [2011-03-18 15:26:29,513][test3] INFO:init:module base: loading res/res_security.xml
  [2011-03-18 15:26:29,567][test3] INFO:init:module base: loading res/res_config.xml
  [2011-03-18 15:26:29,655][test3] INFO:init:module base: loading data/res.country.state.csv
  [2011-03-18 15:26:29,915][test3] INFO:init:module base: loading base_update.xml
  [2011-03-18 15:26:31,389][test3] INFO:init:module base: loading ir/wizard/wizard_menu_view.xml
  [2011-03-18 15:26:31,417][test3] INFO:init:module base: loading ir/ir.xml
  [2011-03-18 15:26:33,130][test3] INFO:init:module base: loading ir/workflow/workflow_view.xml
  [2011-03-18 15:26:33,427][test3] INFO:init:module base: loading ir/report/ir_report.xml
  [2011-03-18 15:26:33,448][test3] INFO:init:module base: loading module/module_view.xml
  [2011-03-18 15:26:33,562][test3] INFO:init:module base: loading module/module_data.xml
  [2011-03-18 15:26:33,566][test3] INFO:init:module base: loading module/module_report.xml
  [2011-03-18 15:26:33,582][test3] INFO:init:module base: loading module/wizard/base_module_import_view.xml
  [2011-03-18 15:26:33,617][test3] INFO:init:module base: loading module/wizard/base_module_update_view.xml
  [2011-03-18 15:26:33,649][test3] INFO:init:module base: loading module/wizard/base_language_install_view.xml
  [2011-03-18 15:26:33,704][test3] INFO:init:module base: loading module/wizard/base_import_language_view.xml
  [2011-03-18 15:26:33,738][test3] INFO:init:module base: loading module/wizard/base_module_upgrade_view.xml
  [2011-03-18 15:26:33,795][test3] INFO:init:module base: loading module/wizard/base_module_configuration_view.xml
  [2011-03-18 15:26:33,834][test3] INFO:init:module base: loading module/wizard/base_module_shortcut_data.xml
  [2011-03-18 15:26:33,905][test3] INFO:init:module base: loading module/wizard/base_export_language_view.xml
  [2011-03-18 15:26:33,943][test3] INFO:init:module base: loading module/wizard/base_update_translations_view.xml
  [2011-03-18 15:26:33,974][test3] INFO:init:module base: loading res/res_request_view.xml
  [2011-03-18 15:26:34,148][test3] INFO:init:module base: loading res/res_lang_view.xml
  [2011-03-18 15:26:34,208][test3] INFO:init:module base: loading res/res_log_view.xml
  [2011-03-18 15:26:34,281][test3] INFO:init:module base: loading res/partner/partner_report.xml
  [2011-03-18 15:26:34,307][test3] INFO:init:module base: loading res/partner/partner_view.xml
  [2011-03-18 15:26:34,802][test3] INFO:init:module base: loading res/partner/partner_shortcut_data.xml
  [2011-03-18 15:26:34,811][test3] INFO:init:module base: loading res/bank_view.xml
  [2011-03-18 15:26:34,855][test3] INFO:init:module base: loading res/country_view.xml
  [2011-03-18 15:26:34,965][test3] INFO:init:module base: loading res/res_currency_view.xml
  [2011-03-18 15:26:35,052][test3] INFO:init:module base: loading res/partner/crm_view.xml
  [2011-03-18 15:26:35,152][test3] INFO:init:module base: loading res/partner/wizard/partner_sms_send_view.xml
  [2011-03-18 15:26:35,193][test3] INFO:init:module base: loading res/partner/wizard/partner_wizard_spam_view.xml
  [2011-03-18 15:26:35,235][test3] INFO:init:module base: loading res/partner/wizard/partner_clear_ids_view.xml
  [2011-03-18 15:26:35,373][test3] INFO:init:module base: loading res/partner/wizard/partner_wizard_ean_check_view.xml
  [2011-03-18 15:26:35,505][test3] INFO:init:module base: loading res/partner/partner_data.xml
  [2011-03-18 15:26:35,572][test3] INFO:init:module base: loading res/ir_property_view.xml
  [2011-03-18 15:26:36,000][test3] INFO:init:module base: loading security/base_security.xml
  [2011-03-18 15:26:36,093][test3] INFO:init:module base: loading publisher_warranty/publisher_warranty_view.xml
  [2011-03-18 15:26:36,208][test3] INFO:init:module base: loading security/ir.model.access.csv
  [2011-03-18 15:26:36,996][test3] INFO:init:module base: loading res/res_widget_view.xml
  [2011-03-18 15:26:37,176][test3] INFO:init:module base: loading res/res_widget_data.xml
  [2011-03-18 15:26:37,206][test3] INFO:init:module base: loading publisher_warranty/publisher_warranty_data.xml
  [2011-03-18 15:26:37,236][test3] INFO:init:module base: loading base_demo.xml
  [2011-03-18 15:26:37,279][test3] INFO:init:module base: loading res/partner/partner_demo.xml
  [2011-03-18 15:26:37,954][test3] INFO:init:module base: loading res/partner/crm_demo.xml
  [2011-03-18 15:26:37,968][test3] INFO:init:module base: loading res/res_widget_demo.xml
  [2011-03-18 15:26:37,998][test3] INFO:init:module base: loading test/base_test.xml
  [2011-03-18 15:26:38,009][test3] INFO:init:module base: loading test/base_test.yml
  [2011-03-18 15:26:38,023][test3] INFO:init:module base: loading test/test_context.xml
  [2011-03-18 15:26:38,031][test3] INFO:init:module base: loading test/bug_lp541545.xml
  [2011-03-18 15:26:38,036][test3] INFO:init:module base: loading test/test_osv_expression.yml
  [2011-03-18 15:26:38,858][test3] ERROR:web-services:[01]: CREATE DATABASE
  [2011-03-18 15:26:38,858][test3] ERROR:web-services:[02]: Traceback (most recent call last):
  [2011-03-18 15:26:38,859][test3] ERROR:web-services:[03]:   File "/home/openerp/openerp-server-6.0.0/bin/service/web_services.py", line 101, in __call__
  [2011-03-18 15:26:38,859][test3] ERROR:web-services:[04]:     update_module=True)[1]
  [2011-03-18 15:26:38,859][test3] ERROR:web-services:[05]:   File "/home/openerp/openerp-server-6.0.0/bin/pooler.py", line 60, in restart_pool
  [2011-03-18 15:26:38,859][test3] ERROR:web-services:[06]:     return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
  [2011-03-18 15:26:38,859][test3] ERROR:web-services:[07]:   File "/home/openerp/openerp-server-6.0.0/bin/pooler.py", line 39, in get_db_and_pool
  [2011-03-18 15:26:38,859][test3] ERROR:web-services:[08]:     addons.load_modules(db, force_demo, status, update_module)
  [2011-03-18 15:26:38,859][test3] ERROR:web-services:[09]:   File "/home/openerp/openerp-server-6.0.0/bin/addons/__init__.py", line 833, in load_modules
  [2011-03-18 15:26:38,859][test3] ERROR:web-services:[10]:     processed_modules.extend(load_module_graph(cr, graph, status, perform_checks=(not update_module), report=report))
  [2011-03-18 15:26:38,859][test3] ERROR:web-services:[11]:   File "/home/openerp/openerp-server-6.0.0/bin/addons/__init__.py", line 772, in load_module_graph
  [2011-03-18 15:26:38,860][test3] ERROR:web-services:[12]:     modobj.update_translations(cr, 1, [mid], None)
  [2011-03-18 15:26:38,865][test3] ERROR:web-services:[13]:   File "/home/openerp/openerp-server-6.0.0/bin/addons/base/module/module.py", line 521, in update_translations
  [2011-03-18 15:26:38,865][test3] ERROR:web-services:[14]:     tools.trans_update_res_ids(cr)
  [2011-03-18 15:26:38,866][test3] ERROR:web-services:[15]: AttributeError: 'module' object has no attribute 'trans_update_res_ids'
  [2011-03-18 15:26:39,230][template1] ERROR:db.cursor:Programming error: database "test3" already exists
  , in query CREATE DATABASE "test3" ENCODING 'unicode' TEMPLATE "template0" 
  [2011-03-18 15:27:16,703][test3] INFO:init:module base: loading objects



Follow ups

References