Skip to content

[FIX] Show stderr during build process #49

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed

Conversation

cecton
Copy link

@cecton cecton commented Dec 4, 2014

According to pull request odoo/odoo#4039 we
should log into stderr. Therefore, the stderr output of build should be
logged too.

@KangOl
Copy link
Contributor

KangOl commented Dec 4, 2014

You will reintroduce an error.
This parameter was added to hide broken pipe errors (see dea8692)

I really think you need to add --logfile to the command line arguments

@cecton
Copy link
Author

cecton commented Dec 4, 2014

@KangOl is that better?

@KangOl
Copy link
Contributor

KangOl commented Dec 5, 2014

dont like it neither.
stdout & stderr from spawned process are leaked to runbot

@cecton
Copy link
Author

cecton commented Dec 8, 2014

@KangOl and now? (^_^) I even make sure the program will not wait for input. DEVNULL here is like Python 3 subprocess' DEVNULL

https://docs.python.org/3.4/library/subprocess.html#subprocess.DEVNULL

Samus CTO added 2 commits December 8, 2014 10:02
According to pull request odoo/odoo#4039 we
should log into stderr. But at the end, for the runbot, it's more
logical to redirect the logs directly in the log file instead of
redirecting streams.
@antonylesuisse
Copy link
Contributor

@mart-e why did you commit dea8692 ? it's useless

@mart-e
Copy link
Contributor

mart-e commented Dec 31, 2014

@antonylesuisse to remove all the broken pipe errors from phantomjs (false positive).
Seeing with @cecton if can implement it another way.

@antonylesuisse
Copy link
Contributor

I close this pr because it's not needed anymore. I will revert runbot dea8692 since the problem is fixed in odoo odoo/odoo@5a642a8

Odoo can now log into stderr.

antonylesuisse added a commit that referenced this pull request Jan 9, 2015
revert commit dea8692

phantomjs stderr is now discarded since odoo commit

odoo/odoo@5a642a8

no need to discard odoo stderr from logfile.

Close #49
antonylesuisse added a commit that referenced this pull request Jan 9, 2015
revert commit dea8692

phantomjs stderr is now discarded since odoo commit

odoo/odoo@5a642a8

no need to discard odoo stderr from logfile.

Close #49
lepistone pushed a commit to lepistone/odoo-extra that referenced this pull request Jul 30, 2015
@rim-odoo rim-odoo deleted the catch-stderr-cto branch October 26, 2016 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants