v6 can't finish database steps configurator

Bug #610386 reported by GEM
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Web Client
Fix Released
Undecided
Unassigned

Bug Description

using configurator (all generic modules checked) to create database, after time,
I have an error's message "connexion refused" on the client web view.
this step is not finished, (stop before the screen configurator "configure your company")
same error with client gtk, but it finishes the step even if there is this errors

log server (search errors in this text):

[2010-07-27 11:14:28,459] INFO:init:module account: loading test/account_invoice_state.yml
[2010-07-27 11:14:29,256] ERROR:tests.account:('warning', 'Error !')
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: ('warning', 'Error !')
[2010-07-27 11:14:29,963] INFO:i18n:module account: loading translation file for language fr
[2010-07-27 11:14:50,095] INFO:init:module project: loading security/project_security.xml
[2010-07-27 11:14:50,221] INFO:init:module project: loading wizard/project_task_delegate_view.xml
[2010-07-27 11:14:50,249] INFO:init:module project: loading security/ir.model.access.csv
[2010-07-27 11:14:50,381] INFO:init:module project: loading project_data.xml
[2010-07-27 11:14:50,398] INFO:init:module project: loading project_view.xml
[2010-07-27 11:14:51,055] INFO:init:module project: loading project_report.xml
[2010-07-27 11:14:51,058] INFO:init:module project: loading process/task_process.xml
[2010-07-27 11:14:51,134] INFO:init:module project: loading project_installer.xml
[2010-07-27 11:14:51,183] INFO:init:module project: loading res_partner_view.xml
[2010-07-27 11:14:51,200] INFO:init:module project: loading report/project_report_view.xml
[2010-07-27 11:14:51,394] INFO:init:module project: loading wizard/project_close_task_view.xml
[2010-07-27 11:14:51,417] INFO:init:module project: loading board_project_view.xml
[2010-07-27 11:14:51,529] INFO:init:module project: loading board_project_manager_view.xml
[2010-07-27 11:14:51,585] INFO:init:module project: loading project_demo.xml
[2010-07-27 11:14:54,522] INFO:init:module project: loading board_project_demo.xml
[2010-07-27 11:14:54,573] INFO:init:module project: loading test/test_project.yml
[2010-07-27 11:14:56,943] INFO:init:module project: loading test/test_project_delegation.yml
[2010-07-27 11:14:57,105] INFO:i18n:module project: loading translation file for language fr
[2010-07-27 11:15:00,243] INFO:init:module crm: loading crm_data.xml
[2010-07-27 11:15:00,259] INFO:init:module crm: loading crm_meeting_data.xml
[2010-07-27 11:15:00,283] INFO:init:module crm: loading crm_lead_data.xml
[2010-07-27 11:15:00,355] INFO:init:module crm: loading crm_meeting_data.xml
[2010-07-27 11:15:00,381] INFO:init:module crm: loading crm_opportunity_data.xml
[2010-07-27 11:15:00,430] INFO:init:module crm: loading crm_phonecall_data.xml
[2010-07-27 11:15:00,457] INFO:init:module crm: loading security/crm_security.xml
[2010-07-27 11:15:00,520] INFO:init:module crm: loading security/ir.model.access.csv
[2010-07-27 11:15:00,796] INFO:init:module crm: loading wizard/crm_lead_to_partner_view.xml
[2010-07-27 11:15:00,822] INFO:init:module crm: loading wizard/crm_lead_to_opportunity_view.xml
[2010-07-27 11:15:00,859] INFO:init:module crm: loading wizard/crm_phonecall_to_phonecall_view.xml
[2010-07-27 11:15:00,882] INFO:init:module crm: loading wizard/crm_phonecall_to_partner_view.xml
[2010-07-27 11:15:00,918] INFO:init:module crm: loading wizard/crm_phonecall_to_opportunity_view.xml
[2010-07-27 11:15:00,940] INFO:init:module crm: loading wizard/crm_opportunity_to_phonecall_view.xml
[2010-07-27 11:15:00,964] INFO:init:module crm: loading wizard/crm_partner_to_opportunity_view.xml
[2010-07-27 11:15:01,000] INFO:init:module crm: loading wizard/crm_send_email_view.xml
[2010-07-27 11:15:01,042] INFO:init:module crm: loading wizard/crm_forward_to_partner_view.xml
[2010-07-27 11:15:01,075] INFO:init:module crm: loading wizard/crm_custom_create_menu_view.xml
[2010-07-27 11:15:01,098] INFO:init:module crm: loading crm_view.xml
[2010-07-27 11:15:01,553] INFO:init:module crm: loading crm_action_rule_view.xml
[2010-07-27 11:15:01,615] INFO:init:module crm: loading crm_lead_view.xml
[2010-07-27 11:15:01,720] INFO:init:module crm: loading crm_lead_menu.xml
[2010-07-27 11:15:01,766] INFO:init:module crm: loading crm_meeting_view.xml
[2010-07-27 11:15:01,875] INFO:init:module crm: loading crm_meeting_menu.xml
[2010-07-27 11:15:02,000] INFO:init:module crm: loading crm_phonecall_view.xml
[2010-07-27 11:15:02,124] INFO:init:module crm: loading crm_phonecall_menu.xml
[2010-07-27 11:15:02,244] INFO:init:module crm: loading crm_opportunity_view.xml
[2010-07-27 11:15:02,322] INFO:init:module crm: loading crm_opportunity_menu.xml
[2010-07-27 11:15:02,397] INFO:init:module crm: loading report/crm_lead_report_view.xml
[2010-07-27 11:15:02,526] INFO:init:module crm: loading report/crm_phonecall_report_view.xml
[2010-07-27 11:15:02,611] INFO:init:module crm: loading process/crm_configuration_process.xml
[2010-07-27 11:15:02,667] INFO:init:module crm: loading crm_installer_view.xml
[2010-07-27 11:15:02,698] INFO:init:module crm: loading res_partner_view.xml
[2010-07-27 11:15:02,719] INFO:init:module crm: loading board_crm_view.xml
[2010-07-27 11:15:02,851] INFO:init:module crm: loading board_crm_statistical_view.xml
[2010-07-27 11:15:02,961] INFO:init:module crm: loading crm_demo.xml
[2010-07-27 11:15:02,966] INFO:init:module crm: loading crm_lead_demo.xml
[2010-07-27 11:15:05,467] INFO:init:module crm: loading crm_meeting_demo.xml
[2010-07-27 11:15:05,759] INFO:init:module crm: loading crm_opportunity_demo.xml
[2010-07-27 11:15:05,905] INFO:init:module crm: loading crm_phonecall_demo.xml
[2010-07-27 11:15:05,997] INFO:init:module crm: loading board_crm_demo.xml
[2010-07-27 11:15:06,028] INFO:init:module crm: loading test/test_crm_lead.yml
[2010-07-27 11:15:07,391] INFO:init:module crm: loading test/test_crm_opportunity.yml
[2010-07-27 11:15:08,226] INFO:init:module crm: loading test/test_crm_phonecall.yml
[2010-07-27 11:15:09,421] INFO:i18n:module crm: loading translation file for language fr
[2010-07-27 11:15:21,453] INFO:init:module stock: loading stock_data.xml
[2010-07-27 11:15:21,667] INFO:init:module stock: loading wizard/stock_move_view.xml
[2010-07-27 11:15:21,750] INFO:init:module stock: loading wizard/stock_partial_picking_view.xml
[2010-07-27 11:15:21,759] INFO:init:module stock: loading wizard/stock_partial_move_view.xml
[2010-07-27 11:15:21,775] INFO:init:module stock: loading wizard/stock_inventory_set_stock_zero_view.xml
[2010-07-27 11:15:21,801] INFO:init:module stock: loading wizard/stock_fill_inventory_view.xml
[2010-07-27 11:15:21,826] INFO:init:module stock: loading wizard/stock_invoice_onshipping_view.xml
[2010-07-27 11:15:21,852] INFO:init:module stock: loading wizard/stock_inventory_merge_view.xml
[2010-07-27 11:15:21,878] INFO:init:module stock: loading wizard/stock_location_product_view.xml
[2010-07-27 11:15:21,904] INFO:init:module stock: loading wizard/stock_splitinto_view.xml
[2010-07-27 11:15:21,928] INFO:init:module stock: loading wizard/stock_inventory_line_split_view.xml
[2010-07-27 11:15:21,951] INFO:init:module stock: loading wizard/stock_change_standard_price_view.xml
[2010-07-27 11:15:21,973] INFO:init:module stock: loading wizard/stock_traceability_view.xml
[2010-07-27 11:15:22,068] INFO:init:module stock: loading stock_workflow.xml
[2010-07-27 11:15:22,178] INFO:init:module stock: loading stock_incoterms.xml
[2010-07-27 11:15:22,234] INFO:init:module stock: loading stock_view.xml
[2010-07-27 11:15:23,427] INFO:init:module stock: loading stock_report.xml
[2010-07-27 11:15:23,493] INFO:init:module stock: loading stock_sequence.xml
[2010-07-27 11:15:23,565] INFO:init:module stock: loading product_data.xml
[2010-07-27 11:15:23,614] INFO:init:module stock: loading product_view.xml
[2010-07-27 11:15:23,723] INFO:init:module stock: loading partner_view.xml
[2010-07-27 11:15:23,740] INFO:init:module stock: loading report/report_stock_move_view.xml
[2010-07-27 11:15:23,871] INFO:init:module stock: loading report/report_stock_picking_view.xml
[2010-07-27 11:15:23,943] INFO:init:module stock: loading report/report_stock_view.xml
[2010-07-27 11:15:24,065] INFO:init:module stock: loading security/stock_security.xml
[2010-07-27 11:15:24,207] INFO:init:module stock: loading security/ir.model.access.csv
[2010-07-27 11:15:24,375] INFO:init:module stock: loading board_warehouse_view.xml
[2010-07-27 11:15:24,436] INFO:init:module stock: loading stock_demo.xml
[2010-07-27 11:15:26,243] INFO:init:module stock: loading test/stock_test.yml
[2010-07-27 11:15:27,826] ERROR:db.cursor:bad query: insert into "product_supplierinfo" (id,"delay","product_id","sequence","qty","company_id","name",create_uid,create_date) values (20,1,28,1,5.0,1,26,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-27 11:15:27,828] ERROR:tests.stock: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-27 11:15:28,062] INFO:i18n:module stock: loading translation file for language fr
[2010-07-27 11:15:34,496] INFO:init:module procurement: no quality certificate
[2010-07-27 11:15:34,496] INFO:init:module procurement: loading security/ir.model.access.csv
[2010-07-27 11:15:34,545] INFO:init:module procurement: loading security/procurement_security.xml
[2010-07-27 11:15:34,576] INFO:init:module procurement: loading procurement_data.xml
[2010-07-27 11:15:34,803] INFO:init:module procurement: loading wizard/make_procurement_view.xml
[2010-07-27 11:15:34,835] INFO:init:module procurement: loading wizard/mrp_procurement_view.xml
[2010-07-27 11:15:34,854] INFO:init:module procurement: loading wizard/orderpoint_procurement_view.xml
[2010-07-27 11:15:34,880] INFO:init:module procurement: loading procurement_view.xml
[2010-07-27 11:15:35,029] INFO:init:module procurement: loading wizard/schedulers_all_view.xml
[2010-07-27 11:15:35,055] INFO:init:module procurement: loading procurement_workflow.xml
[2010-07-27 11:15:35,210] INFO:init:module procurement: loading process/procurement_process.xml
[2010-07-27 11:15:35,220] INFO:init:module procurement: loading company_view.xml
[2010-07-27 11:15:35,236] INFO:init:module procurement: loading board_mrp_procurement_view.xml
[2010-07-27 11:15:35,257] INFO:init:module procurement: loading stock_orderpoint.xml
[2010-07-27 11:15:35,397] INFO:init:module mrp_jit: loading mrp_jit.xml
[2010-07-27 11:15:35,421] INFO:i18n:module mrp_jit: loading translation file for language fr
[2010-07-27 11:15:35,529] INFO:init:module purchase: loading security/purchase_security.xml
[2010-07-27 11:15:35,609] INFO:init:module purchase: loading security/ir.model.access.csv
[2010-07-27 11:15:35,828] INFO:init:module purchase: loading purchase_workflow.xml
[2010-07-27 11:15:36,007] INFO:init:module purchase: loading purchase_sequence.xml
[2010-07-27 11:15:36,026] INFO:init:module purchase: loading company_view.xml
[2010-07-27 11:15:36,045] INFO:init:module purchase: loading purchase_data.xml
[2010-07-27 11:15:36,334] INFO:init:module purchase: loading wizard/purchase_order_group_view.xml
[2010-07-27 11:15:36,369] INFO:init:module purchase: loading wizard/purchase_installer.xml
[2010-07-27 11:15:36,427] INFO:init:module purchase: loading wizard/purchase_line_invoice_view.xml
[2010-07-27 11:15:36,459] INFO:init:module purchase: loading purchase_view.xml
[2010-07-27 11:15:36,884] INFO:init:module purchase: loading purchase_report.xml
[2010-07-27 11:15:36,911] INFO:init:module purchase: loading stock_view.xml
[2010-07-27 11:15:36,941] INFO:init:module purchase: loading partner_view.xml
[2010-07-27 11:15:36,960] INFO:init:module purchase: loading process/purchase_process.xml
[2010-07-27 11:15:37,138] INFO:init:module purchase: loading report/purchase_report_view.xml
[2010-07-27 11:15:37,382] INFO:init:module purchase: loading board_purchase_view.xml
[2010-07-27 11:15:37,453] INFO:init:module purchase: loading purchase_demo.xml
[2010-07-27 11:15:37,460] INFO:init:module purchase: loading test/purchase_from_order.yml
[2010-07-27 11:15:41,766] INFO:init:module purchase: loading test/purchase_from_manual.yml
[2010-07-27 11:15:45,075] INFO:init:module purchase: loading purchase_unit_test.xml
[2010-07-27 11:15:50,618] INFO:init:module purchase: loading test/procurement_buy.yml
[2010-07-27 11:15:50,868] ERROR:db.cursor:bad query: insert into "product_supplierinfo" (id,"delay","product_id","sequence","qty","company_id","name",create_uid,create_date) values (21,1,30,1,5.0,1,2,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-27 11:15:50,868] ERROR:tests.purchase: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-27 11:15:50,970] INFO:i18n:module purchase: loading translation file for language fr
[2010-07-27 11:15:52,720] INFO:init:module sale: loading wizard/sale_make_invoice_advance.xml
[2010-07-27 11:15:52,759] INFO:init:module sale: loading wizard/sale_line_invoice.xml
[2010-07-27 11:15:52,782] INFO:init:module sale: loading wizard/sale_make_invoice.xml
[2010-07-27 11:15:52,815] INFO:init:module sale: loading security/sale_security.xml
[2010-07-27 11:15:52,926] INFO:init:module sale: loading security/ir.model.access.csv
[2010-07-27 11:15:53,039] INFO:init:module sale: loading company_view.xml
[2010-07-27 11:15:53,058] INFO:init:module sale: loading sale_workflow.xml
[2010-07-27 11:15:53,230] INFO:init:module sale: loading sale_sequence.xml
[2010-07-27 11:15:53,250] INFO:init:module sale: loading sale_data.xml
[2010-07-27 11:15:53,285] INFO:init:module sale: loading sale_view.xml
[2010-07-27 11:15:53,671] INFO:init:module sale: loading report/sale_report_view.xml
[2010-07-27 11:15:53,930] INFO:init:module sale: loading sale_report.xml
[2010-07-27 11:15:53,947] INFO:init:module sale: loading stock_view.xml
[2010-07-27 11:15:53,964] INFO:init:module sale: loading board_sale_view.xml
[2010-07-27 11:15:54,030] INFO:init:module sale: loading sale_demo.xml
[2010-07-27 11:16:13,016] INFO:init:module sale: loading board_sale_demo.xml
[2010-07-27 11:16:13,026] INFO:init:module sale: loading test/shipping_manual_sale_order.yml
[2010-07-27 11:16:20,553] INFO:init:module sale: loading test/prepaid_sale_order.yml
[2010-07-27 11:16:29,075] INFO:init:module sale: loading test/advance_invoice.yml
[2010-07-27 11:16:30,270] INFO:init:module sale: loading test/so_make_line_invoice.yml
[2010-07-27 11:16:35,426] INFO:init:module sale: loading test/so_make_invoice.yml
[2010-07-27 11:16:41,105] ERROR:tests.sale:('warning', 'Error !')
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: ('warning', 'Error !')
[2010-07-27 11:16:41,194] INFO:i18n:module sale: loading translation file for language fr
[2010-07-27 11:16:44,651] INFO:init:module project_mrp: loading project_mrp_workflow.xml
[2010-07-27 11:16:44,665] INFO:init:module project_mrp: loading project_mrp_view.xml
[2010-07-27 11:16:44,703] INFO:init:module project_mrp: loading test/project_task_procurement.yml
[2010-07-27 11:16:51,338] INFO:i18n:module project_mrp: loading translation file for language fr
[2010-07-27 11:16:51,482] INFO:init:module mrp: loading security/mrp_security.xml
[2010-07-27 11:16:51,591] INFO:init:module mrp: loading security/ir.model.access.csv
[2010-07-27 11:16:51,788] INFO:init:module mrp: loading mrp_workflow.xml
[2010-07-27 11:16:51,898] INFO:init:module mrp: loading mrp_data.xml
[2010-07-27 11:16:51,918] INFO:init:module mrp: loading wizard/mrp_product_produce_view.xml
[2010-07-27 11:16:51,948] INFO:init:module mrp: loading wizard/change_production_qty_view.xml
[2010-07-27 11:16:51,974] INFO:init:module mrp: loading wizard/mrp_price_view.xml
[2010-07-27 11:16:52,002] INFO:init:module mrp: loading wizard/mrp_workcenter_load_view.xml
[2010-07-27 11:16:52,029] INFO:init:module mrp: loading wizard/mrp_change_standard_price_view.xml
[2010-07-27 11:16:52,046] INFO:init:module mrp: loading mrp_view.xml
[2010-07-27 11:16:52,809] INFO:init:module mrp: loading mrp_report.xml
[2010-07-27 11:16:52,836] INFO:init:module mrp: loading company_view.xml
[2010-07-27 11:16:52,855] INFO:init:module mrp: loading process/stockable_product_process.xml
[2010-07-27 11:16:52,915] INFO:init:module mrp: loading process/service_product_process.xml
[2010-07-27 11:16:52,951] INFO:init:module mrp: loading process/procurement_process.xml
[2010-07-27 11:16:53,148] INFO:init:module mrp: loading mrp_installer.xml
[2010-07-27 11:16:53,201] INFO:init:module mrp: loading report/mrp_report_view.xml
[2010-07-27 11:16:53,342] INFO:init:module mrp: loading report/mrp_production_order_view.xml

