Open forum for end-user questions about
Wine
. Before asking questions, check out the
Wiki
as a first step.
Forum Rules
I have been using MCC Pilotlog with some success in Wine recently, but have run into a vexatious issue.
One of the features of the application is that it can log into a company crew information system and retrieve flight information into the log. I have tested this on a windows VM, and it works fine.
However, under Wine, we get error 445 and then a crash. I am a bit surprised, as I thought that the IE-mimicking facilities in Wine would be able to cope.
I've contacted the MCC developers about the issue, and they cannot throw too much light on the subject, but suggest that this is a code chink that may be causing the problem:
For Each HTMLi In WebBr.Document.getElementsByName("Id")
HTMLi.Value = TxtLoginName
For Each HTMLi In WebBr.Document.getElementsByName("Pass")
HTMLi.Value = TxtPassword
For Each HTMLi In WebBr.Document.getElementsByName("B1")
HTMLi.Click
Exit For
Here's some terminal output copied at the relevant time:
fixme:ole:OleIconToCursor (0x400000,0x60072), partially implemented.
fixme:shdocvw:navigate_url Unsupported args (Flags 0x111b4d30:10; TargetFrameName 0x111b4d40:10)
fixme:urlmon:URLMoniker_BindToObject use running object table
fixme:shdocvw:BindStatusCallback_OnProgress status code 1
fixme:shdocvw:BindStatusCallback_OnProgress status code 2
fixme:shdocvw:BindStatusCallback_OnProgress status code 11
fixme:wininet:set_cookie persistent cookies not handled (L"expires=Sat, 08 Jan 2011 01:42:15 GMT")
fixme:wininet:set_cookie persistent cookies not handled (L"expires=Sat, 08 Jan 2011 01:42:15 GMT")
fixme:shdocvw:BindStatusCallback_OnProgress status code 14
fixme:system:SetProcessDPIAware stub!
fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (_WSAIOW(IOC_VENDOR, 300))
fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (_WSAIOW(IOC_VENDOR, 300))
fixme:iphlpapi:NotifyAddrChange (Handle 0x884e914, overlapped 0x884e918): stub
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:shdocvw:ClOleCommandTarget_QueryStatus (0x111b17b0)->((null) 1 0x33d3c0 (nil))
fixme:shdocvw:ClOleCommandTarget_QueryStatus command_0: 27, 0x0
fixme:shdocvw:ClOleCommandTarget_Exec Unimplemented cmdid 25
fixme:shdocvw:ClOleCommandTarget_Exec Unimplemented cmdid 26
fixme:mshtml:on_change_dlcontrol unsupported dlcontrol 0033d36c
fixme:mshtml:OleControl_OnAmbientPropertyChange not supported AMBIENT_USERAGENT
fixme:mshtml:OleControl_OnAmbientPropertyChange not supported AMBIENT_PALETTE
fixme:shdocvw:ClOleCommandTarget_Exec Unimplemented group {000214d1-0000-0000-c000-000000000046}
fixme:mshtml:nsURI_GetAsciiHost Use Uri_PUNYCODE_IDN_HOST flag
fixme:mshtml:nsHttpChannelInternal_SetDocumentURI (0x1166b190)->()
fixme:shdocvw:ClientSite_GetContainer (0x111b17b0)->(0x33d390)
fixme:shdocvw:ClOleCommandTarget_Exec Unimplemented group {000214d1-0000-0000-c000-000000000046}
fixme:wininet:InternetLockRequestFile STUB
fixme:mshtml:nsChannel_IsNoCacheResponse (0x1166b190)->(0x33c634)
fixme:wininet:CommitUrlCacheEntryInternal entry already in cache - don't know what to do!
fixme:shdocvw:ClOleCommandTarget_Exec Unimplemented cmdid 29
fixme:shdocvw:DocHostUIHandler_GetDropTarget (0x111b17b0)
fixme:mshtml:nsHttpChannelInternal_SetDocumentURI (0x116c10e8)->()
fixme:mshtml:nsChannel_SetResponseHeader (0x1166b190)->("content-type" "text/html; CHARSET=iso-8859-1" 1)
fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (_WSAIOW(IOC_VENDOR, 300))
fixme:mshtml:nsURI_SetUserPass default action not implemented
fixme:advapi:FileEncryptionStatusW (L"C:\\users\\charlie\\Application Data\\wine_gecko\\Cache" 0x33cb78): stub
fixme:file:MoveFileWithProgressW MOVEFILE_WRITE_THROUGH unimplemented
fixme:advapi:SetNamedSecurityInfoW L"C:\\users\\charlie\\Application Data\\wine_gecko\\Cache.Trash\\Trash\\Cache" 1 536870916 (nil) (nil) 0x116cf19c (nil)
fixme:mshtml:nsURI_SetUserPass default action not implemented
fixme:shdocvw:ClientSite_GetContainer (0x111b17b0)->(0x33dd30)
fixme:shdocvw:ClOleCommandTarget_Exec Unimplemented cmdid 25
fixme:shdocvw:ClOleCommandTarget_Exec Unimplemented cmdid 26
fixme:mshtml:HttpNegotiate_GetRootSecurityId (0x116b9b00)->(0x33d850 0x33d828 0)
fixme:mshtml:HttpNegotiate_GetRootSecurityId (0x116ba1a0)->(0x33d850 0x33d828 0)
fixme:mshtml:HttpNegotiate_GetRootSecurityId (0x1167fab8)->(0x33d850 0x33d828 0)
fixme:mshtml:HttpNegotiate_GetRootSecurityId (0x116aeb70)->(0x33d850 0x33d828 0)
fixme:mshtml:HttpNegotiate_GetRootSecurityId (0x11685dd0)->(0x33d850 0x33d828 0)
fixme:mshtml:HttpNegotiate_GetRootSecurityId (0x116b8418)->(0x33d850 0x33d828 0)
fixme:mshtml:HttpNegotiate_GetRootSecurityId (0x116c17b0)->(0x33d850 0x33d828 0)
fixme:shdocvw:ClOleCommandTarget_Exec Unimplemented cmdid 28
fixme:wininet:InternetLockRequestFile STUB
fixme:wininet:CommitUrlCacheEntryInternal entry already in cache - don't know what to do!
fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (_WSAIOW(IOC_VENDOR, 300))
fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (_WSAIOW(IOC_VENDOR, 300))
fixme:wininet:InternetLockRequestFile STUB
fixme:mshtml:nsChannel_GetContentLength (0x11685c50)->(0x33cf7c)
fixme:wininet:InternetLockRequestFile STUB
fixme:mshtml:nsChannel_IsNoCacheResponse (0x116c10e8)->(0x33ce4c)
fixme:resource:GetGuiResources (0xffffffff,0): stub
fixme:wininet:CommitUrlCacheEntryInternal entry already in cache - don't know what to do!
fixme:wininet:InternetLockRequestFile STUB
fixme:mshtml:nsChannel_GetContentLength (0x116b8358)->(0x33cf7c)
fixme:wininet:InternetLockRequestFile STUB
fixme:mshtml:nsChannel_GetContentLength (0x11685d28)->(0x33cc1c)
fixme:wininet:InternetLockRequestFile STUB
fixme:wininet:CommitUrlCacheEntryInternal entry already in cache - don't know what to do!
fixme:wininet:InternetLockRequestFile STUB
fixme:mshtml:nsChannel_GetContentLength (0x116997b0)->(0x33cf7c)
fixme:wininet:CommitUrlCacheEntryInternal entry already in cache - don't know what to do!
fixme:wininet:CommitUrlCacheEntryInternal entry already in cache - don't know what to do!
fixme:mshtml:nsURI_SetUserPass default action not implemented
fixme:shdocvw:ClOleCommandTarget_Exec Unimplemented group {000214d0-0000-0000-c000-000000000046}
fixme:shdocvw:PropertyNotifySink_OnChanged unimplemented dispid 1005
fixme:shdocvw:ClOleCommandTarget_Exec Unimplemented group {000214d0-0000-0000-c000-000000000046}
fixme:shdocvw:ClOleCommandTarget_Exec Unimplemented cmdid 26
fixme:shdocvw:ClOleCommandTarget_Exec Unimplemented cmdid 29
fixme:shdocvw:ClOleCommandTarget_Exec Unimplemented group {000214d1-0000-0000-c000-000000000046}
fixme:shdocvw:ClOleCommandTarget_Exec Unimplemented group {de4ba900-59ca-11cf-9592-444553540000}
fixme:shdocvw:ClOleCommandTarget_Exec Unimplemented cmdid 35
fixme:mshtml:nsChannel_IsNoCacheResponse (0x1166b190)->(0x33d814)
fixme:mshtml:HTMLDocument3_getElementsByName (0x111e8b18)->(L"Id" 0x33e390)
fixme:ole:OLEPictureImpl_FindConnectionPoint no connection point for {33ad4f92-6699-11cf-b70c-00aa0060d393}
fixme:ole:OLEPictureImpl_FindConnectionPoint no connection point for {33ad4f92-6699-11cf-b70c-00aa0060d393}
fixme:ole:OLEPictureImpl_FindConnectionPoint no connection point for {33ad4f92-6699-11cf-b70c-00aa0060d393}
fixme:ole:OLEPictureImpl_FindConnectionPoint no connection point for {33ad4f92-6699-11cf-b70c-00aa0060d393}
fixme:ole:OLEPictureImpl_FindConnectionPoint no connection point for {33ad4f92-6699-11cf-b70c-00aa0060d393}
fixme:ole:OLEPictureImpl_FindConnectionPoint no connection point for {33ad4f92-6699-11cf-b70c-00aa0060d393}
fixme:ole:OLEPictureImpl_FindConnectionPoint no connection point for {33ad4f92-6699-11cf-b70c-00aa0060d393}
fixme:ole:OLEPictureImpl_FindConnectionPoint no connection point for {33ad4f92-6699-11cf-b70c-00aa0060d393}
fixme:ole:OLEPictureImpl_FindConnectionPoint no connection point for {33ad4f92-6699-11cf-b70c-00aa0060d393}
fixme:ole:OLEPictureImpl_FindConnectionPoint no connection point for {33ad4f92-6699-11cf-b70c-00aa0060d393}
fixme:ole:OLEPictureImpl_FindConnectionPoint no connection point for {33ad4f92-6699-11cf-b70c-00aa0060d393}
fixme:ole:OLEPictureImpl_FindConnectionPoint no connection point for {33ad4f92-6699-11cf-b70c-00aa0060d393}
fixme:ole:OLEPictureImpl_FindConnectionPoint no connection point for {33ad4f92-6699-11cf-b70c-00aa0060d393}
I have been able to use the target website with the Wine IE browser, after changing the user-agent string.
All input gratefully received!
Charlie
One more thing:
I have had to set Windows version as Win 7 in winecfg, as the XP and Vista options did not work!
Charlie
I have been using MCC Pilotlog with some success in Wine recently, but have run into a vexatious issue.
One of the features of the application is that it can log into a company crew information system and retrieve flight information into the log. I have tested this on a windows VM, and it works fine.
However, under Wine, we get error 445 and then a crash. I am a bit surprised, as I thought that the IE-mimicking facilities in Wine would be able to cope.
I've contacted the MCC developers about the issue, and they cannot throw too much light on the subject, but suggest that this is a code chink that may be causing the problem:
Code:
For Each HTMLi In WebBr.Document.getElementsByName("Id")
HTMLi.Value = TxtLoginName
For Each HTMLi In WebBr.Document.getElementsByName("Pass")
HTMLi.Value = TxtPassword
For Each HTMLi In WebBr.Document.getElementsByName("B1")
HTMLi.Click
Exit For
Here's some terminal output copied at the relevant time:
Code:
fixme:ole:OleIconToCursor (0x400000,0x60072), partially implemented.
fixme:shdocvw:navigate_url Unsupported args (Flags 0x111b4d30:10; TargetFrameName 0x111b4d40:10)
fixme:urlmon:URLMoniker_BindToObject use running object table
fixme:shdocvw:BindStatusCallback_OnProgress status code 1
fixme:shdocvw:BindStatusCallback_OnProgress status code 2
fixme:shdocvw:BindStatusCallback_OnProgress status code 11
fixme:wininet:set_cookie persistent cookies not handled (L"expires=Sat, 08 Jan 2011 01:42:15 GMT")
fixme:wininet:set_cookie persistent cookies not handled (L"expires=Sat, 08 Jan 2011 01:42:15 GMT")
fixme:shdocvw:BindStatusCallback_OnProgress status code 14
fixme:system:SetProcessDPIAware stub!
fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (_WSAIOW(IOC_VENDOR, 300))
fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (_WSAIOW(IOC_VENDOR, 300))
fixme:iphlpapi:NotifyAddrChange (Handle 0x884e914, overlapped 0x884e918): stub
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:shdocvw:ClOleCommandTarget_QueryStatus (0x111b17b0)->((null) 1 0x33d3c0 (nil))
fixme:shdocvw:ClOleCommandTarget_QueryStatus command_0: 27, 0x0
fixme:shdocvw:ClOleCommandTarget_Exec Unimplemented cmdid 25
fixme:shdocvw:ClOleCommandTarget_Exec Unimplemented cmdid 26
fixme:mshtml:on_change_dlcontrol unsupported dlcontrol 0033d36c
fixme:mshtml:OleControl_OnAmbientPropertyChange not supported AMBIENT_USERAGENT
fixme:mshtml:OleControl_OnAmbientPropertyChange not supported AMBIENT_PALETTE
fixme:shdocvw:ClOleCommandTarget_Exec Unimplemented group {000214d1-0000-0000-c000-000000000046}
fixme:mshtml:nsURI_GetAsciiHost Use Uri_PUNYCODE_IDN_HOST flag
fixme:mshtml:nsHttpChannelInternal_SetDocumentURI (0x1166b190)->()
fixme:shdocvw:ClientSite_GetContainer (0x111b17b0)->(0x33d390)
fixme:shdocvw:ClOleCommandTarget_Exec Unimplemented group {000214d1-0000-0000-c000-000000000046}
There are many bug reports with this exact GUID in them. Time to file
an additional report.
BTW, this is used for to show a possible certificate to site mismatch
dialog box.
James McKenzie
Thanks, James
Can you tell me how to see the GUID from the information I have posted above? I'd like to take a look at other bugs (I have already filed a new one:
http://bugs.winehq.org/show_bug.cgi?id=25771
Charlie
Thanks, James
Can you tell me how to see the GUID from the information I have posted above? I'd like to take a look at other bugs (I have already filed a new one:
http://bugs.winehq.org/show_bug.cgi?id=25771
The key here was that the code kept coming back with 'not implemented'
and this may or may not affect the ability to run your program, but the
crash occurred immediately after one of the 'fixmes' that addressed this
issue. I tried to look up information on how to use/implement this
feature, but MSDN had none and I was unable to find any other
information on this other than 'this is deprecated, use the call that
replaced it'.
James McKenzie
Many thanks for this- installing ie7 worked. I am very sorry not to have seen and replied to your post earlier- don't know how I missed it.
I will update the AppDB entry now.
Cheeeers!
Charlie
OK, we still seem to have a bit of an issue here:
After installing ie7, initially everything worked, but after rebooting, it seemed that the same problem reoccurred.
So, I installed ie8, and all was well... until a reboot. Of course, winetricks doesn't easily re-install ie, not that that would be a great solution, anyway.
So what's going on here? How can we fix this?
Cheers
Charlie
Bug already created- 25771.
However, I'm really curious as to why the workaround stops working after a reboot!
Charlie
Go on- can anyone shed any light on this? Very strange that it works until I reboot my laptop. I don't see any processes that are not running that were before...
Pleeese!
Charlie
On Tue, Jul 19, 2011 at 4:51 AM, Charlie-the-exile
<
[email protected]
> wrote:
Go on- can anyone shed any light on this? Very strange that it works until I reboot my laptop. I don't see any processes
that are not running that were before...
Sounds like something that is happening with a configuration file that
is reset when you reboot. Either that or a file that loads when you
run through the fix process.
You may also be dropping an environment configuration, something that
Wine cannot control.
Try the following:
env > environment.before.reboot.txt
reboot
env > envirornment.after.reboot.txt
diff -u environment.before.reboot.txt environment.after.reboot.txt
If there are no differences, I'm out of ideas.
James
Nothing leaps out at me there: any ideas?
Thanks in advance.
Charlie
Nothing leaps out at me there: any ideas?
Dunno the significance to this problem, if any, but I don't
ordinarily expect to see DISPLAY=:1 unless to signify the
second head of a two-headed setup. Does your system in fact
have two monitors (or two video cards, even if only one is
in use)? If so, were the two env dumps taken while using
different monitors or cards?
Hi Perry
No, nothing going on like that- one monitor, using nVidia card on my laptop. It's a good spot, though, I really don't know why that crops up.
Charlie
I'm not sure of the relevance of the above. Is it spam?
Anyway, all assistance appreciated.
Charlie
OK- here's something else that I have found:
I uninstalled, then reinstalled IE, so that this feature was working. Then, I made a copy of the whole wine environment, and tested again. Then I logged-out and logged in again.
The feature was still working.
so, I ran wineboot, and the feature remained functional.
So, I rebooted my laptop, then tried again, and I found that the problem reoccurred. So, I reverted to the copied environment (from when the internet-accessing feature was working) back to the original location, and found that I still had the problem.
Hope that makes sense.
Anyway, it seems to mean that the change that happens to cause this issue to recur after rebooting isn't in the Wine environment, but somewhere else. That's wierd. Any ideas?
Charlie
Right, I have tracked this down and fixed it.
Winetricks inserts a bunch of DLL overrides, that were getting forgotten after a reboot. I think that this might have been down to a corrupt user.reg file. Don't know how that came to be, maybe winetricks, but not sure.
Now that the overrides are fixed in place, all is well.
Thanks to all for your pointers.
Charlie