← Back to team overview

c2c-oerpscenario team mailing list archive

Re: [Bug 611282] [NEW] v6 warning/error in log after database installed successfully

 

On Thursday 29 July 2010, you wrote:
> Public bug reported:
> 
> for info during the database creation in server log I have this warning
> and errors, but database is installed :
> 
> ERROR:tests.crm:('warning', 'Error')
> Traceback (most recent call last):
>   File "tools\yaml_import.pyo", line 691, in process
>...
> in _update File "d:\OpenERP AllInOne\Server\addons\crm\crm_lead.py", line
> 168, in create except_osv: ('warning', 'Error')
> 

I think I recognize many of those exceptions, having seen them in the 
automated tests' logs. 
Since this report is quite old, I believe that we have already fixed almost all 
of them. 
You could always cross check in:
    http://test.openobject.com
to see if what you've seen at your logs looks similar to a failed test there. 
We are now getting very efficient in finding and eliminating such bugs.

We still appreciate your help, sending us your feedback.

-- 
v6 warning/error in log after database installed successfully
https://bugs.launchpad.net/bugs/611282
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Server: Fix Released

Bug description:
for info during the database creation in server log I have this warning and errors, but database is installed :


[2010-07-29 14:15:13,256] WARNING:init:object ir.module.web (Web Module) has no access rules!
[2010-07-29 14:15:13,256] WARNING:init:object ir.module.web.dependency (Web Module dependency) has no access rules!
[2010-07-29 14:15:13,322] INFO:init:[01]: Assertions report:
[2010-07-29 14:15:13,323] INFO:init:[02]: Level	success	failed
[2010-07-29 14:15:13,323] INFO:init:[03]: error	1	0
[2010-07-29 14:15:13,323] INFO:init:[04]: total	1	0


[2010-07-29 14:17:51,355] INFO:init:module crm: loading test/test_crm_lead.yml
[2010-07-29 14:17:51,565] ERROR:tests.crm:('warning', 'Error')
Traceback (most recent call last):
  File "tools\yaml_import.pyo", line 691, in process
  File "tools\yaml_import.pyo", line 704, in _process_node
  File "tools\yaml_import.pyo", line 297, in process_record
  File "d:\OpenERP AllInOne\Server\addons\base\ir\ir_model.py", line 575, in _update
  File "d:\OpenERP AllInOne\Server\addons\crm\crm_lead.py", line 168, in create
except_osv: ('warning', 'Error')


