The forum

Did I break my install with multiarch?

Author Replies
VulcanRidr Friday 15 March 2013 at 1:10
VulcanRidrAnonymous

Hi,

I'm running Debian/sid, and had a working install of PlayOnLinux, as of about a year ago (PlayOnLinux 4.1.1). I was primarily playing Starcraft II (which I have a legal copy of, just to be clear). Well, between various things in real life, I haven't played in a year.

So, I had some free time a few days ago, and decided to fire it up again. Unfortunately, in the meantime, Debian had gone to multiarch. So I followed the pop-up that POL brought up, added the i386 architecture, and installed wine-bin:i386, and it's dependencies. I also upgraded POL to 4.1.9 (very nice, btw).

Unfortunately, when I fire it up, the command line gives me (just starting POL):

 $ playonlinux
 [main] Message: PlayOnLinux (4.1.9) is starting
 [clean_tmp] Message: Cleaning temp directory
 [Check_OpenGL] Message: 32bits direct rendering is enabled
 [Check_OpenGL] Message: 64bits direct rendering is enabled
 [POL_System_CheckFS] Message: Checking filesystem for /home/storm/.PlayOnLinux/
 [main] Message: Filesystem is compatible
 [install_plugins] Message: Checking plugin: Capture...
 /usr/share/playonlinux/lib/plugins.lib: line 85: let: 7 capture: syntax error in expression (error token is "capture")
 /usr/share/playonlinux/lib/plugins.lib: line 90: [: too many arguments
 [install_plugins] Message: Checking plugin: ScreenCap...
 [install_plugins] Message: Checking plugin: PlayOnLinux Vault...
 [maj_check] Message: List is up to date

It defaults to a 32bit windows installation...I then (since it failed before) chose to erase the virtual drive. While creating it, I see an error message:

 err:dc:CreateDCW no driver found for L"wineps.drv"
 err:dc:CreateDCW no driver found for L"wineps.drv"
 fixme:winspool:AddPrinterW DocumentPropertiesW on printer L"PDF" fails
 err:dc:CreateDCW no driver found for L"wineps.drv"
 fixme:storage:create_storagefile Storage share mode not implemented.
 err:mscoree:LoadLibraryShim error reading registry key for installroot
 err:mscoree:LoadLibraryShim error reading registry key for installroot
 err:mscoree:LoadLibraryShim error reading registry key for installroot
 err:mscoree:LoadLibraryShim error reading registry key for installroot
 err:mscoree:LoadLibraryShim error reading registry key for installroot
 err:mscoree:LoadLibraryShim error reading registry key for installroot
 fixme:iphlpapi:NotifyAddrChange (Handle 0xebe92c, overlapped 0xebe910): stub
 wine: configuration in '/home/storm/.PlayOnLinux//wineprefix/StarCraftII' has been updated.

At this point, I choose the installer.exe from the iso image on my hard drive. When I run the installer, POL comes back with

 [POL_Wine] Message: Running wine- /media/cdrom/Installer.exe (Working directory : /)
 [POL_Wine] Message: Notice: PlayOnLinux deliberately disables winemenubuilder. See http://www.playonmac.com/fr/page-26-Winemenubuilder.html
 wine: cannot find L"E:\\\\Installer.exe"
 [POL_Wine] Error: Wine seems to have crashed

And if I set the installer to windows 64-bit, I get

 wine: WINEARCH set to win64 but '/home/storm/.PlayOnLinux//wineprefix/StarCraftII' is a 32-bit installation.
 [POL_Wine] Message: Running wine- --version (Working directory : /home/storm/.PlayOnLinux)
 [POL_Wine] Message: Notice: PlayOnLinux deliberately disables winemenubuilder. See http://www.playonmac.com/fr/page-26-Winemenubuilder.html
 [POL_Wine] Message: Wine return: 0
 [POL_Config_PrefixWrite] Message: Prefix config write: ARCH x86
 [POL_Config_Write] Message: Config write: WINE_SYSTEM_ARCH x86
 [POL_Wine_PrefixCreate] Message: Warning, wineserver not found
 [POL_LoadVar_PROGRAMFILES] Message: Getting Program Files name
 [POL_Wine] Message: Running wine- cmd /c echo %ProgramFiles% (Working directory : /home/storm/.PlayOnLinux)
 [POL_Wine] Message: Notice: PlayOnLinux deliberately disables winemenubuilder. See  http://www.playonmac.com/fr/page-26-Winemenubuilder.html
 wine: WINEARCH set to win64 but '/home/storm/.PlayOnLinux//wineprefix/StarCraftII' is a 32-bit installation.
 [POL_Wine] Error: Wine seems to have crashed

What did I break in this flurry of upgrading?

Thanks,
--vr

Ronin DUSETTE Friday 15 March 2013 at 1:22
Ronin DUSETTE

I would go right off the bat, and delete ~/.PlayOnLinux (backup beforehand, if you would like), uninstall POL, and reinstall with any dependencies it needs.

That makes sense if you set it to 64 bit, and you try to run a 32 bit program. It wont run.

Backup your save games and stuff, and reinstall wine, POL, and any deps it needs, and then reinstall star craft. A lot has changed in the last year. :)

