← Back to team overview

c2c-oerpscenario team mailing list archive

Re: [Bug 713622] Re: Error during database creation v6.0.1/Ubuntu 10.04

 

Hi Azaz and Jonathan,

I knew the file is there since the last bzr pull yesterday. However, the
server looked at

/server/bin/addons/*base_setup*/security/ir.model.access.csv

while the actual location of the file is

server/bin/addons /*base*/security/ir.model.access.csv

will check for the latest branch. HTH

BR MR


On Mon, Feb 7, 2011 at 3:43 PM, Azazahmed Saiyed (OpenERP) <
713622@xxxxxxxxxxxxxxxxxx> wrote:

> Hello Michael,
>
> The traceback suggests that your branch missed some file which is
> ir.model.access.csv in openobject-server/bin/addons /base/security
> directory.
>
> Would you please check the occurrence of this file at your end. If it is
> not available then please go for the latest branch and check it again.
>
> As I did get the same traceback by removing file explicitly from the
> branch. So I am closing this bug for now.
>
> Thanks.
>
> ** Changed in: openobject-server
>       Status: New => Invalid
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/713622
>
> Title:
>  Error during database creation v6.0.1/Ubuntu 10.04
>
> Status in OpenERP Server:
>   Invalid
>
> Bug description:
>  Keep getting this message during new database creation:
>
>  "Error during database creation !
>  The server crashed during installation.
>  We suggest you to drop this database."
>
>  Ubuntu 10.04 LTS - the Lucid Lynx
>  Python 2.6.5
>  Openerp Server v6.0.1 revno 3334
>  Openerp Client v6.0 revno 1804
>  Openerp Web v6.0 revno 4499
>
>  Creating DB using restore was successful
>
>  Below messages from server:
>  [2011-02-01 18:10:15,570][template1] INFO:web-services:CREATE DATABASE:
> test
>  [2011-02-01 18:10:16,991][test] INFO:init:module base: loading objects
>  [2011-02-01 18:10:17,024][test] INFO:init:module base: creating or
> updating database tables
>  [2011-02-01 18:10:19,550][test] INFO:data:Computing parent left and right
> for table res_partner_category...
>  [2011-02-01 18:10:21,033][test] INFO:data:storing computed values of
> fields.function 'global'
>  [2011-02-01 18:10:21,034][test] INFO:data:storing computed values of
> fields.function 'web_icon_data'
>  [2011-02-01 18:10:21,034][test] INFO:data:storing computed values of
> fields.function 'web_icon_hover_data'
>  [2011-02-01 18:10:21,035][test] INFO:data:storing computed values of
> fields.function 'menus_by_module'
>  [2011-02-01 18:10:21,162][test] INFO:data:storing computed values of
> fields.function 'reports_by_module'
>  [2011-02-01 18:10:21,381][test] INFO:data:storing computed values of
> fields.function 'views_by_module'
>  [2011-02-01 18:10:21,518][test] INFO:data:storing computed values of
> fields.function 'report_file'
>  [2011-02-01 18:10:21,522][test] INFO:init:module base: loading
> base_data.xml
>  [2011-02-01 18:10:22,536][test] INFO:init:module base: loading
> security/base_security.xml
>  [2011-02-01 18:10:22,638][test] INFO:init:module base: loading
> base_menu.xml
>  [2011-02-01 18:10:22,761][test] INFO:init:module base: loading
> res/res_security.xml
>  [2011-02-01 18:10:22,807][test] INFO:init:module base: loading
> res/res_config.xml
>  [2011-02-01 18:10:22,853][test] INFO:init:module base: loading
> data/res.country.state.csv
>  [2011-02-01 18:10:23,064][test] INFO:init:module base: loading
> base_update.xml
>  [2011-02-01 18:10:23,200][test] INFO:init:module base: loading
> ir/wizard/wizard_menu_view.xml
>  [2011-02-01 18:10:23,227][test] INFO:init:module base: loading ir/ir.xml
>  [2011-02-01 18:10:24,572][test] INFO:init:module base: loading
> ir/workflow/workflow_view.xml
>  [2011-02-01 18:10:24,855][test] INFO:init:module base: loading
> ir/report/ir_report.xml
>  [2011-02-01 18:10:24,873][test] INFO:init:module base: loading
> module/module_view.xml
>  [2011-02-01 18:10:24,969][test] INFO:init:module base: loading
> module/module_data.xml
>  [2011-02-01 18:10:24,974][test] INFO:init:module base: loading
> module/module_report.xml
>  [2011-02-01 18:10:24,991][test] INFO:init:module base: loading
> module/wizard/base_module_import_view.xml
>  [2011-02-01 18:10:25,028][test] INFO:init:module base: loading
> module/wizard/base_module_update_view.xml
>  [2011-02-01 18:10:25,063][test] INFO:init:module base: loading
> module/wizard/base_language_install_view.xml
>  [2011-02-01 18:10:25,098][test] INFO:init:module base: loading
> module/wizard/base_import_language_view.xml
>  [2011-02-01 18:10:25,133][test] INFO:init:module base: loading
> module/wizard/base_module_upgrade_view.xml
>  [2011-02-01 18:10:25,192][test] INFO:init:module base: loading
> module/wizard/base_module_configuration_view.xml
>  [2011-02-01 18:10:25,230][test] INFO:init:module base: loading
> module/wizard/base_module_shortcut_data.xml
>  [2011-02-01 18:10:25,241][test] INFO:init:module base: loading
> module/wizard/base_export_language_view.xml
>  [2011-02-01 18:10:25,275][test] INFO:init:module base: loading
> module/wizard/base_update_translations_view.xml
>  [2011-02-01 18:10:25,374][test] INFO:init:module base: loading
> res/res_request_view.xml
>  [2011-02-01 18:10:25,566][test] INFO:init:module base: loading
> res/res_lang_view.xml
>  [2011-02-01 18:10:26,032][test] INFO:init:module base: loading
> res/res_log_view.xml
>  [2011-02-01 18:10:26,626][test] INFO:init:module base: loading
> res/partner/partner_report.xml
>  [2011-02-01 18:10:26,663][test] INFO:init:module base: loading
> res/partner/partner_view.xml
>  [2011-02-01 18:10:27,236][test] INFO:init:module base: loading
> res/partner/partner_shortcut_data.xml
>  [2011-02-01 18:10:27,249][test] INFO:init:module base: loading
> res/bank_view.xml
>  [2011-02-01 18:10:27,315][test] INFO:init:module base: loading
> res/country_view.xml
>  [2011-02-01 18:10:27,475][test] INFO:init:module base: loading
> res/res_currency_view.xml
>  [2011-02-01 18:10:27,535][test] INFO:init:module base: loading
> res/partner/crm_view.xml
>  [2011-02-01 18:10:27,628][test] INFO:init:module base: loading
> res/partner/wizard/partner_sms_send_view.xml
>  [2011-02-01 18:10:27,671][test] INFO:init:module base: loading
> res/partner/wizard/partner_wizard_spam_view.xml
>  [2011-02-01 18:10:27,716][test] INFO:init:module base: loading
> res/partner/wizard/partner_clear_ids_view.xml
>  [2011-02-01 18:10:27,751][test] INFO:init:module base: loading
> res/partner/wizard/partner_wizard_ean_check_view.xml
>  [2011-02-01 18:10:27,784][test] INFO:init:module base: loading
> res/partner/partner_data.xml
>  [2011-02-01 18:10:27,843][test] INFO:init:module base: loading
> res/ir_property_view.xml
>  [2011-02-01 18:10:27,931][test] INFO:init:module base: loading
> security/base_security.xml
>  [2011-02-01 18:10:27,989][test] INFO:init:module base: loading
> publisher_warranty/publisher_warranty_view.xml
>  [2011-02-01 18:10:28,098][test] INFO:init:module base: loading
> security/ir.model.access.csv
>  [2011-02-01 18:10:28,786][test] INFO:init:module base: loading
> res/res_widget_view.xml
>  [2011-02-01 18:10:28,900][test] INFO:init:module base: loading
> res/res_widget_data.xml
>  [2011-02-01 18:10:28,928][test] INFO:init:module base: loading
> publisher_warranty/publisher_warranty_data.xml
>  [2011-02-01 18:10:29,406][test] INFO:init:updating modules list
>  [2011-02-01 18:10:29,411][test] INFO:init:module web_livechat: loading
> objects
>  [2011-02-01 18:10:29,413][test] INFO:init:module web_livechat: creating or
> updating database tables
>  [2011-02-01 18:10:29,470][test] INFO:init:module base_setup: loading
> objects
>  [2011-02-01 18:10:29,473][test] INFO:init:module base_setup: creating or
> updating database tables
>  [2011-02-01 18:10:29,583][test] INFO:init:module base_setup: loading
> base_setup_data.xml
>  [2011-02-01 18:10:29,621][test] INFO:init:module base_setup: loading
> security/ir.model.access.csv
>  [2011-02-01 18:10:29,629][test] ERROR:web-services:[01]: CREATE DATABASE
>  [2011-02-01 18:10:29,629][test] ERROR:web-services:[02]: Traceback (most
> recent call last):
>  [2011-02-01 18:10:29,629][test] ERROR:web-services:[03]:   File
> "/mnt/hgfs/dev-trunk/server/bin/service/web_services.py", line 101, in
> __call__
>  [2011-02-01 18:10:29,629][test] ERROR:web-services:[04]:
> update_module=True)[1]
>  [2011-02-01 18:10:29,629][test] ERROR:web-services:[05]:   File
> "/mnt/hgfs/dev-trunk/server/bin/pooler.py", line 60, in restart_pool
>  [2011-02-01 18:10:29,629][test] ERROR:web-services:[06]:     return
> get_db_and_pool(db_name, force_demo, status, update_module=update_module)
>  [2011-02-01 18:10:29,629][test] ERROR:web-services:[07]:   File
> "/mnt/hgfs/dev-trunk/server/bin/pooler.py", line 39, in get_db_and_pool
>  [2011-02-01 18:10:29,630][test] ERROR:web-services:[08]:
> addons.load_modules(db, force_demo, status, update_module)
>  [2011-02-01 18:10:29,630][test] ERROR:web-services:[09]:   File
> "/mnt/hgfs/dev-trunk/server/bin/addons/__init__.py", line 883, in
> load_modules
>  [2011-02-01 18:10:29,630][test] ERROR:web-services:[10]:
> processed_modules.extend(load_module_graph(cr, graph, status, report=report,
> skip_modules=processed_modules))
>  [2011-02-01 18:10:29,630][test] ERROR:web-services:[11]:   File
> "/mnt/hgfs/dev-trunk/server/bin/addons/__init__.py", line 748, in
> load_module_graph
>  [2011-02-01 18:10:29,630][test] ERROR:web-services:[12]:
> load_init_update_xml(cr, m, idref, mode, kind)
>  [2011-02-01 18:10:29,630][test] ERROR:web-services:[13]:   File
> "/mnt/hgfs/dev-trunk/server/bin/addons/__init__.py", line 631, in
> load_init_update_xml
>  [2011-02-01 18:10:29,631][test] ERROR:web-services:[14]:     fp =
> tools.file_open(opj(m, filename))
>  [2011-02-01 18:10:29,631][test] ERROR:web-services:[15]:   File
> "/mnt/hgfs/dev-trunk/server/bin/tools/misc.py", line 275, in file_open
>  [2011-02-01 18:10:29,631][test] ERROR:web-services:[16]:     raise
> IOError, 'File not found : %s' % name
>  [2011-02-01 18:10:29,631][test] ERROR:web-services:[17]: IOError: File not
> found :
> /mnt/hgfs/dev-trunk/server/bin/addons/base_setup/security/ir.model.access.csv
>  [2011-02-01 18:11:08,201][test] INFO:init:module base: loading objects
>  [2011-02-01 18:11:08,269][test] INFO:init:module base: loading objects
>  [2011-02-01 18:11:08,329][test] INFO:init:module web_livechat: loading
> objects
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/openobject-server/+bug/713622/+subscribe
>

