[RC3] Broken pipe when install a new database

Bug #325991 reported by Christophe CHAUVET
24
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Undecided
Unassigned

Bug Description

Server revno: 1704
Addons revno: 2194
Client revno: 929

Create a new database with "Service Profile"

--------------8<---------------8<-------------
[2009-02-06 01:37:22,652] INFO:init:module profile_service: registering objects
[2009-02-06 01:37:22,654] INFO:init:module profile_service: loading objects
[2009-02-06 01:37:22,662] INFO:init:module profile_service: creating or updating database tables
[2009-02-06 01:37:22,771] INFO:init:module profile_service: loading security/ir.model.access.csv
[2009-02-06 01:37:22,801] INFO:init:module profile_service: loading profile_service.xml
[2009-02-06 01:37:22,940] INFO:i18n:module profile_service: loading translation file for language fr_FR
[2009-02-06 01:37:23,577] INFO:init:[01]: Assertions report:
[2009-02-06 01:37:23,578] INFO:init:[02]: Level success failed
[2009-02-06 01:37:23,578] INFO:init:[03]: error 5 0
[2009-02-06 01:37:23,583] INFO:init:[04]: total 5 0
[2009-02-06 01:37:23,584] INFO:init:[05]: end of report (5 assertion(s) checked)
[2009-02-06 01:37:23,636] INFO:orm:Computing parent left and right for table account_account...
Exception in thread Thread-100:
Traceback (most recent call last):
  File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
    self.run()
  File "/home/openerp/OpenERP/5.0/server/bin/netsvc.py", line 365, in run
    ts.mysend(result)
  File "/home/openerp/OpenERP/5.0/server/bin/tiny_socket.py", line 53, in mysend
    self.sock.send(exception and "1" or "0")
error: (32, 'Relais bris\xc3\xa9 (pipe)')
--------------8<---------------8<-------------

Distribution: Ubuntu
Version: 8.04 (hardy)
Python 2.5.2

Revision history for this message
Christophe CHAUVET (christophe-chauvet) wrote :

I have already a Timeout Message box on the GTK Client.

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Sorry, I dont get such an error, i made 2 people check but I cant reproduce it.

Can you provide more info?

Changed in openobject-addons:
status: New → Incomplete
Revision history for this message
Christophe CHAUVET (christophe-chauvet) wrote :

This is an VirtualBox issue.

I follow it and post an answer after.

Changed in openobject-addons:
status: Incomplete → Invalid
Revision history for this message
Christophe CHAUVET (christophe-chauvet) wrote :

Hi

The problem appear also with VMware Workstation and on a slow machine(It's not a virtual box problem ;) )
After 3 minutes on the GTK Client, i have a Timeout, but the server continue to install, after compute value "account.account" it fail with broken pipe.

Changed in openobject-addons:
status: Invalid → New
Revision history for this message
Christophe CHAUVET (christophe-chauvet) wrote :

On a slow machine, install profile service with demo to reproduce.

Revision history for this message
Davide Corio (enlightx-deactivatedaccount) wrote :

is it possibile to increment the timeout value? i think this should be enough

Revision history for this message
Christophe CHAUVET (christophe-chauvet) wrote :

Patch add config value on .openerprc file

Revision history for this message
Christophe CHAUVET (christophe-chauvet) wrote :

By default the timeout value is 5 minutes.

Revision history for this message
Fabien (Open ERP) (fp-tinyerp) wrote :

upgrdaed to 200.

Changed in openobject-addons:
status: New → Fix Released
Revision history for this message
Christophe CHAUVET (christophe-chauvet) wrote :

Sorry Fabien but with my students when use it in VirtualBox (Network Security) to learn OpenERP, the minimal TimeOut is 8 Minutes when install Manufacturing profile.

It very usefull to apply my patch that can be defined the default timeout.

Thanks in advance,

Changed in openobject-addons:
status: Fix Released → New
Changed in openobject-addons:
status: New → Fix Released
Revision history for this message
Carlos Liebana (carlos-liebana) wrote :

Hi,

How can I do this now? The tiny_socket file has changed since 5.0.2 and there's no chance to make this hack in tiny_socket.py. I'm trying to fill an inventory, but we have more than 53.000 references and it crashes, returning that "Timed out error".

Any help is truly welcome!

Best regards!

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Hello Carlos,
Are you using an updated code?

Revision history for this message
Carlos Liebana (carlos-liebana) wrote :

Hi Jay,

I've tested with:
- 5.0.1 GTK and web clients
- 5.0.2 GTK client
- 5.0.5 GTK client

against a 5.0.1 server. I haven't been able to increment the timeout time with the new clients.

Thanks!

Revision history for this message
Christophe CHAUVET (christophe-chauvet) wrote :

Hi

Can you use import to made the inventory ?

Regards,

Revision history for this message
Carlos Liebana (carlos-liebana) wrote :

Mmm I haven't tried that...

Revision history for this message
Carlos Liebana (carlos-liebana) wrote :

Hello,

1) We're not able to import the inventory directly, we receive also a timeout error.
2) If we change the socket timeout in the tiny_socket.py of the server, after a 5 minutes we receive an error "socket communication broken", no matter the new time we change there. Always, around 5 minutes after the operation the error appears.

:(

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.