icopy error after scanning!

Bug #270552 reported by gate1975mlm
2
Affects Status Importance Assigned to Milestone
iCopy
New
High
Matteo Rossi

Bug Description

iCopy gave me an error after scanning! Below is the error info.

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
   at WIA.IImageFile.get_FileData()
   at iCopy.Scanner.Scan(Boolean preview)
   at iCopy.appControl.SaveToFile(Int16 Resolution, Int16 brightness, Int16 contrast, WiaImageIntent intent, Boolean preview, String path)
   at iCopy.appControl.SaveToFile(Int16 Resolution, Int16 brightness, Int16 contrast, WiaImageIntent intent, Boolean preview)
   at iCopy.mainFrm.ScanToFile_Click(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
iCopy
    Assembly Version: 1.4.3.124
    Win32 Version: 1.4.3.124
    CodeBase: file:///C:/Program%20Files/iCopy/iCopy.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Interop.WIA
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/iCopy/Interop.WIA.DLL
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.1434 (REDBITS.050727-1400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
iCopy.resources
    Assembly Version: 1.4.3.124
    Win32 Version: 1.4.3.124
    CodeBase: file:///C:/Program%20Files/iCopy/bg-BG/iCopy.resources.DLL
----------------------------------------
iCopy.resources
    Assembly Version: 1.4.3.124
    Win32 Version: 1.4.3.124
    CodeBase: file:///C:/Program%20Files/iCopy/de-DE/iCopy.resources.DLL
----------------------------------------
iCopy.resources
    Assembly Version: 1.4.3.124
    Win32 Version: 1.4.3.124
    CodeBase: file:///C:/Program%20Files/iCopy/it-IT/iCopy.resources.DLL
----------------------------------------
iCopy.resources
    Assembly Version: 1.4.3.124
    Win32 Version: 1.4.3.124
    CodeBase: file:///C:/Program%20Files/iCopy/ja-JP/iCopy.resources.DLL
----------------------------------------
iCopy.resources
    Assembly Version: 1.4.3.124
    Win32 Version: 1.4.3.124
    CodeBase: file:///C:/Program%20Files/iCopy/nl-NL/iCopy.resources.DLL
----------------------------------------
iCopy.resources
    Assembly Version: 1.4.3.124
    Win32 Version: 1.4.3.124
    CodeBase: file:///C:/Program%20Files/iCopy/ru-RU/iCopy.resources.DLL
----------------------------------------
CustomMarshalers
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
    CodeBase: file:///C:/Windows/assembly/GAC_32/CustomMarshalers/2.0.0.0__b03f5f7f11d50a3a/CustomMarshalers.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

I am running Vista Ultimate SP1

iCopy Build 1.4.3.124

Scanner Epson Perfection V200

Printer Canon ip4500

Revision history for this message
gate1975mlm (gate1975mlm) wrote :
Revision history for this message
Matteo Rossi (teo-red90) wrote :

Does this exception happen with different resolutions and acquisition modes (color, b/w ...)?

Changed in icopy:
assignee: nobody → teo-red90
importance: Undecided → High
Revision history for this message
gate1975mlm (gate1975mlm) wrote : Re: [Bug 270552] Re: icopy error after scanning!
Download full text (7.0 KiB)

I got the error when using 6000 DPI.

Thanks

Michael

--------------------------------------------------
From: "Matteo Rossi" <email address hidden>
Sent: Monday, September 15, 2008 4:35 PM
To: <email address hidden>
Subject: [Bug 270552] Re: icopy error after scanning!

> Does this exception happen with different resolutions and acquisition
> modes (color, b/w ...)?
>
> ** Changed in: icopy
> Importance: Undecided => High
> Assignee: (unassigned) => Matteo Rossi (teo-red90)
>
> --
> icopy error after scanning!
> https://bugs.launchpad.net/bugs/270552
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in iCopy - Simple Photocopier: New
>
> Bug description:
> iCopy gave me an error after scanning! Below is the error info.
>
>
> See the end of this message for details on invoking
> just-in-time (JIT) debugging instead of this dialog box.
>
> ************** Exception Text **************
> System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT
> E_FAIL has been returned from a call to a COM component.
> at WIA.IImageFile.get_FileData()
> at iCopy.Scanner.Scan(Boolean preview)
> at iCopy.appControl.SaveToFile(Int16 Resolution, Int16 brightness, Int16
> contrast, WiaImageIntent intent, Boolean preview, String path)
> at iCopy.appControl.SaveToFile(Int16 Resolution, Int16 brightness, Int16
> contrast, WiaImageIntent intent, Boolean preview)
> at iCopy.mainFrm.ScanToFile_Click(Object sender, EventArgs e)
> at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs
> e)
> at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
> at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
> at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
> at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e,
> ToolStripItemEventType met)
> at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e,
> ToolStripItemEventType met)
> at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
> at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
> at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons
> button, Int32 clicks)
> at System.Windows.Forms.Control.WndProc(Message& m)
> at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
> at System.Windows.Forms.ToolStrip.WndProc(Message& m)
> at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
> at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&
> m)
> at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
> at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
> IntPtr wparam, IntPtr lparam)
>
>
> ************** Loaded Assemblies **************
> mscorlib
> Assembly Version: 2.0.0.0
> Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
> CodeBase:
> file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
> ----------------------------------------
> iCopy
> Assembly Version: 1.4.3.124
> Win32 Version: 1.4.3.124
> CodeBase: file:///C:/Program%20Files/iCopy/iCopy.exe
> -------------------------------------...

Read more...

Revision history for this message
Matteo Rossi (teo-red90) wrote :

6000 DPI is a very high resolution, and a lot of memory is needed to store the image in the memory.
I suppose that this exception, though not documented, could be related to a difficulty of WIA to handle such a big image.

I suggest not to exceed a resolution of 2000 DPI, and of 1000 DPI if printing directly to paper as no printer has such an high resolution.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.