-- 
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/713622

Title:
  Error during database creation v6.0.1/Ubuntu 10.04

Status in OpenERP Server:
  Invalid

Bug description:
  Keep getting this message during new database creation:

  "Error during database creation !
  The server crashed during installation.
  We suggest you to drop this database."

  Ubuntu 10.04 LTS - the Lucid Lynx
  Python 2.6.5
  Openerp Server v6.0.1 revno 3334
  Openerp Client v6.0 revno 1804
  Openerp Web v6.0 revno 4499

  Creating DB using restore was successful

  Below messages from server:
  [2011-02-01 18:10:15,570][template1] INFO:web-services:CREATE DATABASE: test
  [2011-02-01 18:10:16,991][test] INFO:init:module base: loading objects
  [2011-02-01 18:10:17,024][test] INFO:init:module base: creating or updating database tables
  [2011-02-01 18:10:19,550][test] INFO:data:Computing parent left and right for table res_partner_category...
  [2011-02-01 18:10:21,033][test] INFO:data:storing computed values of fields.function 'global'
  [2011-02-01 18:10:21,034][test] INFO:data:storing computed values of fields.function 'web_icon_data'
  [2011-02-01 18:10:21,034][test] INFO:data:storing computed values of fields.function 'web_icon_hover_data'
  [2011-02-01 18:10:21,035][test] INFO:data:storing computed values of fields.function 'menus_by_module'
  [2011-02-01 18:10:21,162][test] INFO:data:storing computed values of fields.function 'reports_by_module'
  [2011-02-01 18:10:21,381][test] INFO:data:storing computed values of fields.function 'views_by_module'
  [2011-02-01 18:10:21,518][test] INFO:data:storing computed values of fields.function 'report_file'
  [2011-02-01 18:10:21,522][test] INFO:init:module base: loading base_data.xml
  [2011-02-01 18:10:22,536][test] INFO:init:module base: loading security/base_security.xml
  [2011-02-01 18:10:22,638][test] INFO:init:module base: loading base_menu.xml
  [2011-02-01 18:10:22,761][test] INFO:init:module base: loading res/res_security.xml
  [2011-02-01 18:10:22,807][test] INFO:init:module base: loading res/res_config.xml
  [2011-02-01 18:10:22,853][test] INFO:init:module base: loading data/res.country.state.csv
  [2011-02-01 18:10:23,064][test] INFO:init:module base: loading base_update.xml
  [2011-02-01 18:10:23,200][test] INFO:init:module base: loading ir/wizard/wizard_menu_view.xml
  [2011-02-01 18:10:23,227][test] INFO:init:module base: loading ir/ir.xml
  [2011-02-01 18:10:24,572][test] INFO:init:module base: loading ir/workflow/workflow_view.xml
  [2011-02-01 18:10:24,855][test] INFO:init:module base: loading ir/report/ir_report.xml
  [2011-02-01 18:10:24,873][test] INFO:init:module base: loading module/module_view.xml
  [2011-02-01 18:10:24,969][test] INFO:init:module base: loading module/module_data.xml
  [2011-02-01 18:10:24,974][test] INFO:init:module base: loading module/module_report.xml
  [2011-02-01 18:10:24,991][test] INFO:init:module base: loading module/wizard/base_module_import_view.xml
  [2011-02-01 18:10:25,028][test] INFO:init:module base: loading module/wizard/base_module_update_view.xml
  [2011-02-01 18:10:25,063][test] INFO:init:module base: loading module/wizard/base_language_install_view.xml
  [2011-02-01 18:10:25,098][test] INFO:init:module base: loading module/wizard/base_import_language_view.xml
  [2011-02-01 18:10:25,133][test] INFO:init:module base: loading module/wizard/base_module_upgrade_view.xml
  [2011-02-01 18:10:25,192][test] INFO:init:module base: loading module/wizard/base_module_configuration_view.xml
  [2011-02-01 18:10:25,230][test] INFO:init:module base: loading module/wizard/base_module_shortcut_data.xml
  [2011-02-01 18:10:25,241][test] INFO:init:module base: loading module/wizard/base_export_language_view.xml
  [2011-02-01 18:10:25,275][test] INFO:init:module base: loading module/wizard/base_update_translations_view.xml
  [2011-02-01 18:10:25,374][test] INFO:init:module base: loading res/res_request_view.xml
  [2011-02-01 18:10:25,566][test] INFO:init:module base: loading res/res_lang_view.xml
  [2011-02-01 18:10:26,032][test] INFO:init:module base: loading res/res_log_view.xml
  [2011-02-01 18:10:26,626][test] INFO:init:module base: loading res/partner/partner_report.xml
  [2011-02-01 18:10:26,663][test] INFO:init:module base: loading res/partner/partner_view.xml
  [2011-02-01 18:10:27,236][test] INFO:init:module base: loading res/partner/partner_shortcut_data.xml
  [2011-02-01 18:10:27,249][test] INFO:init:module base: loading res/bank_view.xml
  [2011-02-01 18:10:27,315][test] INFO:init:module base: loading res/country_view.xml
  [2011-02-01 18:10:27,475][test] INFO:init:module base: loading res/res_currency_view.xml
  [2011-02-01 18:10:27,535][test] INFO:init:module base: loading res/partner/crm_view.xml
  [2011-02-01 18:10:27,628][test] INFO:init:module base: loading res/partner/wizard/partner_sms_send_view.xml
  [2011-02-01 18:10:27,671][test] INFO:init:module base: loading res/partner/wizard/partner_wizard_spam_view.xml
  [2011-02-01 18:10:27,716][test] INFO:init:module base: loading res/partner/wizard/partner_clear_ids_view.xml
  [2011-02-01 18:10:27,751][test] INFO:init:module base: loading res/partner/wizard/partner_wizard_ean_check_view.xml
  [2011-02-01 18:10:27,784][test] INFO:init:module base: loading res/partner/partner_data.xml
  [2011-02-01 18:10:27,843][test] INFO:init:module base: loading res/ir_property_view.xml
  [2011-02-01 18:10:27,931][test] INFO:init:module base: loading security/base_security.xml
  [2011-02-01 18:10:27,989][test] INFO:init:module base: loading publisher_warranty/publisher_warranty_view.xml
  [2011-02-01 18:10:28,098][test] INFO:init:module base: loading security/ir.model.access.csv
  [2011-02-01 18:10:28,786][test] INFO:init:module base: loading res/res_widget_view.xml
  [2011-02-01 18:10:28,900][test] INFO:init:module base: loading res/res_widget_data.xml
  [2011-02-01 18:10:28,928][test] INFO:init:module base: loading publisher_warranty/publisher_warranty_data.xml
  [2011-02-01 18:10:29,406][test] INFO:init:updating modules list
  [2011-02-01 18:10:29,411][test] INFO:init:module web_livechat: loading objects
  [2011-02-01 18:10:29,413][test] INFO:init:module web_livechat: creating or updating database tables
  [2011-02-01 18:10:29,470][test] INFO:init:module base_setup: loading objects
  [2011-02-01 18:10:29,473][test] INFO:init:module base_setup: creating or updating database tables
  [2011-02-01 18:10:29,583][test] INFO:init:module base_setup: loading base_setup_data.xml
  [2011-02-01 18:10:29,621][test] INFO:init:module base_setup: loading security/ir.model.access.csv
  [2011-02-01 18:10:29,629][test] ERROR:web-services:[01]: CREATE DATABASE
  [2011-02-01 18:10:29,629][test] ERROR:web-services:[02]: Traceback (most recent call last):
  [2011-02-01 18:10:29,629][test] ERROR:web-services:[03]:   File "/mnt/hgfs/dev-trunk/server/bin/service/web_services.py", line 101, in __call__
  [2011-02-01 18:10:29,629][test] ERROR:web-services:[04]:     update_module=True)[1]
  [2011-02-01 18:10:29,629][test] ERROR:web-services:[05]:   File "/mnt/hgfs/dev-trunk/server/bin/pooler.py", line 60, in restart_pool
  [2011-02-01 18:10:29,629][test] ERROR:web-services:[06]:     return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
  [2011-02-01 18:10:29,629][test] ERROR:web-services:[07]:   File "/mnt/hgfs/dev-trunk/server/bin/pooler.py", line 39, in get_db_and_pool
  [2011-02-01 18:10:29,630][test] ERROR:web-services:[08]:     addons.load_modules(db, force_demo, status, update_module)
  [2011-02-01 18:10:29,630][test] ERROR:web-services:[09]:   File "/mnt/hgfs/dev-trunk/server/bin/addons/__init__.py", line 883, in load_modules
  [2011-02-01 18:10:29,630][test] ERROR:web-services:[10]:     processed_modules.extend(load_module_graph(cr, graph, status, report=report, skip_modules=processed_modules))
  [2011-02-01 18:10:29,630][test] ERROR:web-services:[11]:   File "/mnt/hgfs/dev-trunk/server/bin/addons/__init__.py", line 748, in load_module_graph
  [2011-02-01 18:10:29,630][test] ERROR:web-services:[12]:     load_init_update_xml(cr, m, idref, mode, kind)
  [2011-02-01 18:10:29,630][test] ERROR:web-services:[13]:   File "/mnt/hgfs/dev-trunk/server/bin/addons/__init__.py", line 631, in load_init_update_xml
  [2011-02-01 18:10:29,631][test] ERROR:web-services:[14]:     fp = tools.file_open(opj(m, filename))
  [2011-02-01 18:10:29,631][test] ERROR:web-services:[15]:   File "/mnt/hgfs/dev-trunk/server/bin/tools/misc.py", line 275, in file_open
  [2011-02-01 18:10:29,631][test] ERROR:web-services:[16]:     raise IOError, 'File not found : %s' % name
  [2011-02-01 18:10:29,631][test] ERROR:web-services:[17]: IOError: File not found : /mnt/hgfs/dev-trunk/server/bin/addons/base_setup/security/ir.model.access.csv
  [2011-02-01 18:11:08,201][test] INFO:init:module base: loading objects
  [2011-02-01 18:11:08,269][test] INFO:init:module base: loading objects
  [2011-02-01 18:11:08,329][test] INFO:init:module web_livechat: loading objects





References