http://bugs.winehq.org/show_bug.cgi?id=22403
Summary: "Cannot Connect to Database" on program startup. Product: Wine Version: 1.1.42 Platform: x86 OS/Version: Mac OS X 10.6 Status: UNCONFIRMED Severity: critical Priority: P1 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: richard.mackie70@gmail.com
Created an attachment (id=27424) --> (http://bugs.winehq.org/attachment.cgi?id=27424) picture of error window that comes up
Get an error in an X11 window with title "Cannot Connect to Database" the error says "The allocation of the environment handle failed" (as per attached pic). Program fails.
I am trying to run a program called POSH - it's property management software from Australia.
Have tried using same version of WINE installed in Ubuntu Linux too - same result.
http://bugs.winehq.org/show_bug.cgi?id=22403
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P2 Summary|"Cannot Connect to |POSH: "Cannot Connect to |Database" on program |Database" on program |startup. |startup. Severity|critical |normal
--- Comment #1 from Jeff Zaroyko jeffz@jeffz.name 2010-04-17 22:45:55 --- Did you install the application using Wine (if it has an installer), please also attach terminal output as a text file.
ps. severity is not critical, see here: http://bugs.winehq.org/page.cgi?id=fields.html#bug_severity
http://bugs.winehq.org/show_bug.cgi?id=22403
--- Comment #2 from richard.mackie70@gmail.com 2010-04-18 07:27:13 --- Created an attachment (id=27430) --> (http://bugs.winehq.org/attachment.cgi?id=27430) Terminal output when runnning installer for program called 'POSH'
http://bugs.winehq.org/show_bug.cgi?id=22403
--- Comment #3 from richard.mackie70@gmail.com 2010-04-18 07:31:48 --- (In reply to comment #1)
Did you install the application using Wine (if it has an installer), please also attach terminal output as a text file.
ps. severity is not critical, see here: http://bugs.winehq.org/page.cgi?id=fields.html#bug_severity
Hi Jeff, yes I did install the program using an installer. I tried re-installing and the terminal gives the output in the file attached in comment #2. The terminal gives no response when I try to run the actual program, before the error as described comes up.
Thanks for correcting the severity info - am obviously new at this!
http://bugs.winehq.org/show_bug.cgi?id=22403
richard.mackie70@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |richard.mackie70@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=22403
Andrew Nguyen arethusa26@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|richard.mackie70@gmail.com |
--- Comment #4 from Andrew Nguyen arethusa26@gmail.com 2010-04-18 07:57:41 --- No need to add yourself to CC; you already should be receiving mail as the bug reporter. Is there any available download of this program, and can you attach a compressed +relay,+seh,+tid log when running the program as per http://wiki.winehq.org/FAQ#head-16da35b6327024d6ea576e3678488b16862d0f5e ?
http://bugs.winehq.org/show_bug.cgi?id=22403
--- Comment #5 from richard.mackie70@gmail.com 2010-04-18 07:58:25 --- Created an attachment (id=27432) --> (http://bugs.winehq.org/attachment.cgi?id=27432) Log file from Wine
copy of the Wine log file in case this helps
http://bugs.winehq.org/show_bug.cgi?id=22403
Andrew Nguyen arethusa26@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #27432|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=22403
--- Comment #6 from richard.mackie70@gmail.com 2010-04-18 08:31:49 --- Created an attachment (id=27433) --> (http://bugs.winehq.org/attachment.cgi?id=27433) Results of WINEDEBUG as per comment #4 (trimmed due to size)
Reply to comment #4:
I do have an 'installation' exe file but it's 17MB and needs a password which I won't publish on a public web site. I believe the software completely unpacks from that exe file (ie doesn't download extra files).
The web site of the software developer is: www.supertech.com.au, but I don't think they have any free demos to download. They may respond to a request for a trial demo if anyone is keen to try. It would be in there interest to have the software running under WINE.
http://bugs.winehq.org/show_bug.cgi?id=22403
--- Comment #7 from Vitaliy Margolen vitaliy@kievinfo.com 2010-04-18 10:39:00 --- err:module:import_dll Library PBVM115.dll (which is needed by L"Z:\Users\richardmackie\Wine\posh.exe") not found
Looks like it wasn't properly installed. Can you search for this file in case it was installed into wrong place?
err:module:load_builtin_dll failed to load .so lib for builtin L"msxml3.dll": dlopen(/Applications/Wine.app/Contents/Resources/bin/../lib/wine/msxml3.dll.so, 2): Symbol not found: _gzopen64 Referenced from: /Applications/Wine.app/Contents/Resources/bin/../lib/wine/../libxml2.2.dylib Expected in: /usr/lib/libz.1.dylib
You missing libxml2 or your version is too old.
http://bugs.winehq.org/show_bug.cgi?id=22403
--- Comment #8 from richard.mackie70@gmail.com 2010-04-18 17:40:47 --- (In reply to comment #7)
I've found PBVM115.DLL it's in /Users/richardmackie/Wine Files/drive_c/posh which is the program directory, were the program exe file is.
Also have found libxml2.2.dylib it's in /opt/local/lib I also found it in /usr/lib/ where it looks like the file is expected to be. I had to use 'terminal' on the mac to find it, cant seem to find the /usr/lib folder using the finder browers - guess it must be hidden somehow.
Do I need to shift these files anywhere else? Is it OK that the DLL's are in the same directory as the .exe file?
http://bugs.winehq.org/show_bug.cgi?id=22403
--- Comment #9 from Vitaliy Margolen vitaliy@kievinfo.com 2010-04-18 23:03:45 --- (In reply to comment #8)
I've found PBVM115.DLL it's in /Users/richardmackie/Wine Files/drive_c/posh which is the program directory, were the program exe file is.
Then you starting your program wrong. Make sure to 'cd' into programs directory before running it.
http://bugs.winehq.org/show_bug.cgi?id=22403
--- Comment #10 from richard.mackie70@gmail.com 2010-04-19 20:46:45 --- (In reply to comment #9)
I am definitely running the program after cd into the program directory (I have to as the exe file is not found otherwise). And the DLL files in the error message are definitely in that same directory.
Any other ideas? I'm wondering if I can override the use of these DLLs using Wine Tricks somehow? - any idea if that would have a chance at working?
http://bugs.winehq.org/show_bug.cgi?id=22403
--- Comment #11 from Jeff Zaroyko jeffz@jeffz.name 2010-04-19 20:50:11 --- Have you fixed the msxml error issue? It could be the reason that it's not starting up correctly.
http://bugs.winehq.org/show_bug.cgi?id=22403
--- Comment #12 from richard.mackie70@gmail.com 2010-04-20 03:38:12 --- (In reply to comment #11)
do you mean this bit? (from comment #7)
err:module:load_builtin_dll failed to load .so lib for builtin L"msxml3.dll": dlopen(/Applications/Wine.app/Contents/Resources/bin/../lib/wine/msxml3.dll.so, 2): Symbol not found: _gzopen64 Referenced from: /Applications/Wine.app/Contents/Resources/bin/../lib/wine/../libxml2.2.dylib Expected in: /usr/lib/libz.1.dylib
I have checked that these files exist:
/usr/lib/libz.1.dylib /Applications/Wine.app/Contents/Resources/bin/../lib/wine/../libxml2.2.dylib /Applications/Wine.app/Contents/Resources/bin/../lib/wine/msxml3.dll.so (also there is an msxml4.dll.so in this directory)
Besides that I don't understand the rest of the error message. Do you have and advise about things I could do to try and fix this?
http://bugs.winehq.org/show_bug.cgi?id=22403
--- Comment #13 from Jeff Zaroyko jeffz@jeffz.name 2010-04-20 04:48:26 --- (In reply to comment #12)
Besides that I don't understand the rest of the error message. Do you have and advise about things I could do to try and fix this?
Did you build Wine from source or are you using a binary distribution? If the latter, you may need to compile from source so that the build matches your system setup.
http://bugs.winehq.org/show_bug.cgi?id=22403
--- Comment #14 from richard.mackie70@gmail.com 2010-04-20 05:36:33 --- (In reply to comment #13)
I tried both, but I think I tried the binary distribution first. I'm wondering if it was not installed properly before I compiled from source (which I did using macports as per http://davidbaumgold.com/tutorials/wine-mac/ ).
Can you please advise, if those instructions for compiling via macports are good?
http://bugs.winehq.org/show_bug.cgi?id=22403
--- Comment #15 from Juan Lang juan_lang@yahoo.com 2010-04-21 11:12:54 --- (In reply to comment #14)
I tried both, but I think I tried the binary distribution first. I'm wondering if it was not installed properly before I compiled from source (which I did using macports as per http://davidbaumgold.com/tutorials/wine-mac/ ).
Can you please advise, if those instructions for compiling via macports are good?
I had a look, and they look good to me. It installs the wine-devel package, which has version 1.1.42 of Wine (which is what you reported, good.) In general we prefer referring to our own wiki, as it has a chance of being updated, whereas even though directions on an external site may be correct at one point in time, they quickly become out of date. Sadly, our wiki pages could be a little clearer, and as of today, I think the page you cited is a better reference.
http://bugs.winehq.org/show_bug.cgi?id=22403
--- Comment #16 from richard.mackie70@gmail.com 2010-04-23 19:11:02 --- (In reply to comment #15)
I now think that when I was trying to run Wine from the command line, I was actually starting up the binary distribution of Wine that I had installed (ie from http://winebottler.kronenberg.org/ ). I don't yet know how the program name specified in the command line finds the right files to run - I need to do some reading on Unix based OSs I think!
Anyway I've tried uninstalling everything as best I know how - which on the Mac seems to be done by just deleting the directories with the programs in it, and have tried reinstalling Wine using mac ports as per http://davidbaumgold.com/tutorials/wine-mac. Now even when I try running my program installer wine hangs. After a while I get: 'err:process:__wine_kernel_init boot event wait timed out'
I've tried searching Bugzilla for this but can't find anything useful - or else don't know what I'm looking at.
Does anyone have any hints for finding and correcting this initial start-up problem? I'm worried that I didn't uninstall the other versions of Wine properly.
Also, this is now quite a different issue from where I started, should I register a new bug and close this one?
I will appreciate anyone's help - I seem to be going backwards!
http://bugs.winehq.org/show_bug.cgi?id=22403
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- OS/Version|Mac OS X 10.6 |Mac OS X
http://bugs.winehq.org/show_bug.cgi?id=22403
--- Comment #17 from richard.mackie70@gmail.com 2012-08-05 22:14:57 CDT --- I am having another go at installing the program 'POSH' on my mac but still having the same problem. Am now trying WINE 1.5.10 via play on mac.
Installation file can be downloaded here: https://www.dropbox.com/s/lertpcluhhsx49s/posh_upgrade.exe
Password is WKPHD75. Will much appreciate any help to get this working.
http://bugs.winehq.org/show_bug.cgi?id=22403
richard.mackie70@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.1.42 |1.5.10
http://bugs.winehq.org/show_bug.cgi?id=22403
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |00cpxxx@gmail.com Ever Confirmed|0 |1
--- Comment #18 from Bruno Jesus 00cpxxx@gmail.com 2012-08-31 21:51:52 CDT --- Confirming in plain wine 1.5.12.
http://bugs.winehq.org/show_bug.cgi?id=22403
--- Comment #19 from richard.mackie70@gmail.com 2012-11-04 21:27:50 CST --- (In reply to comment #18)
Confirming in plain wine 1.5.12.
Hi Bruno, did you have any luck installing POSH with plain wind 1.5.12? Will appreciate any insights as to what's going wrong. Cheers Richard
http://bugs.winehq.org/show_bug.cgi?id=22403
--- Comment #20 from Bruno Jesus 00cpxxx@gmail.com 2012-11-05 16:02:20 CST --- Please, try again in wine 1.5.16. I'm getting a different error now, and I get the same error in windows too so it might be fixed.
https://bugs.winehq.org/show_bug.cgi?id=22403
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |ABANDONED
--- Comment #21 from Austin English austinenglish@gmail.com --- No reply in 2 years, abandoned.
https://bugs.winehq.org/show_bug.cgi?id=22403
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #22 from Béla Gyebrószki gyebro69@gmail.com --- Closing all abandoned/duplicated/invalid bugs.