Error in base_setup while creating a new database
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Fix Released
|
Undecided
|
Stephane Wirtel (OpenERP) |
Bug Description
revno: 1426
branch nick: server
timestamp: Thu 2008-12-18 11:20:03 +0100
Python2.4 on Debian Etch
Reproduction:
Create a new database, fill your company details and in next screen choose profile "Service Profile"
With module "module account_
The final error In short: File "/openerp/
tracelog:
*******
*******
[Thu Dec 18 14:27:41 2008] INFO:init:module hr_timesheet_sheet: loading hr_timesheet_
[Thu Dec 18 14:27:41 2008] INFO:init:module account_
[Thu Dec 18 14:27:41 2008] INFO:init:module account_
[Thu Dec 18 14:27:41 2008] INFO:init:module account_
[Thu Dec 18 14:27:41 2008] ERROR:web-
[Thu Dec 18 14:27:41 2008] ERROR:web-
[Thu Dec 18 14:27:41 2008] ERROR:web-
[Thu Dec 18 14:27:41 2008] ERROR:web-
[Thu Dec 18 14:27:41 2008] ERROR:web-
[Thu Dec 18 14:27:41 2008] ERROR:web-
[Thu Dec 18 14:27:41 2008] ERROR:web-
[Thu Dec 18 14:27:41 2008] ERROR:web-
[Thu Dec 18 14:27:41 2008] ERROR:web-
[Thu Dec 18 14:27:41 2008] ERROR:web-
[Thu Dec 18 14:27:41 2008] ERROR:web-
[Thu Dec 18 14:27:41 2008] ERROR:web-
[Thu Dec 18 14:27:41 2008] ERROR:web-
[Thu Dec 18 14:27:41 2008] ERROR:web-
[Thu Dec 18 14:27:41 2008] ERROR:web-
[Thu Dec 18 14:27:41 2008] ERROR:web-
[Thu Dec 18 14:27:41 2008] ERROR:web-
[Thu Dec 18 14:27:41 2008] ERROR:web-
[Thu Dec 18 14:27:41 2008] ERROR:web-
[Thu Dec 18 14:27:41 2008] ERROR:web-
[Thu Dec 18 14:27:41 2008] ERROR:web-
[Thu Dec 18 14:27:41 2008] ERROR:web-
Changed in openobject-server: | |
assignee: | nobody → matrixise |
Changed in openobject-server: | |
status: | New → Fix Released |
provided Solution is creating a new error in CRM module! ...
revno: 2044
branch nick: addons
timestamp: Thu 2008-12-18 15:02:48 +0100
revno: 1427
branch nick: server
timestamp: Thu 2008-12-18 15:02:32 +0100
NameError: global name 'drop_view_ if_exists' is not defined
Reproduction:
Create a new company database, after filling in the company data you can choose the company profile.
Choose for the "Service Profile"
Hereafter you must choose the specific modules to install. Check all modules. (specially the CRM ones)
The installer stops with a FATAL ERROR and the database is not populated correct.
Trace log: services: [01]: Traceback (most recent call last): services: [02]: File "/openerp/ server/ bin/osv/ osv.py" , line 85, in execute_cr services: [03]: return getattr(object, method)(cr, uid, *args, **kw) services: [04]: File "/openerp/ addons/ profile_ service/ profile_ service. py", line 67, in action_install services: [05]: db, pool = pooler. restart_ pool(cr. dbname, update_module=True) services: [06]: File "/openerp/ server/ bin/pooler. py", line 55, in restart_pool services: [07]: return get_db_ and_pool( db_name, force_demo, update_ module= update_ module) services: [08]: File "/openerp/ server/ bin/pooler. py", line 38, in get_db_and_pool services: [09]: addons. load_modules( db, force_demo, status, update_module) services: [10]: File "/openerp/ server/ bin/addons/ __init_ _.py", line 588, in load_modules services: [11]: load_module_ graph(cr, graph, status, report=report) services: [12]: File "/openerp/ server/ bin/addons/ __init_ _.py", line 480, in load_module_graph services: [13]: init_module_ objects( cr, m, modules) services: [14]: File "/openerp/ server/ bin/addons/ __init_ _.py", line 262, in init_module_objects services: [15]: obj.init(cr) services: [16]: File "/openerp/ addons/ crm_configurati on/report/ crm_report. py", line 89, in init services: [17]: drop_view_ if_exists( cr, "report_ crm_case_ section_ stage") services: [18]: NameError: global name 'drop_view_ if_exists' is not defined
*****
*****
[Thu Dec 18 15:41:13 2008] INFO:init:module crm_configuration: registering objects
[Thu Dec 18 15:41:13 2008] INFO:init:module crm_configuration loading objects
[Thu Dec 18 15:41:13 2008] INFO:init:module crm_configuration: creating or updating database tables
[Thu Dec 18 15:41:13 2008] ERROR:web-
[Thu Dec 18 15:41:13 2008] ERROR:web-
[Thu Dec 18 15:41:13 2008] ERROR:web-
[Thu Dec 18 15:41:13 2008] ERROR:web-
[Thu Dec 18 15:41:13 2008] ERROR:web-
[Thu Dec 18 15:41:13 2008] ERROR:web-
[Thu Dec 18 15:41:13 2008] ERROR:web-
[Thu Dec 18 15:41:13 2008] ERROR:web-
[Thu Dec 18 15:41:13 2008] ERROR:web-
[Thu Dec 18 15:41:13 2008] ERROR:web-
[Thu Dec 18 15:41:13 2008] ERROR:web-
[Thu Dec 18 15:41:13 2008] ERROR:web-
[Thu Dec 18 15:41:13 2008] ERROR:web-
[Thu Dec 18 15:41:13 2008] ERROR:web-
[Thu Dec 18 15:41:13 2008] ERROR:web-
[Thu Dec 18 15:41:13 2008] ERROR:web-
[Thu Dec 18 15:41:13 2008] ERROR:web-
[Thu Dec 18 15:41:13 2008] ERROR:web-