Problems with Wine, Thanks!

Questions about Wine on macOS.
Locked
raisnow
Level 1
Level 1
Posts: 8
Joined: Mon Aug 27, 2012 5:23 pm

Problems with Wine, Thanks!

Post by raisnow »

Recently, I was trying to run a program with Wine on Macbook. The program can be run, but some parts can not be shown. I get messages from both terminal and the program I was running.
It seems that I need enable just-in-time (JIT) debugging.

Could anyone tell me how can I fix this problem?
Thanks!!

Raisnow

I got following message in Terminal:
Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded!
err:ole:CoGetContextToken apartment not initialised
fixme:shell:URL_ParseUrl failed to parse L"System.Windows.Forms"
fixme:shell:URL_ParseUrl failed to parse L"System"
fixme:shell:URL_ParseUrl failed to parse L"System.Drawing"
fixme:shell:URL_ParseUrl failed to parse L"TPO.resources"
fixme:shell:URL_ParseUrl failed to parse L"TPO.resources"
fixme:wincodecs:JpegDecoder_Frame_GetResolution (0x1840fc,0x32e5c8,0x32e5c0): stub
fixme:gdiplus:GdipGetFamilyName No support for handling of multiple languages!
fixme:shell:URL_ParseUrl failed to parse L"TPO.resources"
fixme:shell:URL_ParseUrl failed to parse L"TPO.resources"
fixme:wincodecs:JpegDecoder_Frame_GetResolution (0x18a4bc,0x329218,0x329210): stub
fixme:wincodecs:JpegDecoder_Frame_GetResolution (0x18a4bc,0x329218,0x329210): stub
fixme:wincodecs:JpegDecoder_Frame_GetResolution (0x18a4bc,0x329218,0x329210): stub
fixme:wincodecs:JpegDecoder_Frame_GetResolution (0x18a714,0x329218,0x329210): stub
fixme:wincodecs:JpegDecoder_Frame_GetResolution (0x18a714,0x329218,0x329210): stub
fixme:wincodecs:JpegDecoder_Frame_GetResolution (0x18d574,0x329218,0x329210): stub
fixme:wincodecs:JpegDecoder_Frame_GetResolution (0x18d574,0x329218,0x329210): stub
fixme:wincodecs:JpegDecoder_Frame_GetResolution (0x18d574,0x329218,0x329210): stub
fixme:wincodecs:JpegDecoder_Frame_GetResolution (0x193a1c,0x329218,0x329210): stub
fixme:ole:OLEPictureImpl_QueryInterface () : asking for un supported interface {c3fcc19e-a970-11d2-8b5a-00a0c9b7c9c4}
fixme:ole:OLEPictureImpl_QueryInterface () : asking for un supported interface {b196b283-bab4-101a-b69c-00aa00341d07}
fixme:ole:OLEPictureImpl_QueryInterface () : asking for un supported interface {00000003-0000-0000-c000-000000000046}
fixme:ole:OLEPictureImpl_QueryInterface () : asking for un supported interface {00000144-0000-0000-c000-000000000046}
fixme:wincodecs:JpegDecoder_Frame_GetResolution (0x18e234,0x329218,0x329210): stub
fixme:wincodecs:JpegDecoder_Frame_GetResolution (0x18e4b4,0x329218,0x329210): stub
fixme:wincodecs:JpegDecoder_Frame_GetResolution (0x196d24,0x329218,0x329210): stub
fixme:wincodecs:JpegDecoder_Frame_GetResolution (0x196d24,0x329218,0x329210): stub
fixme:wincodecs:JpegDecoder_Frame_GetResolution (0x196d24,0x329218,0x329210): stub
fixme:wincodecs:JpegDecoder_Frame_GetResolution (0x198c34,0x329218,0x329210): stub
fixme:wincodecs:JpegDecoder_Frame_GetResolution (0x198c34,0x329218,0x329210): stub
fixme:wincodecs:JpegDecoder_Frame_GetResolution (0x198c34,0x329218,0x329210): stub
fixme:wincodecs:JpegDecoder_Frame_GetResolution (0x198c34,0x329218,0x329210): stub
fixme:wincodecs:JpegDecoder_Frame_GetResolution (0x198c34,0x329218,0x329210): stub
fixme:wincodecs:JpegDecoder_Frame_GetResolution (0x198c34,0x329218,0x329210): stub
fixme:wincodecs:JpegDecoder_Frame_GetResolution (0x198e54,0x329218,0x329210): stub
fixme:wincodecs:JpegDecoder_Frame_GetResolution (0x199c3c,0x329218,0x329210): stub
fixme:wincodecs:JpegDecoder_Frame_GetResolution (0x199c3c,0x329218,0x329210): stub
fixme:wincodecs:JpegDecoder_Frame_GetResolution (0x19a4f4,0x329218,0x329210): stub
fixme:wincodecs:JpegDecoder_Frame_GetResolution (0x19a4f4,0x329218,0x329210): stub
fixme:wincodecs:JpegDecoder_Frame_GetResolution (0x19bf1c,0x329218,0x329210): stub
fixme:wincodecs:JpegDecoder_Frame_GetResolution (0x19bf1c,0x329218,0x329210): stub
fixme:wincodecs:JpegDecoder_Frame_GetResolution (0x19c08c,0x329218,0x329210): stub
fixme:gdiplus:GdipCreateHalftonePalette stub
fixme:shell:URL_ParseUrl failed to parse L"System.Management"
fixme:wbemprox:wbemprox_cf_QueryInterface interface {b196b28f-bab4-101a-b69c-00aa00341d07} not implemented
fixme:wbemprox:wbem_locator_QueryInterface interface {c3fcc19e-a970-11d2-8b5a-00a0c9b7c9c4} not implemented
fixme:wbemprox:wbem_locator_QueryInterface interface {00000003-0000-0000-c000-000000000046} not implemented
fixme:wbemprox:wbem_locator_QueryInterface interface {00000144-0000-0000-c000-000000000046} not implemented
fixme:ole:Context_QueryInterface interface not implemented {51372ae0-cae7-11cf-be81-00aa00a2fa25}
fixme:wbemprox:wbem_locator_ConnectServer 0x1addb8, L"\\\\.\\root\\cimv2", (null), (null), L"", 0x00000080, L"", 0x0, 0x473e82c)
fixme:wmiutils:wmiutils_cf_QueryInterface interface {b196b28f-bab4-101a-b69c-00aa00341d07} not implemented
fixme:wmiutils:status_code_QueryInterface interface {c3fcc19e-a970-11d2-8b5a-00a0c9b7c9c4} not implemented
fixme:wmiutils:status_code_QueryInterface interface {00000003-0000-0000-c000-000000000046} not implemented
fixme:wmiutils:status_code_QueryInterface interface {00000144-0000-0000-c000-000000000046} not implemented
fixme:wmiutils:status_code_GetErrorCodeText 0x163ea0, 0x80041001, 0x0000, 0x00000001, 0x473ecfc
fixme:wbemprox:wbemprox_cf_QueryInterface interface {b196b28f-bab4-101a-b69c-00aa00341d07} not implemented
fixme:wbemprox:wbem_locator_QueryInterface interface {c3fcc19e-a970-11d2-8b5a-00a0c9b7c9c4} not implemented
fixme:wbemprox:wbem_locator_QueryInterface interface {00000003-0000-0000-c000-000000000046} not implemented
fixme:wbemprox:wbem_locator_QueryInterface interface {00000144-0000-0000-c000-000000000046} not implemented
fixme:ole:Context_QueryInterface interface not implemented {51372ae0-cae7-11cf-be81-00aa00a2fa25}
fixme:wbemprox:wbem_locator_ConnectServer 0x163798, L"\\\\.\\root\\cimv2", (null), (null), L"", 0x00000080, L"", 0x0, 0x483e7ac)
fixme:wmiutils:wmiutils_cf_QueryInterface interface {b196b28f-bab4-101a-b69c-00aa00341d07} not implemented
fixme:wmiutils:status_code_QueryInterface interface {c3fcc19e-a970-11d2-8b5a-00a0c9b7c9c4} not implemented
fixme:wmiutils:status_code_QueryInterface interface {00000003-0000-0000-c000-000000000046} not implemented
fixme:wmiutils:status_code_QueryInterface interface {00000144-0000-0000-c000-000000000046} not implemented
fixme:wmiutils:status_code_GetErrorCodeText 0x1b6bf0, 0x80041001, 0x0000, 0x00000001, 0x483ec7c
fixme:shell:URL_ParseUrl failed to parse L"System.Xml"
fixme:ole:Context_CC_ContextCallback (0x163d00/0x163d04)->(0x79f277a5, 0x2b6f0f8, {d7174f82-36b8-4aa8-800a-e963ab2dfab9}, 2, 0x0)
fixme:ole:Context_CC_ContextCallback (0x163d00/0x163d04)->(0x79f277a5, 0x2b6f08c, {d7174f82-36b8-4aa8-800a-e963ab2dfab9}, 2, 0x0)
fixme:ole:Context_CC_ContextCallback (0x163d00/0x163d04)->(0x79f277a5, 0x2b6f08c, {d7174f82-36b8-4aa8-800a-e963ab2dfab9}, 2, 0x0)
fixme:ole:Context_CC_ContextCallback (0x1b1750/0x1b1754)->(0x79f277a5, 0x2b6f0f8, {d7174f82-36b8-4aa8-800a-e963ab2dfab9}, 2, 0x0)
fixme:ole:Context_CC_ContextCallback (0x1b1750/0x1b1754)->(0x79f277a5, 0x2b6f08c, {d7174f82-36b8-4aa8-800a-e963ab2dfab9}, 2, 0x0)
fixme:ole:Context_CC_ContextCallback (0x1b1750/0x1b1754)->(0x79f277a5, 0x2b6f08c, {d7174f82-36b8-4aa8-800a-e963ab2dfab9}, 2, 0x0)
fixme:wincodecs:JpegDecoder_Frame_GetResolution (0x1c8e6c,0x32ea38,0x32ea30): stub
fixme:wincodecs:JpegDecoder_Frame_GetResolution (0x1cefac,0x32ea28,0x32ea20): stub
fixme:wincodecs:JpegDecoder_Frame_GetResolution (0x1cefac,0x32ea28,0x32ea20): stub
fixme:richedit:ME_HandleMessage EM_GETLANGOPTIONS: stub
fixme:richedit:ME_HandleMessage EM_GETLANGOPTIONS: stub
fixme:richedit:ME_HandleMessage EM_SETLANGOPTIONS: stub
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
fixme:richedit:ME_HandleMessage EM_GETLANGOPTIONS: stub
fixme:richedit:ME_HandleMessage EM_GETLANGOPTIONS: stub
fixme:richedit:ME_HandleMessage EM_SETLANGOPTIONS: stub
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
fixme:wincodecs:JpegDecoder_Frame_GetResolution (0x1bf604,0x32e888,0x32e880): stub
fixme:wincodecs:JpegDecoder_Frame_GetResolution (0x1bf604,0x32e888,0x32e880): stub
fixme:richedit:ME_HandleMessage EM_GETLANGOPTIONS: stub
fixme:richedit:ME_HandleMessage EM_GETLANGOPTIONS: stub
fixme:richedit:ME_HandleMessage EM_SETLANGOPTIONS: stub
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
fixme:richedit:ME_HandleMessage EM_GETLANGOPTIONS: stub
fixme:richedit:ME_HandleMessage EM_GETLANGOPTIONS: stub
fixme:richedit:ME_HandleMessage EM_SETLANGOPTIONS: stub
fixme:richedit:ME_HandleMessage EM_GETLANGOPTIONS: stub
fixme:richedit:ME_HandleMessage EM_GETLANGOPTIONS: stub
fixme:richedit:ME_HandleMessage EM_SETLANGOPTIONS: stub
fixme:wincodecs:JpegDecoder_Frame_GetResolution (0x1b434c,0x32eaf8,0x32eaf0): stub
fixme:wincodecs:JpegDecoder_Frame_GetResolution (0x1b434c,0x32eaf8,0x32eaf0): stub
fixme:richedit:ME_HandleMessage EM_GETLANGOPTIONS: stub
fixme:richedit:ME_HandleMessage EM_GETLANGOPTIONS: stub
fixme:richedit:ME_HandleMessage EM_SETLANGOPTIONS: stub
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
fixme:richedit:IRichEditOle_fnQueryInterface 0x390f9c0: unhandled interface {c3fcc19e-a970-11d2-8b5a-00a0c9b7c9c4}
fixme:richedit:IRichEditOle_fnQueryInterface 0x390f9c0: unhandled interface {b196b283-bab4-101a-b69c-00aa00341d07}
fixme:richedit:IRichEditOle_fnQueryInterface 0x390f9c0: unhandled interface {00000003-0000-0000-c000-000000000046}
fixme:richedit:IRichEditOle_fnQueryInterface 0x390f9c0: unhandled interface {00000144-0000-0000-c000-000000000046}
fixme:richedit:ITextDocument_fnRange stub 0x390f9c0


