http://bugs.winehq.org/show_bug.cgi?id=37000
Bug ID: 37000 Summary: DELISprint does not run Product: Wine Version: 1.7.15 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: hans011@ib-lederer.de
Created attachment 49155 --> http://bugs.winehq.org/attachment.cgi?id=49155 Command line messages, from a run on Linux Mint Debian Ed. x64 / Mate Desktop and Wine 1.7.15
DELISprint is an online/offline parcel check-in and label print application from DPD, a large German parcel service. It is necessary for business customers of DPD. You need to be a registered customer to really use it, but it can be freely tried in demo mode. It may be freely downloaded from http://delisprint.dpd.com/download/v5/DELISprint_Setup.exe (Ver. 5.6.7.0, 30 MB).
According to its included Help PDF it is written for Win 2000/XP, but runs also on Win 7. It seems to make heavy use of a Jet DB and brings 30 dlls. Prior to installation in a new WINEPREFIX it needs jet40 and mdac28 via winetricks.
With these prerequisites DELISprint_Setup.exe installs. On first start it automatically imports quite a lot of CSV data into its DB and then seems to work. But on exit and second start it hangs at its splash screen, the Wine debugger window opens but remains empty.
The same happened with Wine 1.7.11 and Wine 1.6.2 on an x86 installation. I found one old unanswered forum thread with the same problem: http://www.winehq.org/pipermail/wine-users/2012-March/104110.html
See attached command line messages, from a run on Linux Mint Debian Ed. x64 / Mate Desktop and Wine 1.7.15, after clicking »Close« in the debugger window and then pressing Ctrl-C because the program didn't close.
http://bugs.winehq.org/show_bug.cgi?id=37000
Hans hans011@ib-lederer.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hans011@ib-lederer.de
http://bugs.winehq.org/show_bug.cgi?id=37000
--- Comment #1 from Hans hans011@ib-lederer.de --- Comparing to a Win 7 installation I see that the Wine installation did not finish correctly and also that the app did not work correctly on its first run.
I did get DELISprint to work in Wine 1.7.15 (correctly as far as I could see) with the following:
• Setting up a new WINEPREFIX $HOME/.wine_DPD as Windows 7. • Installing jet40 via winetricks (which pulled mdac27). • Installing from DELISprint_Setup.exe but manually changing the installation path to C:\DPD\DELISprint like it automatically did in original Win 7.
I hope this is reliable. I'll try to repeat it with Wine 1.6.2 on an old 32 bit machine.
https://bugs.winehq.org/show_bug.cgi?id=37000
--- Comment #2 from Austin English austinenglish@gmail.com --- A) in your original test, you need to cd to the executable directory, and avoid unix paths B) What happens if you install in an XP WINEPREFIX, but install jet40/mdac27 first, and then cd to the executable before running it?
https://bugs.winehq.org/show_bug.cgi?id=37000
--- Comment #3 from Hans hans011@ib-lederer.de --- Well, this is kind of confusing… DELISprint looks quite antique and unintuitive like from the days of Win98 and NT. It uses old tools, an old database and a long-deprecated installation method (all user data and configuration inside the program's folders). Nevertheless it is currently (as of mid-2014) actively advertised, nay, FORCED upon its commercial customers by DPD :-(.
I tried now several installations on a very old machine with 32-bit Linux Mint Debian Ed. and on a new machine with x64 LMDE, both with 32bit Wine 1.6.2 via synaptic, in a fresh .wine_DPD prefix as XP, with only jet40 pre-installed via winetricks (which pulls mdac27).
Installation is actually a two-step process: DELISprint_Setup.exe creates the program's path (default ~/.wine_DPD/drive_c/Program Files/DPD/DELISprint and subfolders) and data. Then it offers to "run the DELISprint Installer".
If one accepts that offer, Setup closes (the terminal with its command line is freed again) and DELISprint starts up on its own. There is only one exe, id DELISprint.exe, which obviously on first run goes into installation mode, creating at least one more folder and importing for minutes lots of CSV data into its db.
On both the old 32-bit machine and the new x64 machine with Wine 1.6.2 however, default installation ran faultless. Hmm? But on the new machine no printers were found… A subsequent start with WINEPREFIX=$HOME/.wine_DPD wine .wine_DPD/drive_c/Program\ Files/DPD/DELISprint/DelisPrint.exe succeeded.
On the first x64 machine with Wine 1.7.15 this 2nd default installation run fails to create some folders, so it is incomplete, so DELISprint hangs on second start. Subsequent cd to the executable directory, avoiding unix paths, is too late then. I'll try some variants on that machine, too, but only in some weeks after my holiday.
This looks like some regression in Wine 1.7.15?
For now, I'll recommend installation into the non-default path .wine_DPD/drive_c/DPD/DELISprint/DelisPrint.exe and declining the offer to start the second installer but cd'ing to that path and starting DelisPrint.exe directly from there.
https://bugs.winehq.org/show_bug.cgi?id=37000
Teras teras@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |teras@luukku.com
--- Comment #4 from Teras teras@luukku.com --- Installing jet40 and mdac28 gets it going, but it still complains about acrobat reader, but let it start. But that starting process takes minutes even with ssd. Second run of the application hangs.
wine 1.7.37
https://bugs.winehq.org/show_bug.cgi?id=37000
--- Comment #5 from Hans hans011@ib-lederer.de --- Since some time I am using it now in Wine 1.6.2 and it works fine for me. But —like I wrote above— : • Do choose for installation the non-default path .wine_DPD/drive_c/DPD/DELISprint/DelisPrint.exe (i.e. in C:) • First part of installation does take quite some time to build the database. • Then, decline the offer to start DelisPrint (really a second part of installation), instead abort, cd to that path and start DelisPrint.exe directly from there.
https://bugs.winehq.org/show_bug.cgi?id=37000
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Status|UNCONFIRMED |NEW Ever confirmed|0 |1 CC| |xerox_xerox2000@yahoo.co.uk URL| |http://delisprint.dpd.com/d | |ownload/v5/DELISprint_Setup | |.exe
--- Comment #6 from Louis Lenders xerox_xerox2000@yahoo.co.uk --- This only starts for me using native oledb32
@ Hans: Are there more bugs while using this program using newest wine?
https://bugs.winehq.org/show_bug.cgi?id=37000
--- Comment #7 from Nikolay Sivov bunglehead@gmail.com --- Louis, could you please attach +oledb log? Maybe it's something easy enough to fix.
https://bugs.winehq.org/show_bug.cgi?id=37000
--- Comment #8 from Louis Lenders xerox_xerox2000@yahoo.co.uk --- Created attachment 57917 --> https://bugs.winehq.org/attachment.cgi?id=57917 +oledb,+text
+oledb,+text log (+text to show errormessage from program)
https://bugs.winehq.org/show_bug.cgi?id=37000
--- Comment #9 from Hans hans011@ib-lederer.de --- (In reply to Louis Lenders from comment #6)
@ Hans: Are there more bugs while using this program using newest wine?
Sorry, don' know — a year ago or so we migrated from DPD to another parcel service, so we don't use DELISprint anymore.
https://bugs.winehq.org/show_bug.cgi?id=37000
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|wine-bugs@winehq.org |bunglehead@gmail.com
--- Comment #10 from Nikolay Sivov bunglehead@gmail.com --- (In reply to Louis Lenders from comment #8)
Created attachment 57917 [details] +oledb,+text
+oledb,+text log (+text to show errormessage from program)
err:oledb:get_dbpropset_from_proplist failed to init property L"Mode" value as type 3
Thanks, this one is critical. I'll look into it.
https://bugs.winehq.org/show_bug.cgi?id=37000
--- Comment #11 from Louis Lenders xerox_xerox2000@yahoo.co.uk ---
Sorry, don' know — a year ago or so we migrated from DPD to another parcel service, so we don't use DELISprint anymore.
Thanks for the quick reply. As there`s a free download let`s keep this open for the oledb bug then, and close it once that one gets fixed.
https://bugs.winehq.org/show_bug.cgi?id=37000
--- Comment #12 from Nikolay Sivov bunglehead@gmail.com --- Created attachment 57922 --> https://bugs.winehq.org/attachment.cgi?id=57922 patch
Please try this one. It fixes connection string parsing, but the program still does not start for me. Could you confirm?
https://bugs.winehq.org/show_bug.cgi?id=37000
--- Comment #13 from Louis Lenders xerox_xerox2000@yahoo.co.uk ---
Please try this one. It fixes connection string parsing, but the program still does not start for me. Could you confirm?
Yes i can confirm that after applying patch, still doesn`t start for me as well
https://bugs.winehq.org/show_bug.cgi?id=37000
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #57922|0 |1 is obsolete| |
--- Comment #14 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Comment on attachment 57922 --> https://bugs.winehq.org/attachment.cgi?id=57922 patch
Patch accepted upstream.
https://bugs.winehq.org/show_bug.cgi?id=37000
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |leslie_alistair@hotmail.com
--- Comment #15 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- (In reply to Louis Lenders from comment #13)
Please try this one. It fixes connection string parsing, but the program still does not start for me. Could you confirm?
Yes i can confirm that after applying patch, still doesn`t start for me as well
Can you provide a fresh +oledb,+text log
https://bugs.winehq.org/show_bug.cgi?id=37000
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|bunglehead@gmail.com |wine-bugs@winehq.org
https://bugs.winehq.org/show_bug.cgi?id=37000
--- Comment #16 from Louis Lenders xerox.xerox2000x@gmail.com --- Created attachment 59656 --> https://bugs.winehq.org/attachment.cgi?id=59656 +oledb,text log
attached new +oledb log in wine-2.19
https://bugs.winehq.org/show_bug.cgi?id=37000
--- Comment #17 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Created attachment 59658 --> https://bugs.winehq.org/attachment.cgi?id=59658 Test for an interface
The bugs appears to come from the fact the QueryInterfaces fails.
The patch shows that this interface exist when using the jet DataSource. We may need to hold a reference to that data source object and Query it when a interface isn't directly supported in IDataInitialize.
https://bugs.winehq.org/show_bug.cgi?id=37000
--- Comment #18 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- (In reply to Alistair Leslie-Hughes from comment #17)
Created attachment 59658 [details] Test for an interface
The bugs appears to come from the fact the QueryInterfaces fails.
The patch shows that this interface exist when using the jet DataSource. We may need to hold a reference to that data source object and Query it when a interface isn't directly supported in IDataInitialize.
After more investigation, this is incorrect.