Skip to content
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

close failed in file object destructor #76

Open
PaulPrice opened this issue Apr 18, 2013 · 3 comments
Open

close failed in file object destructor #76

PaulPrice opened this issue Apr 18, 2013 · 3 comments

Comments

@PaulPrice
Copy link
Contributor

A strange error is appended to the usual clone output. No further information is available using DEBUG_GITIFYHG. Might it be related to reopening stdout unbuffered?

pprice@tiger3:~/hsc $ git clone gitifyhg::ssh://mitaka//ana/hgrepo/hscPipe
Cloning into 'hscPipe'...
progress revision 99 'master' (100/522)
progress revision 199 'master' (200/522)
progress revision 299 'master' (300/522)
progress revision 399 'master' (400/522)
progress revision 499 'master' (500/522)
close failed in file object destructor:
Error in sys.excepthook:

Original exception was:
@PaulPrice
Copy link
Contributor Author

It's only on one system, so far as I can tell. I've tried installing a SIGPIPE handler, exception handlers and a sys.excepthook, and none catch the problem. Stumped.

@PaulPrice
Copy link
Contributor Author

P.S. It's just a nuisance: the repo is successfully cloned.

@dusty-phillips
Copy link
Owner

I thought I had fixed this error a long time ago. I believe it has something to do with gitifyhg trying to send data into the git pipe after git has closed the pipe. It must be some kind of race condition, but as you say, it seems to be benign.

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

No branches or pull requests

2 participants