Revision history for this message
Vaibhav Darji (vaibhav-openerp) wrote :

Hello,

Please update your trunk code.
It's already solved.

fixed at revision no:2988.
<email address hidden>

Thanks.

Changed in openobject-client-web:
status: New → Fix Released
milestone: none → 6.0
Revision history for this message
GEM (nimp3) wrote :

Sorry but I have again the problem of 'connection refused (gtk and web):
see this bug (I forgot I had always post this bug) :
https://bugs.launchpad.net/openobject-addons/+bug/622625
Bye

Revision history for this message
GEM (nimp3) wrote :

Hi,
the problem comes from error with some modules in addons,
thanks
Bye

Changed in openobject-client-web:
status: Fix Released → Confirmed
Revision history for this message
GEM (nimp3) wrote :

Hi Xavier,
I posted the 2 modules which give the problem here :
https://bugs.launchpad.net/openobject-server/+bug/633873
https://bugs.launchpad.net/openobject-server/+bug/633874
but they must be put to the branch addons (I posted to the server branch by error).
bye

Revision history for this message
Xavier (Open ERP) (xmo-deactivatedaccount) wrote :

Heya GEM, FWIW the "Connection Refused" issue for web client mainly comes from a timeout, a pipe on the way breaks and times out and we end up with a refused connection on one side. The operation does complete normally and you should be able to resume operations via the Administration menu (Configuration > Configuration Wizards > Start Configuration).

