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

Errno::EPIPE: Broken pipe #7

Open
anoopprasad opened this issue Sep 17, 2013 · 12 comments
Open

Errno::EPIPE: Broken pipe #7

anoopprasad opened this issue Sep 17, 2013 · 12 comments

Comments

@anoopprasad
Copy link

Some times I am getting broken pipe error while trying to fetch data from file. Do you known why I am getting this ?

[GEM_ROOT]/gems/yomu-0.1.9/lib/yomu.rb, line 28

@bluaxe
Copy link

bluaxe commented Dec 12, 2013

I got this error with passenger+apache2.

Broken pipe
yomu (0.1.9) lib/yomu.rb:28:in `write'
yomu (0.1.9) lib/yomu.rb:28:in `block in read'
yomu (0.1.9) lib/yomu.rb:27:in `popen'
yomu (0.1.9) lib/yomu.rb:27:in `read'
yomu (0.1.9) lib/yomu.rb:92:in `metadata'

If i start app with

rails server

there happens to be no error.
It is strange, I will look into it.

@Erol
Copy link
Member

Erol commented Dec 13, 2013

Hey guys, can you check if your server process has read permission to the file you're trying to read?

@bluaxe
Copy link

bluaxe commented Dec 13, 2013

The server is running as root and the directory can be read and write by
anyone.
I will check this again.

于 2013/12/13 11:32, Erol Fornoles 写道:

Hey guys, can you check if your server process has read permission to
the file you're trying to read?


Reply to this email directly or view it on GitHub
#7 (comment).

@bluaxe
Copy link

bluaxe commented Dec 15, 2013

um, this error is caused by missing java support.
I wasted a lot of time on this error. stupid.

@cefigueiredo
Copy link

So... are there anything pendent to do... or this issue could be closed?

@bluaxe
Copy link

bluaxe commented Jan 15, 2014

it's okay to close this issue.

@adampope
Copy link

I'm getting the same error. It only happens on some PDF files, but reliably happens every time for the same file. I've tried moving an erroring file around, checking permissions etc but it appears to be identical to the files that work. I'm running this in a straight ruby script at the command line.

@Erol
Copy link
Member

Erol commented Mar 16, 2014

@adampope: The PDF files you mentioned, can you share a sample?

@adampope
Copy link

I'm afraid not, that was quite a while ago now and I can't remember which files caused the problem.

@peternash
Copy link

@Erol: I'm also seeing this error consistently on certain PDF files. Here's a link to a random PDF that produces this error when trying to extract either metadata or text: https://drive.google.com/file/d/0B_ZV2TejKLkrYXVfeUozSWl1d1U/edit?usp=sharing
Environment is Ruby 2.1.1 IRB on CentOS 6.5 x86_64

@Erol
Copy link
Member

Erol commented Apr 4, 2014

@peternash: Thanks for this, will be checking it out!

@shilpi230
Copy link

I am getting the same error can you please give us some solution for it. And my java environment is running fine.

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

7 participants