Can't run Evidence Scribe

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
moosehadley
Level 1
Level 1
Posts: 5
Joined: Sat Nov 29, 2008 4:51 pm

Can't run Evidence Scribe

Post by moosehadley »

Hello, I have a program called "Evidence Scribe" it runs with .NET


Whenever I try to run it I receive this:

Code: Select all

blake@blake-desktop ~ $ env WINEPREFIX="/home/blake/.wine" wine "C:\Program Files\Idoneum\Evidence Scribe\Evidence Scribe.exe"
fixme:gdiplus:GdipGetFontHeightGivenDPI Unhandled unit type: 3

Unhandled Exception: System.InvalidOperationException: An error occured while creating the form. See Exception.InnerException for details. The error is: The requested feature is not implemented [GDI+ status: NotImplemented] ---> System.NotImplementedException: The requested feature is not implemented [GDI+ status: NotImplemented]
  at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000] 
  at System.Drawing.Font.GetHeight (Single dpi) [0x00000] 
  at System.Drawing.Font.GetHeight () [0x00000] 
  at System.Drawing.Font.get_Height () [0x00000] 
  at (wrapper remoting-invoke-with-check) System.Drawing.Font:get_Height ()
  at System.Windows.Forms.Form.GetAutoScaleSize (System.Drawing.Graphics g, System.Drawing.Font font) [0x00000] 
  at System.Windows.Forms.Form..ctor () [0x00000] 
  at ao..ctor () [0x00000] 
  at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[])
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] --- End of inner exception stack trace ---

  at ak+a.Create__Instance__[ao] (.ao Instance) [0x00000] 
  at ak+a.f () [0x00000] 
  at af.b () [0x00000] 
  at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun () [0x00000] 
  at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run (System.String[] commandLine) [0x00000] 
  at af.a (System.String[] A_0) [0x00000] 

This program is for debate research, and I really need it to work!


Thanks for your help!


-The Moose
moosehadley
Level 1
Level 1
Posts: 5
Joined: Sat Nov 29, 2008 4:51 pm

Post by moosehadley »

Anyone?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

Change to the directory where the exe is located before running it.
http://wiki.winehq.org/FAQ#head-3b297df ... b8edc21619

Try native gdiplus.
moosehadley
Level 1
Level 1
Posts: 5
Joined: Sat Nov 29, 2008 4:51 pm

Post by moosehadley »

ok, did all that, this time I got a longer output.

Code: Select all

blake@blake-desktop ~/.wine/drive_c/Program Files/Idoneum/Evidence Scribe $ wine 'Evidence Scribe.exe'

Unhandled Exception: System.InvalidOperationException: An error occured while creating the form. See Exception.InnerException for details. The error is: An exception was thrown by the type initializer for System.Windows.Forms.Form ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.Form ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus ---> System.DllNotFoundException: gdiplus.dll
  at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
  at System.Drawing.GDIPlus..cctor () [0x00000] --- End of inner exception stack trace ---

  at System.Drawing.Image.InitFromStream (System.IO.Stream stream) [0x00000] 
  at System.Drawing.Image..ctor (System.Runtime.Serialization.SerializationInfo info, StreamingContext context) [0x00000] 
  at System.Drawing.Bitmap..ctor (System.Runtime.Serialization.SerializationInfo info, StreamingContext context) [0x00000] 
  at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[])
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] --- End of inner exception stack trace ---

  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] 
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] 
  at System.Runtime.Serialization.ObjectRecord.LoadData (System.Runtime.Serialization.ObjectManager manager, ISurrogateSelector selector, StreamingContext context) [0x00000] 
  at System.Runtime.Serialization.ObjectManager.DoFixups () [0x00000] 
  at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadNextObject (System.IO.BinaryReader reader) [0x00000] 
  at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObjectGraph (System.IO.BinaryReader reader, Boolean readHeaders, System.Object& result, System.Runtime.Remoting.Messaging.Header[]& headers) [0x00000] 
  at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.NoCheckDeserialize (System.IO.Stream serializationStream, System.Runtime.Remoting.Messaging.HeaderHandler handler) [0x00000] 
  at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize (System.IO.Stream serializationStream) [0x00000] 
  at System.Resources.ResourceReader.ReadNonPredefinedValue (System.Type exp_type) [0x00000] 
  at System.Resources.ResourceReader.ReadValueVer1 (System.Type type) [0x00000] 
  at System.Resources.ResourceReader.ResourceValue (Int32 index) [0x00000] 
  at System.Resources.ResourceReader+ResourceEnumerator.get_Value () [0x00000] 
  at System.Resources.ResourceSet.ReadResources () [0x00000] 
  at System.Resources.ResourceSet.GetObject (System.String name, Boolean ignoreCase) [0x00000] 
  at System.Resources.ResourceManager.GetObject (System.String name, System.Globalization.CultureInfo culture) [0x00000] 
  at System.Resources.ResourceManager.GetObject (System.String name) [0x00000] 
  at System.Windows.Forms.Locale.GetResource (System.String name) [0x00000] 
  at System.Windows.Forms.Form..cctor () [0x00000] --- End of inner exception stack trace ---

  at ao..ctor () [0x00000] 
  at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[])
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] --- End of inner exception stack trace ---

  at ak+a.Create__Instance__[ao] (.ao Instance) [0x00000] 
  at ak+a.f () [0x00000] 
  at af.b () [0x00000] 
  at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun () [0x00000] 
  at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run (System.String[] commandLine) [0x00000] 
  at af.a (System.String[] A_0) [0x00000] 
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Can't run Evidence Scribe