Issue here is that during installation of lots of addons at once, there are no communications between server and web client and browser for long time and so one of them ends up timing out and killing the connection, resulting in a timeout error (though we're saying it's a connection refused).

For now we'll at least look into fixing the error message, but in any case the precise scenario you outlined here is not an issue with addons.

Revision history for this message
Xavier (Open ERP) (xmo-deactivatedaccount) wrote :

> Hi Xavier,
> I posted the 2 modules which give the problem here :

OK, I moved them to addons. But these are issues not really related to the original one for this bug so~~

Revision history for this message
GEM (nimp3) wrote :

I already know and use Configuration > Configuration Wizards > Start Configuration after the connection refused, I change too status of module which give the error of "to be upgraded" to "not installed".
For info I tested with gtk client and I have the same problem.

Revision history for this message
GEM (nimp3) wrote :

effectively with your last mofiication for better message I've a timeout message.

Revision history for this message
Xavier (Open ERP) (xmo-deactivatedaccount) wrote :

Good, that's what you were supposed to see all along but we were playing fast and loose with the reported errors so...

Revision history for this message
GEM (nimp3) wrote :

when I restart the configurator after the timeout, with last revision, when I'm to the step accounting modules configuration I have this error :
Traceback (most recent call last):
  File "netsvc.pyo", line 435, in dispatch
  File "service\web_services.pyo", line 586, in dispatch
  File "osv\osv.pyo", line 57, in wrapper
  File "osv\osv.pyo", line 133, in execute
  File "osv\osv.pyo", line 123, in execute_cr
  File "osv\orm.pyo", line 2057, in create
  File "osv\fields.pyo", line 404, in set_memory
KeyError: 0

Revision history for this message
GEM (nimp3) wrote :

I tested with client gtk and I have not this error.

Revision history for this message
GEM (nimp3) wrote :

solved, bug can be closed
Bye

Changed in openobject-client-web:
status: Confirmed → Fix Released
Revision history for this message
GEM (nimp3) wrote :

Hi Xavier,
here a critical bug, see end of post :
https://bugs.launchpad.net/openobject-client-web/+bug/655495

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.