-
Notifications
You must be signed in to change notification settings - Fork 144
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
Print SCP intermittent error #12
Comments
Thanks for reporting, @iamps. I have occasionally seen a similar error, and I suspect that it has something to do either with ownership or disposal of the rendered |
NuGet version is showing 2.8.50926.602
Sent from Outlook<http://aka.ms/weboutlook>
…________________________________
From: Anders Gustafsson <[email protected]>
Sent: Friday, September 8, 2017 5:55 PM
To: fo-dicom/fo-dicom-samples
Cc: iamps; Mention
Subject: Re: [fo-dicom/fo-dicom-samples] Print SCP intermittent error (#12)
Thanks for reporting, @iamps<https://github.com/iamps>. I have occasionally seen a similar error, and I suspect that it has something to do either with ownership or disposal of the rendered Bitmap. Which version of the fo-dicom NuGet package are you using?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#12 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AcmqTPF2OOLVve_exJIrTQyIGiMG1D3Jks5sgTIegaJpZM4PQxRd>.
|
Sorry for being unclear. I meant which fo-dicom version are you using? |
3.0.0.4
Sent from Outlook<http://aka.ms/weboutlook>
…________________________________
From: Anders Gustafsson <[email protected]>
Sent: Friday, September 8, 2017 6:23 PM
To: fo-dicom/fo-dicom-samples
Cc: iamps; Mention
Subject: Re: [fo-dicom/fo-dicom-samples] Print SCP intermittent error (#12)
Sorry for being unclear. I meant which fo-dicom version are you using?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#12 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AcmqTJ4R0K9CioH7xghN5v8KkEgE0RtWks5sgTjlgaJpZM4PQxRd>.
|
If I use fo-dicom ver 3.1.0.1, Print SCP project gives lot of errors.
Is there a Print scp compatible with fo-dicom ver 3.1.0.1
Sent from Outlook<http://aka.ms/weboutlook>
…________________________________
From: Anders Gustafsson <[email protected]>
Sent: Friday, September 8, 2017 6:23 PM
To: fo-dicom/fo-dicom-samples
Cc: iamps; Mention
Subject: Re: [fo-dicom/fo-dicom-samples] Print SCP intermittent error (#12)
Sorry for being unclear. I meant which fo-dicom version are you using?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#12 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AcmqTJ4R0K9CioH7xghN5v8KkEgE0RtWks5sgTjlgaJpZM4PQxRd>.
|
The samples have not been updated to use 3.1.0-alpha. It would help though if you could publish the errors you are getting with that version. Is it compilation errors or runtime errors? |
compilation errors
Sent from Outlook<http://aka.ms/weboutlook>
…________________________________
From: Anders Gustafsson <[email protected]>
Sent: Friday, September 8, 2017 7:37 PM
To: fo-dicom/fo-dicom-samples
Cc: iamps; Mention
Subject: Re: [fo-dicom/fo-dicom-samples] Print SCP intermittent error (#12)
The samples have not been updated to use 3.1.0-alpha. It would help though if you could publish the errors you are getting with that version. Is it compilation errors or runtime errors?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#12 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AcmqTIaKKgIg7OwSAPrziHTpsSfuRLMXks5sgUozgaJpZM4PQxRd>.
|
The only error now is in PrintService.cs
public class PrintService : DicomService, IDicomServiceProvider, IDicomNServiceProvider, IDicomCEchoProvider
{
}
Severity Code Description Project File Line Suppression State
Error CS0738 'PrintService' does not implement interface member 'IDicomServiceProvider.OnReceiveAssociationReleaseRequestAsync()'. 'PrintService.OnReceiveAssociationReleaseRequestAsync()' cannot implement 'IDicomServiceProvider.OnReceiveAssociationReleaseRequestAsync()' because it does not have the matching return type of 'Task'.
Sent from Outlook<http://aka.ms/weboutlook>
…________________________________
From: Anders Gustafsson <[email protected]>
Sent: Friday, September 8, 2017 7:37 PM
To: fo-dicom/fo-dicom-samples
Cc: iamps; Mention
Subject: Re: [fo-dicom/fo-dicom-samples] Print SCP intermittent error (#12)
The samples have not been updated to use 3.1.0-alpha. It would help though if you could publish the errors you are getting with that version. Is it compilation errors or runtime errors?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#12 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AcmqTIaKKgIg7OwSAPrziHTpsSfuRLMXks5sgUozgaJpZM4PQxRd>.
|
Please suggest correction. |
I think I was using wrong Dicomcore.dll. Thanks |
So is this issue now still open, or can it be closed? |
In fact, I'm victim of theses errors, and I can't find a way to solve them. My version is 3.0.2. |
This relates to the issue in fo-dicom fo-dicom/fo-dicom#634 |
Thanks for the great explanation! I didn't find the existing issue, sorry. |
Is it resolved? |
Print scp intermittently throws following error even if same job is sent to it which was just printed:
Print Job 5581685231640871 Status Failure: Printing failed, exception: System.ArgumentException: Parameter is not valid.
at System.Drawing.Image.get_Height()
at Dicom.Printing.ImageBoxExtensions.DrawBitmap(Graphics graphics, RectF box, Image bitmap, Int32 imageResolution, String emptyImageDensity) in C:\fo-dicom\DICOM\Printing\ImageBoxExtensions.cs:line 129
at Dicom.Printing.ImageBoxExtensions.Print(ImageBox imageBox, Graphics graphics, RectF box, Int32 imageResolution) in C:\fo-dicom\DICOM\Printing\ImageBoxExtensions.cs:line 55
at Dicom.Printing.FilmBoxExtensions.Print(FilmBox filmBox, Graphics graphics, Rectangle marginBounds, Int32 imageResolution) in C:\fo-dicom\DICOM\Printing\FilmBoxExtensions.cs:line 92
at Dicom.Printing.PrintJob.OnPrintPage(Object sender, PrintPageEventArgs e) in F:\fo-dicom 06Sept2017\fo-dicom-samples-master\Desktop\Print SCP\PrintJob.cs:line 350
at System.Drawing.Printing.PrintDocument.OnPrintPage(PrintPageEventArgs e)
at System.Drawing.Printing.PrintDocument._OnPrintPage(PrintPageEventArgs e)
at System.Drawing.Printing.PrintController.PrintLoop(PrintDocument document)
at System.Drawing.Printing.PrintController.Print(PrintDocument document)
at System.Drawing.Printing.PrintDocument.Print()
at Dicom.Printing.PrintJob.DoPrint() in F:\fo-dicom 06Sept2017\fo-dicom-samples-master\Desktop\Print SCP\PrintJob.cs:line 325
What could be the reason.
The text was updated successfully, but these errors were encountered: