Michael Collins
2010-Aug-27 00:00 UTC
[Wine] Wine 1.2 on Mac Leopard, Civ4 startup error "Failed Initiating Python"
Hi all, I'm hoping that someone has seen this one before. I am trying to get Civ4 working in Wine 1.2 on my Mac and I get so far as the stage where it initializes Python and it fails. I've attached the log at the end of this transmission. It's relatively short as these things go. I can see at least one error: 'import site' failed; use -v for traceback but I have no clue as to how to resolve that in this situation. Any input would be most welcome. -MC Log: <90>:wine Civilization4.exe fixme:system:SystemParametersInfoW Unimplemented action: 55 (SPI_SETMOUSEKEYS) fixme:system:SystemParametersInfoW Unimplemented action: 59 (SPI_SETSTICKYKEYS) fixme:cursor:CURSORICON_CreateIconFromANI Loading all frames for .ani cursors not implemented. err:ole:CoGetClassObject class {9a5ea990-3034-4d6f-9128-01f3c61022bc} not registered err:ole:CoGetClassObject no class object {9a5ea990-3034-4d6f-9128-01f3c61022bc} could be created for context 0x1 err:menubuilder:Process_Link unable to load L"C:\\Program Files\\Firaxis Games\\Sid Meier's Civilization 4\\CivilizationIV.ini.lnk" err:menubuilder:wWinMain failed to build menu item for L"C:\\Program Files\\Firaxis Games\\Sid Meier's Civilization 4\\CivilizationIV.ini.lnk" fixme:wtsapi:WTSRegisterSessionNotification Stub 0xb0058 0x00000000 fixme:cursor:CURSORICON_CreateIconFromANI Loading all frames for .ani cursors not implemented. fixme:cursor:CURSORICON_CreateIconFromANI Loading all frames for .ani cursors not implemented. fixme:cursor:CURSORICON_CreateIconFromANI Loading all frames for .ani cursors not implemented. fixme:cursor:CURSORICON_CreateIconFromANI Loading all frames for .ani cursors not implemented. fixme:cursor:CURSORICON_CreateIconFromANI Loading all frames for .ani cursors not implemented. fixme:cursor:CURSORICON_CreateIconFromANI Loading all frames for .ani cursors not implemented. fixme:cursor:CURSORICON_CreateIconFromANI Loading all frames for .ani cursors not implemented. fixme:cursor:CURSORICON_CreateIconFromANI Loading all frames for .ani cursors not implemented. fixme:cursor:CURSORICON_CreateIconFromANI Loading all frames for .ani cursors not implemented. fixme:wave:widDsCreate DirectSoundCapture not implemented fixme:wave:widDsCreate The (slower) DirectSound HEL mode will be used instead. err:gsm:GSM_DriverProc libgsm support not compiled in! err:gsm:GSM_DriverProc libgsm support not compiled in! err:gsm:GSM_DriverProc libgsm support not compiled in! err:gsm:GSM_DriverProc libgsm support not compiled in! err:gsm:GSM_DriverProc libgsm support not compiled in! err:gsm:GSM_DriverProc libgsm support not compiled in! err:gsm:GSM_DriverProc libgsm support not compiled in! fixme:wave:wodDsCreate DirectSound not implemented fixme:wave:wodDsCreate The (slower) DirectSound HEL mode will be used instead. fixme:wave:AudioUnit_SetVolume independent left/right volume not implemented (1.000000, 1.000000) fixme:cursor:CURSORICON_CreateIconFromANI Loading all frames for .ani cursors not implemented. fixme:wave:wodDsCreate DirectSound not implemented fixme:wave:wodDsCreate The (slower) DirectSound HEL mode will be used instead. fixme:cursor:CURSORICON_CreateIconFromANI Loading all frames for .ani cursors not implemented. 'import site' failed; use -v for traceback Traceback (most recent call last): ? File "<string>", line 2, in ? IOError: [Errno 2] No such file or directory: "C:\\users\root\\My Documents\\My Games\\Sid Meier's Civilization 4\\Logs\\PythonErr2.log" fixme:xrender:XRender_AlphaBlend Unable to AlphaBlend without Xrender fixme:xrender:XRender_AlphaBlend Unable to AlphaBlend without Xrender fixme:font:WineEngRemoveFontResourceEx (L"C:\\Program Files\\Firaxis Games\\Sid Meier's Civilization 4\\assets\\res\\fonts\\sylfaen.ttf", 0, 0x0): stub fixme:winmm:MMDRV_Exit Closing while ll-driver open fixme:winmm:MMDRV_Exit Closing while ll-driver open fixme:winmm:MMDRV_Exit Closing while ll-driver open err:mmtime:TIME_MMTimeStop Timer still active?!
James McKenzie
2010-Aug-27 04:23 UTC
[Wine] Wine 1.2 on Mac Leopard, Civ4 startup error "Failed Initiating Python"
Michael Collins wrote:> Hi all, > > I'm hoping that someone has seen this one before. I am trying to get > Civ4 working in Wine 1.2 on my Mac and I get so far as the stage where > it initializes Python and it fails. I've attached the log at the end > of this transmission. It's relatively short as these things go. I can > see at least one error: 'import site' failed; use -v for traceback but > I have no clue as to how to resolve that in this situation. > > Any input would be most welcome. > -MC >Where did you get your version of Wine? What happens when you open the terminal program from the Applications -> Utilities folder? (You should get a welcome screen and a Python promt >>>>. If you do, type quit() to exit.) James McKenzie
James Mckenzie
2010-Aug-27 17:43 UTC
[Wine] Wine 1.2 on Mac Leopard, Civ4 startup error "Failed Initiating Python"
Michael Collins <mercutio.viz at gmail.com> wrote:>Sent: Aug 27, 2010 9:35 AM >To: James McKenzie <jjmckenzie51 at earthlink.net> >Subject: Re: [Wine] Wine 1.2 on Mac Leopard, Civ4 startup error "Failed Initiating Python" > >Comments in line... > >On Thu, Aug 26, 2010 at 9:23 PM, James McKenzie ><jjmckenzie51 at earthlink.net> wrote: >> Michael Collins wrote: >>> >>> Hi all, >>> >>> I'm hoping that someone has seen this one before. I am trying to get >>> Civ4 working in Wine 1.2 on my Mac and I get so far as the stage where >>> it initializes Python and it fails. I've attached the log at the end >>> of this transmission. It's relatively short as these things go. I can >>> see at least one error: 'import site' failed; use -v for traceback but >>> I have no clue as to how to resolve that in this situation. >>> >>> Any input would be most welcome. >>> -MC >>> >> >> Where did you get your version of Wine? >Sourceforge download > >> >> What happens when you open the terminal program from the Applications -> >> Utilities folder? >Do you mean the Mac terminal window or something else? I'm using the >Mac terminal program to launch wine. I don't see anywhere that I would >get a Python prompt, especially since Python is embedded in Civ4. >Yes that is what I meant. James McKenzie
James Mckenzie
2010-Aug-27 18:59 UTC
[Wine] Wine 1.2 on Mac Leopard, Civ4 startup error "Failed Initiating Python"
Michael Collins <mercutio.viz at gmail.com> wrote:>Sent: Aug 27, 2010 10:51 AM >To: James Mckenzie <jjmckenzie51 at earthlink.net> >Subject: Re: [Wine] Wine 1.2 on Mac Leopard, Civ4 startup error "Failed Initiating Python" > >>>> What happens when you open the terminal program from the Applications -> >>>> Utilities folder? >>>Do you mean the Mac terminal window or something else? I'm using the >>>Mac terminal program to launch wine. I don't see anywhere that I would >>>get a Python prompt, especially since Python is embedded in Civ4. >>> >> Yes that is what I meant. >Ok. No Python prompt then. :)Where did you get your version of Wine? If it was from MacPorts or Fink, they have python installation packages you will have to get from them. If not, I'm at a loss where you can get it. Also, please keep the conversation on the Wine Users list. I am but one volunteer and there are hundreds that read the list and can assist when I cannot. James McKenzie
Reasonably Related Threads
- Cant get civ4 to run on ubuntu 10.04, wine 1.1.42
- Civilization 4, Beyond the Sword crashes with "Out of memory
- DirectX troubles - Running Civilisation IV: Beyond the Sword
- Civilization IV refuses to run, also Morrowind problems
- xml mis-read in civ4 bts 3.17 running ffh2 mod