[2010-07-29 14:18:59,526] INFO:init:module sale: loading test/manual_order_policy.yml
[2010-07-29 14:19:01,460] ERROR:tests.sale:'module' object has no attribute 'strptime'
Traceback (most recent call last):
  File "tools\yaml_import.pyo", line 691, in process
  File "tools\yaml_import.pyo", line 725, in _process_node
  File "tools\yaml_import.pyo", line 419, in process_workflow
  File "workflow\wkf_service.pyo", line 80, in trg_validate
  File "workflow\instance.pyo", line 48, in validate
  File "workflow\workitem.pyo", line 61, in process
  File "workflow\workitem.pyo", line 174, in _split_test
  File "workflow\workitem.pyo", line 182, in _join_test
  File "workflow\workitem.pyo", line 41, in create
  File "workflow\workitem.pyo", line 61, in process
  File "workflow\workitem.pyo", line 174, in _split_test
  File "workflow\workitem.pyo", line 182, in _join_test
  File "workflow\workitem.pyo", line 41, in create
  File "workflow\workitem.pyo", line 61, in process
  File "workflow\workitem.pyo", line 174, in _split_test
  File "workflow\workitem.pyo", line 182, in _join_test
  File "workflow\workitem.pyo", line 41, in create
  File "workflow\workitem.pyo", line 53, in process
  File "workflow\workitem.pyo", line 107, in _execute
  File "workflow\wkf_expr.pyo", line 68, in execute
  File "workflow\wkf_expr.pyo", line 58, in _eval_expr
  File "tools\safe_eval.pyo", line 265, in safe_eval
  File "", line 1, in <module>
  File "osv\orm.pyo", line 176, in <lambda>
  File "d:\OpenERP AllInOne\Server\addons\sale\sale.py", line 708, in action_ship_create
  File "workflow\wkf_service.pyo", line 80, in trg_validate
  File "workflow\instance.pyo", line 48, in validate
  File "workflow\workitem.pyo", line 61, in process
  File "workflow\workitem.pyo", line 174, in _split_test
  File "workflow\workitem.pyo", line 182, in _join_test
  File "workflow\workitem.pyo", line 41, in create
  File "workflow\workitem.pyo", line 61, in process
  File "workflow\workitem.pyo", line 174, in _split_test
  File "workflow\workitem.pyo", line 182, in _join_test
  File "workflow\workitem.pyo", line 41, in create
  File "workflow\workitem.pyo", line 61, in process
  File "workflow\workitem.pyo", line 174, in _split_test
  File "workflow\workitem.pyo", line 182, in _join_test
  File "workflow\workitem.pyo", line 41, in create
  File "workflow\workitem.pyo", line 61, in process
  File "workflow\workitem.pyo", line 174, in _split_test
  File "workflow\workitem.pyo", line 182, in _join_test
  File "workflow\workitem.pyo", line 41, in create
  File "workflow\workitem.pyo", line 53, in process
  File "workflow\workitem.pyo", line 126, in _execute
  File "workflow\wkf_expr.pyo", line 68, in execute
  File "workflow\wkf_expr.pyo", line 58, in _eval_expr
  File "tools\safe_eval.pyo", line 265, in safe_eval
  File "", line 1, in <module>
  File "osv\orm.pyo", line 176, in <lambda>
  File "d:\OpenERP AllInOne\Server\addons\purchase\purchase.py", line 731, in action_po_assign
  File "d:\OpenERP AllInOne\Server\addons\purchase\purchase.py", line 764, in make_po
AttributeError: 'module' object has no attribute 'strptime'


[2010-07-29 14:19:20,092] INFO:init:module mrp: loading test/mrp_phantom_bom.yml
[2010-07-29 14:19:25,987] ERROR:tests.mrp:'module' object has no attribute 'strptime'
Traceback (most recent call last):
  File "tools\yaml_import.pyo", line 691, in process
  File "tools\yaml_import.pyo", line 728, in _process_node
  File "tools\yaml_import.pyo", line 458, in process_function
  File "d:\OpenERP AllInOne\Server\addons\procurement\procurement.py", line 468, in run_scheduler
  File "d:\OpenERP AllInOne\Server\addons\procurement\schedulers.py", line 55, in _procure_confirm
  File "workflow\wkf_service.pyo", line 80, in trg_validate
  File "workflow\instance.pyo", line 48, in validate
  File "workflow\workitem.pyo", line 61, in process
  File "workflow\workitem.pyo", line 174, in _split_test
  File "workflow\workitem.pyo", line 182, in _join_test
  File "workflow\workitem.pyo", line 41, in create
  File "workflow\workitem.pyo", line 61, in process
  File "workflow\workitem.pyo", line 174, in _split_test
  File "workflow\workitem.pyo", line 182, in _join_test
  File "workflow\workitem.pyo", line 41, in create
  File "workflow\workitem.pyo", line 61, in process
  File "workflow\workitem.pyo", line 174, in _split_test
  File "workflow\workitem.pyo", line 182, in _join_test
  File "workflow\workitem.pyo", line 41, in create
  File "workflow\workitem.pyo", line 61, in process
  File "workflow\workitem.pyo", line 174, in _split_test
  File "workflow\workitem.pyo", line 182, in _join_test
  File "workflow\workitem.pyo", line 41, in create
  File "workflow\workitem.pyo", line 61, in process
  File "workflow\workitem.pyo", line 174, in _split_test
  File "workflow\workitem.pyo", line 182, in _join_test
  File "workflow\workitem.pyo", line 41, in create
  File "workflow\workitem.pyo", line 53, in process
  File "workflow\workitem.pyo", line 126, in _execute
  File "workflow\wkf_expr.pyo", line 68, in execute
  File "workflow\wkf_expr.pyo", line 58, in _eval_expr
  File "tools\safe_eval.pyo", line 265, in safe_eval
  File "", line 1, in <module>
  File "osv\orm.pyo", line 176, in <lambda>
  File "d:\OpenERP AllInOne\Server\addons\mrp\procurement.py", line 56, in action_produce_assign_product
  File "d:\OpenERP AllInOne\Server\addons\mrp\procurement.py", line 73, in make_mo
