https://bugs.winehq.org/show_bug.cgi?id=38202
Bug ID: 38202 Summary: Windows exectuable fails to open and process spreadsheet Product: Wine Version: 1.7.34 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: comdlg32 Assignee: wine-bugs@winehq.org Reporter: udippel@gmail.com Distribution: ---
Created attachment 50983 --> https://bugs.winehq.org/attachment.cgi?id=50983 Executable for reading from Excel file
There is a VB6 application that opens an Excel file and reads some items from it. (It does work in Windows.) When opening with wine, strangely enough, visible is the second instance ....(2) of the window, and it fails to read the number of entries from the sheet.
Instructions: Start it Datei->Klausurdaten laden
This should result in a display of "5 Kandidaten 1 nicht erschienen 4 Blätter" I spare things to happen later, as long as this does not work.
I attach the very basic sample spreadsheet for this first step, and I'll try to attach the executable - both as test case.
https://bugs.winehq.org/show_bug.cgi?id=38202
--- Comment #1 from udippel udippel@gmail.com --- Created attachment 50984 --> https://bugs.winehq.org/attachment.cgi?id=50984 Excel file to be opened by application
https://bugs.winehq.org/show_bug.cgi?id=38202
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com --- Do you have rights to distribute this? It would be helpful if you attached terminal output running this thing.
https://bugs.winehq.org/show_bug.cgi?id=38202
--- Comment #3 from udippel udippel@gmail.com --- Created attachment 50985 --> https://bugs.winehq.org/attachment.cgi?id=50985 Terminal output at running Mustererkennung
https://bugs.winehq.org/show_bug.cgi?id=38202
--- Comment #4 from udippel udippel@gmail.com --- (In reply to Nikolay Sivov from comment #2)
Do you have rights to distribute this? It would be helpful if you attached terminal output running this thing.
It is written in-house, for our own purposes. Therefore, I can't see any problem. I'll attach the terminal output.
https://bugs.winehq.org/show_bug.cgi?id=38202
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com --- (In reply to udippel from comment #4)
(In reply to Nikolay Sivov from comment #2)
Do you have rights to distribute this? It would be helpful if you attached terminal output running this thing.
It is written in-house, for our own purposes. Therefore, I can't see any problem.
Sure, I asked to make sure it's okay.
I'll attach the terminal output.
Looks like it's typelib related:
--- fixme:ole:serialize_param unhandled switch cases tattr->typekind 5 fixme:ole:deserialize_param unhandled switch cases tattr->typekind 5 fixme:ntdll:NtLockFile I/O completion on lock not implemented yet fixme:shell:SHIsFileAvailableOffline (L"[Path obfuscated]Minimal_Sample.xls", 0x32ca80) stub fixme:ole:serialize_param unhandled switch cases tattr->typekind 5 fixme:ole:serialize_param Unhandled typekind 5 err:ole:TMStubImpl_Invoke Failed to stuballoc param, hres 80004005 fixme:ole:deserialize_param unhandled switch cases tattr->typekind 5 err:ole:deserialize_param Unhandled typekind 5 err:ole:deserialize_param failed to stuballoc in TKIND_RECORD. err:ole:xCall Failed to unmarshall param, hres 80004005 ---
A log with +typelib,+ole,+tid would be helpful probably.
https://bugs.winehq.org/show_bug.cgi?id=38202
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|comdlg32 |-unknown
https://bugs.winehq.org/show_bug.cgi?id=38202
--- Comment #6 from Bruno Jesus 00cpxxx@gmail.com --- As is the attachment is not useful, when I run it in Windows it says it requires muster200dpi.jpg, if I fake that file with any other jpg file it will complain "File not found" and quit. Probably requires a proper installer.
https://bugs.winehq.org/show_bug.cgi?id=38202
--- Comment #7 from udippel udippel@gmail.com --- No, doesn't (require an installer). I attach the .JPG. Please revert in case anything else is needed for it to run.
https://bugs.winehq.org/show_bug.cgi?id=38202
--- Comment #8 from udippel udippel@gmail.com --- Created attachment 50986 --> https://bugs.winehq.org/attachment.cgi?id=50986 File necessary to run Mustererkennung
https://bugs.winehq.org/show_bug.cgi?id=38202
--- Comment #9 from udippel udippel@gmail.com --- Okay, tried myself and here are two more files that make it run in Windows. It seems to require the .jpg, the .sln and the config file.
https://bugs.winehq.org/show_bug.cgi?id=38202
--- Comment #10 from udippel udippel@gmail.com --- Created attachment 50987 --> https://bugs.winehq.org/attachment.cgi?id=50987 Additional file to run Mustererkennung
https://bugs.winehq.org/show_bug.cgi?id=38202
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #50987|text/plain |application/octet-stream mime type| |
https://bugs.winehq.org/show_bug.cgi?id=38202
--- Comment #11 from udippel udippel@gmail.com --- Created attachment 50988 --> https://bugs.winehq.org/attachment.cgi?id=50988 Another, 4th, file necessary. And the last one required here.
This is the content of an extra file, to be named 'Mustererkennung.ini' and placed into the same directory, together with the executable.
https://bugs.winehq.org/show_bug.cgi?id=38202
--- Comment #12 from udippel udippel@gmail.com --- So tried here copying to the Desktop the files Mustererkennung.exe (216 KB) muster200dpi.jpg (945 Byte) Mustererkennung.sln (625 Byte) Mustererkennung.ini (184 Byte, will be overwritten by program) and it runs at least the initial steps at extracting the number of registered and the number of participants that have turned up.
I hope that it does for everyone out there, too!
https://bugs.winehq.org/show_bug.cgi?id=38202
--- Comment #13 from Bruno Jesus 00cpxxx@gmail.com --- The application now runs in XP, I then try the "Datei->Klausurdaten laden", then select the xls file and nothing happens. I don't have excel installed in the machine, is it required?
Please zip the files together and add as a single attachment.
https://bugs.winehq.org/show_bug.cgi?id=38202
--- Comment #14 from udippel udippel@gmail.com --- I very much think that Excel is necessary to be installed. I also attach the screenshot for what it is supposed to look once the Excel file has been loaded.
https://bugs.winehq.org/show_bug.cgi?id=38202
--- Comment #15 from udippel udippel@gmail.com --- Created attachment 50989 --> https://bugs.winehq.org/attachment.cgi?id=50989 Screen display after 'Datei -> Klausurdaten laden' when correct
https://bugs.winehq.org/show_bug.cgi?id=38202
--- Comment #16 from udippel udippel@gmail.com --- Created attachment 50990 --> https://bugs.winehq.org/attachment.cgi?id=50990 All files that are needed to run, at least on my machine
https://bugs.winehq.org/show_bug.cgi?id=38202
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #50983|0 |1 is obsolete| |
https://bugs.winehq.org/show_bug.cgi?id=38202
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #50986|0 |1 is obsolete| |
https://bugs.winehq.org/show_bug.cgi?id=38202
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #50987|0 |1 is obsolete| |
https://bugs.winehq.org/show_bug.cgi?id=38202
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #50988|0 |1 is obsolete| |
https://bugs.winehq.org/show_bug.cgi?id=38202
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
https://bugs.winehq.org/show_bug.cgi?id=38202
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |oleaut32
--- Comment #17 from Nikolay Sivov bunglehead@gmail.com --- If Excel is required it means that this application talks to Excel API through typelib marshaller, so TKIND_COCLASS typekind case is probably necessary.
https://bugs.winehq.org/show_bug.cgi?id=38202
--- Comment #18 from udippel udippel@gmail.com --- (In reply to Nikolay Sivov from comment #17)
If Excel is required it means that this application talks to Excel API through typelib marshaller, so TKIND_COCLASS typekind case is probably necessary.
If this is directed at me (??), sorry, I can't understand. I checked if this is a library, but I couldn't find one. I couldn't find anything like that in winetricks, neither.
https://bugs.winehq.org/show_bug.cgi?id=38202
--- Comment #19 from Bruno Jesus 00cpxxx@gmail.com --- Excel is indeed required, I just tested in another machine which has Excel and it worked.
Even if that is not supposed to work currently in wine a question that can be made is: In the wine prefix you are testing the application did you install excel?
https://bugs.winehq.org/show_bug.cgi?id=38202
--- Comment #20 from Nikolay Sivov bunglehead@gmail.com --- (In reply to Bruno Jesus from comment #19)
Even if that is not supposed to work currently in wine a question that can be made is: In the wine prefix you are testing the application did you install excel?
Log shows that Office is installed:
--- fixme:advapi:RegisterEventSourceW ((null),L"Microsoft Office 12 Sessions"): stub ---
Otherwise it would failed with typelib loading error or something like that.
https://bugs.winehq.org/show_bug.cgi?id=38202
--- Comment #21 from udippel udippel@gmail.com --- (In reply to Bruno Jesus from comment #19)
Excel is indeed required, I just tested in another machine which has Excel and it worked.
Even if that is not supposed to work currently in wine a question that can be made is: In the wine prefix you are testing the application did you install excel?
I'm not sure I understand. I installed Office 2007 in the same machine, using the 'setup.exe'. I don't remember if I explicitly typed 'wine setup.exe' or whatnot.
https://bugs.winehq.org/show_bug.cgi?id=38202
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |leslie_alistair@hotmail.com Resolution|--- |DUPLICATE
--- Comment #22 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Duplicate of 19016 which has a patch to resolve this issue.
*** This bug has been marked as a duplicate of bug 19016 ***
https://bugs.winehq.org/show_bug.cgi?id=38202
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #23 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Closing Duplicate