Post by austin987 »

On Sat, Nov 29, 2008 at 5:35 PM, moosehadley <[email protected]> wrote:
ok, did all that, this time I got a longer output.



Code:
blake@blake-desktop ~/.wine/drive_c/Program Files/Idoneum/Evidence Scribe $ wine 'Evidence Scribe.exe'

Unhandled Exception: System.InvalidOperationException: An error occured while creating the form. See Exception.InnerException for details. The error is: An exception was thrown by the type initializer for System.Windows.Forms.Form ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.Form ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus ---> System.DllNotFoundException: gdiplus.dll
Are you sure you're using native gdiplus?
moosehadley
Level 1
Level 1
Posts: 5
Joined: Sat Nov 29, 2008 4:51 pm

Post by moosehadley »

Pretty sure, assuming all you have to do is change it in wineconfig, yes.


Image




Now, if I was supposed to move/copy/remove any files, no.


((edited to correct a typo))
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Can't run Evidence Scribe

Post by austin987 »

On Sat, Nov 29, 2008 at 6:11 PM, moosehadley <[email protected]> wrote:
Pretty sure, assuming all you have to do is change it in wineconfig, yes.


[Image: http://i48.photobucket.com/albums/f230/ ... reen-1.jpg ]




Now, if I was supposed to move/copy/remove and files, no.





No, you need to add the file as well.

Easiest way:

$ wget kegel.com/wine/winetricks
$ sh winetricks gdiplus

--
-Austin
moosehadley
Level 1
Level 1
Posts: 5
Joined: Sat Nov 29, 2008 4:51 pm

Post by moosehadley »

Ok, installed it through winetricks and tried to run it, got this output:

Code: Select all

blake@blake-desktop ~/.wine/drive_c/Program Files/Idoneum/Evidence Scribe $ wine 'Evidence Scribe.exe'
fixme:win:EnumDisplayDevicesW ((null),0,0x60e2d8,0x00000000), stub!
fixme:wtsapi:WTSRegisterSessionNotification Stub 0x1002a 0x00000000

Unhandled Exception: System.InvalidOperationException: An error occured while creating the form. See Exception.InnerException for details. The error is: An exception was thrown by the type initializer for System.Windows.Forms.MimeIconEngine ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.MimeIconEngine ---> System.DllNotFoundException: libgdk-x11-2.0.so.0
  at (wrapper managed-to-native) System.Windows.Forms.GnomeUtil:gdk_init_check (intptr,intptr)
  at System.Windows.Forms.GnomeUtil.Init () [0x00000] 
  at System.Windows.Forms.GnomeUtil.GetIcon (System.String icon, Int32 size) [0x00000] 
  at System.Windows.Forms.GnomeHandler.AddGnomeIcon (System.String internal_mime_type, System.String name) [0x00000] 
  at System.Windows.Forms.GnomeHandler.CreateUIIcons () [0x00000] 
  at System.Windows.Forms.GnomeHandler.Start () [0x00000] 
  at System.Windows.Forms.MimeIconEngine..cctor () [0x00000] --- End of inner exception stack trace ---

  at System.Windows.Forms.WinFileSystem..ctor () [0x00000] 
  at System.Windows.Forms.MWFVFS..ctor () [0x00000] 
  at System.Windows.Forms.FileDialog..ctor () [0x00000] 
  at System.Windows.Forms.OpenFileDialog..ctor () [0x00000] 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.OpenFileDialog:.ctor ()
  at ao.c () [0x00000] 
  at (wrapper remoting-invoke-with-check) ao:c ()
  at ao..ctor () [0x00000] 
  at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[])
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] --- End of inner exception stack trace ---

  at ak+a.Create__Instance__[ao] (.ao Instance) [0x00000] 
  at ak+a.f () [0x00000] 
  at af.b () [0x00000] 
  at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun () [0x00000] 
  at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run (System.String[] commandLine) [0x00000] 
  at af.a (System.String[] A_0) [0x00000] 