AttributeError: 'module' object has no attribute 'strptime'


[2010-07-29 14:19:31,407] INFO:i18n:module sale_crm: loading translation file for language fr
[2010-07-29 14:19:31,802] WARNING:init:object ir.module.web (Web Module) has no access rules!
[2010-07-29 14:19:31,803] WARNING:init:object ir.module.web.dependency (Web Module dependency) has no access rules!
[2010-07-29 14:19:31,803] WARNING:init:object account.cashbox.line (CashBox Line) has no access rules!
[2010-07-29 14:19:31,808] WARNING:init:In-memory object res.config.installer (res.config.installer) should not have explicit access rules!
[2010-07-29 14:19:32,013] INFO:init:[01]: Assertions report:
[2010-07-29 14:19:32,013] INFO:init:[02]: Level	success	failed
[2010-07-29 14:19:32,013] INFO:init:[03]: error	5	0
[2010-07-29 14:19:32,013] INFO:init:[04]: total	5	0

[2010-07-29 14:19:47,013] INFO:init:module document: loading test/document_test2.yml
[2010-07-29 14:19:47,098] ERROR:tests.document:object of type 'NoneType' has no len()
Traceback (most recent call last):
  File "tools\yaml_import.pyo", line 691, in process
  File "tools\yaml_import.pyo", line 710, in _process_node
  File "tools\yaml_import.pyo", line 600, in process_delete
TypeError: object of type 'NoneType' has no len()


[2010-07-29 14:19:48,980] INFO:init:module document_ftp: loading test/document_ftp_test2.yml
[2010-07-29 14:19:49,076] ERROR:tests.document_ftp:connect() got an unexpected keyword argument 'timeout'
Traceback (most recent call last):
  File "tools\yaml_import.pyo", line 691, in process
  File "tools\yaml_import.pyo", line 706, in _process_node
  File "tools\yaml_import.pyo", line 387, in process_python
YamlImportAbortion: connect() got an unexpected keyword argument 'timeout'


[2010-07-29 14:21:08,924] INFO:init:module hr_recruitment: loading test/test_hr_recruitment.yml
[2010-07-29 14:21:09,032] ERROR:tests.hr_recruitment:No references to hr_recruitment.type_job2
Traceback (most recent call last):
  File "tools\yaml_import.pyo", line 691, in process
  File "tools\yaml_import.pyo", line 704, in _process_node
  File "tools\yaml_import.pyo", line 294, in process_record
  File "tools\yaml_import.pyo", line 305, in _create_record
  File "tools\yaml_import.pyo", line 349, in _eval_field
  File "tools\yaml_import.pyo", line 175, in get_id
  File "tools\misc.pyo", line 802, in cached_result
  File "d:\OpenERP AllInOne\Server\addons\base\ir\ir_model.py", line 494, in _get_id
ValueError: No references to hr_recruitment.type_job2


[2010-07-29 14:21:15,717] INFO:init:module hr_payroll: loading test/payslip.yml
[2010-07-29 14:21:16,670] ERROR:tests.hr_payroll:('warning', 'Integrity Error !')
Traceback (most recent call last):
  File "tools\yaml_import.pyo", line 691, in process
  File "tools\yaml_import.pyo", line 725, in _process_node
  File "tools\yaml_import.pyo", line 419, in process_workflow
  File "workflow\wkf_service.pyo", line 80, in trg_validate
  File "workflow\instance.pyo", line 48, in validate
  File "workflow\workitem.pyo", line 61, in process
  File "workflow\workitem.pyo", line 174, in _split_test
  File "workflow\workitem.pyo", line 182, in _join_test
  File "workflow\workitem.pyo", line 41, in create
  File "workflow\workitem.pyo", line 53, in process
  File "workflow\workitem.pyo", line 107, in _execute
  File "workflow\wkf_expr.pyo", line 68, in execute
  File "workflow\wkf_expr.pyo", line 58, in _eval_expr
  File "tools\safe_eval.pyo", line 265, in safe_eval
  File "", line 1, in <module>
  File "osv\orm.pyo", line 176, in <lambda>
  File "d:\OpenERP AllInOne\Server\addons\hr_payroll_account\hr_payroll_account.py", line 267, in verify_sheet