The program also jump a box, giving me following message:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NotImplementedException: The method or operation is not implemented.
at System.Windows.Forms.UnsafeNativeMethods.ITextDocument.Range(Int32 cp1, Int32 cp2)
at System.Windows.Forms.TextBoxBase.ScrollToCaret()
at TPO.UI.MainForm.LoadReadingMaterialAndQA()
at TPO.UI.MainForm.btn_continue_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.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.42 (RTM.050727-4200)
CodeBase: file:///C:/windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
TPO
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///Z:/Users/XianchunTang/Windows/TPO3/tpo3.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
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.42 (RTM.050727-4200)
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.42 (RTM.050727-4200)
CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Management
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.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.
User avatar
DanKegel
Moderator
Moderator
Posts: 1164
Joined: Wed May 14, 2008 11:44 am

Re: Problems with Wine, Thanks!

Post by DanKegel »

What app is this?

Does 'winetricks riched20' help?
raisnow
Level 1
Level 1
Posts: 8
Joined: Mon Aug 27, 2012 5:23 pm

Re: Problems with Wine, Thanks!

Post by raisnow »

It is a exam program. Basically, the right side of the screen has reading contents, and the left side has questions. Usually on PC, I can drag up and down the reading contents (right side) while keep the left side nor move. What the problem I had on Mac is that I cannot see contents on left side screen.
Thanks.
User avatar
DanKegel
Moderator
Moderator
Posts: 1164
Joined: Wed May 14, 2008 11:44 am

Re: Problems with Wine, Thanks!

Post by DanKegel »

Does 'winetricks riched20' help?
See http://wiki.winehq.org/winetricks

Is the program available for download anywhere?
Locked