Gert van den Berg

Can't run Evidence Scribe

Post by Gert van den Berg »

On Mon, Dec 1, 2008 at 7:46 PM, moosehadley <[email protected]> wrote:
Ok, installed it through winetricks and tried to run it, got this output:
Code:
blake@blake-desktop ~/.wine/drive_c/Program Files/Idoneum/Evidence Scribe $ wine 'Evidence Scribe.exe'
fixme:win:EnumDisplayDevicesW ((null),0,0x60e2d8,0x00000000), stub!
fixme:wtsapi:WTSRegisterSessionNotification Stub 0x1002a 0x00000000

Unhandled Exception: System.InvalidOperationException: An error occured while creating the form. See Exception.InnerException for details. The error is: An exception was thrown by the type initializer for System.Windows.Forms.MimeIconEngine ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.MimeIconEngine ---> System.DllNotFoundException: libgdk-x11-2.0.so.0
at (wrapper managed-to-native) System.Windows.Forms.GnomeUtil:gdk_init_check (intptr,intptr)
at System.Windows.Forms.GnomeUtil.Init () [0x00000]
at System.Windows.Forms.GnomeUtil.GetIcon (System.String icon, Int32 size) [0x00000]
at System.Windows.Forms.GnomeHandler.AddGnomeIcon (System.String internal_mime_type, System.String name) [0x00000]
at System.Windows.Forms.GnomeHandler.CreateUIIcons () [0x00000]
at System.Windows.Forms.GnomeHandler.Start () [0x00000]
at System.Windows.Forms.MimeIconEngine..cctor () [0x00000] --- End of inner exception stack trace ---
<snip>

Looks like a .NET related error... Try installing that with
winetricks... (If you have other applications installed, you might
want to backup your .wine directory before trying too hard to run a
program, especially with DLL overrides and similar methods...)

If it is pure .NET, a *small* chance exists that it may run directly
under Mono on Linux, without Wine...

Gert
amdfan
Newbie
Newbie
Posts: 2
Joined: Wed Feb 11, 2009 9:19 am

Please delete thread

Post by amdfan »

Hi, I'm the Evidence Scribe developer. I've actually corresponded with the original poster about this and worked things out (I'm building a version specifically for Linux). moosehadly can verify that this problem has been solved if you need him to.

Could a moderator delete this thread? The topic is "Can't run..." and it is showing up in Google results looking like someone is having trouble with the program (which is true only in the context of Linux). Thanks!
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Please delete thread

Post by vitamin »

amdfan wrote:Hi, I'm the Evidence Scribe developer. I've actually corresponded with the original poster about this and worked things out (I'm building a version specifically for Linux). moosehadly can verify that this problem has been solved if you need him to.

Could a moderator delete this thread? The topic is "Can't run..." and it is showing up in Google results looking like someone is having trouble with the program (which is true only in the context of Linux). Thanks!
Can you please add this application to the AppDB? And create a HOWTO about how to run it on Wine?
amdfan
Newbie
Newbie
Posts: 2
Joined: Wed Feb 11, 2009 9:19 am

Post by amdfan »

Actually, I got it to work using Mono, not WINE; so it's not really applicable. If I do start using WINE I'll make sure to do that!
Locked