Also, make sure you are completely updated in terms of system and software updates. Report back after, and lets see if that helped it.

I know the upgrade process doesnt always end up going well on a lot of things (in linux in general). lol.

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
petch Friday 15 March 2013 at 1:51
petch

My main problem is that I do not understand what you're doing.
For example Wine does not allow to change the architecture of an existing virtual drive between 32bit and 64bit (hence the "wine: WINEARCH set to win64 but '/home/storm/.PlayOnLinux//wineprefix/StarCraftII' is a 32-bit installation." message), and such PlayOnLinux does not allow it.
So how did you manage to try it?
Clearly you're bypassing the way PoL is intended to work, so the bets are a bit off.
Other than that I don't see huge problems... Somehow Wine did not find the installer from the mounted ISO, but we do not support the use of images.
VulcanRidr Tuesday 19 March 2013 at 1:12
VulcanRidrAnonymous

I would go right off the bat, and delete ~/.PlayOnLinux (backup beforehand, if you would like), uninstall POL, and reinstall with any dependencies it needs.

That makes sense if you set it to 64 bit, and you try to run a 32 bit program. It wont run.

Backup your save games and stuff, and reinstall wine, POL, and any deps it needs, and then reinstall star craft. A lot has changed in the last year. :)

Also, make sure you are completely updated in terms of system and software updates. Report back after, and lets see if that helped it.

I know the upgrade process doesnt always end up going well on a lot of things (in linux in general). lol.

Quote from DJYoshaBYD


Thanks, DJYoshaBYD.

I must report that I had partial success. I nuked my .PlayOnLinux partition, removed PlayOnLinux, and reinstalled (4.1.9). From there, I was able to install the Steam client. However, the installation of StarCraft II is still giving me problems. I attempted to install a non-listed program (because when I first installed it over a year ago, the StarCraft II in the menu just installed the demo version). This install failed after the 32/64 bit question as last time.

So I tried the one in the games menu, took defaults, up to the point where it asks to choose an installation method. I noticed that it was using an internal wine-1.5.10, which was the same version it downloaded for the Steam installation. I first tried "use a setup file in my computer", and pointed it to /media/cdrom/installer.exe. That failed with a "Wine seems to have crashed" error. So I tried using a CD image. I got a crash when it tried running Installer.exe:


[POL_SetupWindow_cdrom] Message: CD-ROM selected: cdrom_Unhide
find: `/media/cdrom_Unhide/StarCraft II Installer.app': Permission denied
[POL_SetupWindow_check_cdrom] Message: /media/cdrom_Unhide/Installer.exe FOUND!
[POL_System_CheckFS] Message: Checking filesystem for /media/cdrom_Unhide/Installer.exe
[POL_Wine] Message: Running wine-1.5.10 start /unix /media/cdrom_Unhide/Installer.exe (Working directory : /media)
fixme:exec:SHELL_execute flags ignored: 0x00000100
Application could not be started, or no application associated with the specified file.
ShellExecuteEx failed: Success.

[POL_Wine] Error: Wine seems to have crashed

If your program is running, just ignore this message


The next attempt, I manually mounted the cd image to /media/cdrom_Unhide, and it still failed. I had to mount by hand, and then the installer finally worked.

Thanks for the help,

--vr
Ronin DUSETTE Tuesday 19 March 2013 at 1:18
Ronin DUSETTE

Well, first off, you are mounting a CD-image, which, if I am not mistaken, is not something that we can support, as it violates our Forum Rules. Cant help you with that image.

We will need work only from the CD. :)

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts