dicom/ruby-dicom — Issue #28: DICOM send broken pipe issue on OS X
Author: jeffmax
Created: 2011-10-24 21:03:44+00:00
State: open

Are there any existing known issues with the DClient 'send' functionality?

I wrote a little script to use send to send the contents of a directory, but I keep getting this result:
```
INFO -- DICOM: Association successfully negotiated with host PACS
INFO -- DICOM: All 2 presentation contexts were accepted by host PACS
/Library/Ruby/Gems/1.8/gems/dicom-0.9.2/lib/dicom/link.rb:1092:in `send': Broken pipe - send(2) (Errno::EPIPE)
from /Library/Ruby/Gems/1.8/gems/dicom-0.9.2/lib/dicom/link.rb:1092:in `transmit'
from /Library/Ruby/Gems/1.8/gems/dicom-0.9.2/lib/dicom/d_client.rb:699:in `perform_send'
from /Library/Ruby/Gems/1.8/gems/dicom-0.9.2/lib/dicom/d_client.rb:697:in `each'
from /Library/Ruby/Gems/1.8/gems/dicom-0.9.2/lib/dicom/d_client.rb:697:in `perform_send'
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:36:in `each_with_index'
from /Library/Ruby/Gems/1.8/gems/dicom-0.9.2/lib/dicom/d_client.rb:673:in `each'
from /Library/Ruby/Gems/1.8/gems/dicom-0.9.2/lib/dicom/d_client.rb:673:in `each_with_index'
from /Library/Ruby/Gems/1.8/gems/dicom-0.9.2/lib/dicom/d_client.rb:673:in `perform_send'
from /Library/Ruby/Gems/1.8/gems/dicom-0.9.2/lib/dicom/d_client.rb:385:in `send'
from ./dicom_push.rb:31
from ./dicom_push.rb:28:in `foreach'
from ./dicom_push.rb:28
```