except_osv: ('warning', 'Integrity Error !')


[2010-07-29 14:21:21,344] INFO:init:module hr_timesheet_invoice: loading test/test_hr_timesheet_invoice.yml
[2010-07-29 14:21:22,062] ERROR:tests.hr_timesheet_invoice:'ids'
Traceback (most recent call last):
  File "tools\yaml_import.pyo", line 691, in process
  File "tools\yaml_import.pyo", line 706, in _process_node
  File "tools\yaml_import.pyo", line 387, in process_python
YamlImportAbortion: 'ids'


[2010-07-29 14:21:25,184] INFO:init:module hr_timesheet_sheet: loading test/test_hr_timesheet_sheet.yml
[2010-07-29 14:21:25,884] ERROR:tests.hr_timesheet_sheet:name 'netsvc' is not defined
Traceback (most recent call last):
  File "tools\yaml_import.pyo", line 691, in process
  File "tools\yaml_import.pyo", line 706, in _process_node
  File "tools\yaml_import.pyo", line 387, in process_python
YamlImportAbortion: name 'netsvc' is not defined


[2010-07-29 14:22:04,753] INFO:init:module project_gtd: loading test/gtd_test.yml
[2010-07-29 14:22:05,151] ERROR:tests.project_gtd:('ValidateError', 'Error occurred while validating the field(s) date_start,date_end: Error! task start-date must be lower then task end-date.')
Traceback (most recent call last):
  File "tools\yaml_import.pyo", line 691, in process
  File "tools\yaml_import.pyo", line 706, in _process_node
  File "tools\yaml_import.pyo", line 387, in process_python
YamlImportAbortion: ('ValidateError', 'Error occurred while validating the field(s) date_start,date_end: Error! task start-date must be lower then task end-date.')

[2010-07-29 14:23:35,161] INFO:init:module stock_location: loading test/stock_location.yml
[2010-07-29 14:23:36,903] ERROR:db.cursor:bad query: insert into "product_supplierinfo" (id,"delay","product_id","sequence","qty","company_id","name",create_uid,create_date) values (26,1,50,1,5.0,1,29,1,now())
Traceback (most recent call last):
  File "sql_db.pyo", line 119, in execute
IntegrityError: null value in column "min_qty" violates not-null constraint

[2010-07-29 14:23:36,903] ERROR:tests.stock_location:null value in column "min_qty" violates not-null constraint
Traceback (most recent call last):
  File "tools\yaml_import.pyo", line 691, in process
  File "tools\yaml_import.pyo", line 704, in _process_node
  File "tools\yaml_import.pyo", line 297, in process_record
  File "d:\OpenERP AllInOne\Server\addons\base\ir\ir_model.py", line 575, in _update
  File "osv\orm.pyo", line 3464, in create
  File "osv\orm.pyo", line 3572, in create
  File "osv\fields.pyo", line 457, in set
  File "osv\orm.pyo", line 3536, in create
  File "sql_db.pyo", line 74, in wrapper
  File "sql_db.pyo", line 119, in execute
IntegrityError: null value in column "min_qty" violates not-null constraint


[2010-07-29 14:23:37,831] INFO:init:module mrp_operations: loading test/mrp_operations.yml
[2010-07-29 14:23:38,029] ERROR:tests.mrp_operations:'module' object has no attribute 'strptime'
Traceback (most recent call last):
  File "tools\yaml_import.pyo", line 691, in process
  File "tools\yaml_import.pyo", line 706, in _process_node
  File "tools\yaml_import.pyo", line 387, in process_python
YamlImportAbortion: 'module' object has no attribute 'strptime'


That's all.
Bye