Monday, 2009-03-16

*** tpb has joined #freeorion00:00
*** STalKer-X has quit IRC00:50
*** STalKer-X has joined #freeorion00:50
*** Reisiger has joined #freeorion05:11
ReisigerGood morning everyone :-)05:13
ReisigerI'm having trouble getting SCons to recognize the Python registry entries in Win 7 64-bit (which is more a Vista v1.5 64-bit). Has anyone ever encountered a similar problem?05:13
GeoffTheMedio2possibly... just a sec05:24
ReisigerI did check the registry... both python25 and 26 make entries... it's a little puzzeling05:24
GeoffTheMedio2similar to this: http://www.freeorion.org/forum/viewtopic.php?f=24&t=2520  ?05:25
tpb<http://ln-s.net/317-> (at www.freeorion.org)05:25
ReisigerIt's an issue while trying to install SCons o.O05:25
GeoffTheMedio2I see you've already posted on the forums though05:25
GeoffTheMedio2probably not the same issue then05:26
ReisigerYes... I got MSVC 08, but wanted to give SCons a go.05:26
GeoffTheMedio2I don't think anyone else has reported about trying to build freeorion on windows 705:27
ReisigerCurrently building with MSVC 08 using Python25... looking forward to the result05:27
GeoffTheMedio2do you know if it's just a problem with python, and that nothing else is affected?05:27
ReisigerIt's a bit exotic an OS atm, but I like it. Any any successfull build that works should also go for Vista x6405:28
ReisigerSeems to be the installer from SCons... for some reason it can't read the registry... or can't find the entries05:28
GeoffTheMedio2you mean the freeorion scons install script, or the installer for SCons itself?05:29
ReisigerThe later05:29
GeoffTheMedio2I had an issue with error popups when installing scons in vista as well05:29
GeoffTheMedio2i still got it to work eventually though05:30
GeoffTheMedio2I tried building with SCons anyway, and I was getting an error about TEMPFILE not being found during linking05:31
GeoffTheMedio2tzlaine suggested the following:05:31
GeoffTheMedio2Add this line somewhere in your SConstruct file, after the env05:31
GeoffTheMedio2variable is declared:05:31
GeoffTheMedio2env['ENV']['TMP'] = os.environ['TMP']05:31
GeoffTheMedio2It doesn't look applicable to your issue though, so I didn't mention it until now05:31
ReisigerE:\Downloads\Programme\Scons\7zE7638.tmp>scons.py05:34
Reisiger05:34
Reisigerscons: *** No SConstruct file found.05:34
ReisigerFile "E:\Downloads\Programme\Scons\7zE7638.tmp\scons-local-1.2.0\SCons\Script\Main.py", line 826, in _main05:34
ReisigerThats what it throws at me when using the 'local' variant05:34
GeoffTheMedio2I don't know what "local variant" refers to...05:34
GeoffTheMedio2(I don't use SCons much myself...)05:35
ReisigerOne that doesn't use the installer05:35
GeoffTheMedio2oh05:35
ReisigerWhat do you use for compiling?05:35
GeoffTheMedio2well, probably there aren't registry or environment variables set05:35
GeoffTheMedio2MSVC 200805:35
GeoffTheMedio2(not set since the installer wasn't run)05:35
ReisigerDo you also get "void_cast.hpp(36) : warning C4091: '__declspec(dllimport)'" when building?05:36
GeoffTheMedio2yes05:36
GeoffTheMedio2and various other warnings05:37
GeoffTheMedio2should still build and run, though05:37
ReisigerI'm new to MSVC 2008 :-)  Good thing we can download it for free via the University05:37
ReisigerWell, I do have a question with MSVC and Tortoise... if I have to change the path to i.e. python26, is there a way to do it without causing one of the files pulled from the SVN to be changed?05:39
GeoffTheMedio2I also got mine free from MS via dreamspark05:39
GeoffTheMedio2I don't think so...  you'd have to edit the project file, which is in SVN05:40
GeoffTheMedio2just don't commit changes to that file or include changes to it in a patch...  updates should still work, since it can usually merge changes to the same file05:40
ReisigerOk. Will do so.05:41
ReisigerThat's an odd result:06:05
Reisiger5>freeorion - 0 error(s), 233 warning(s)06:05
Reisiger========== Rebuild All: 5 succeeded, 1 failed, 0 skipped ==========06:05
Reisiger1 failed?06:05
GeoffTheMedio2check the errors tab06:05
GeoffTheMedio2View -> Other Windows -> Error List06:06
GeoffTheMedio2although it should show up by default...06:06
Reisigerk found it. Shows 47 errors and 540 warnings... does the list carry over errors/warnings found before I rebuild?06:07
GeoffTheMedio2no06:09
ReisigerError     337     fatal error LNK1120: 21 unresolved externals     e:\Ext-Projects\FreeOrion_SDK\FreeOrion\freeorionca.exe06:09
ReisigerSeems an issue with python... but the build path points to the right directory06:09
GeoffTheMedio2are there any unable to open file errors?06:09
GeoffTheMedio2you might need to put python26.dll into the freeorion directory06:09
Reisigerlots of unresolved external symbol_imp_Py_NoneStruct06:10
GeoffTheMedio2could be the same issue, if it can't find the python dll or lib it needs06:11
GeoffTheMedio2you might also need to update the additional dependencies06:12
GeoffTheMedio2project properties -> linker -> input -> additional dependencies06:12
GeoffTheMedio2should be python26.lib not python25.lib06:13
Reisigerok, going to try it with python2606:13
GeoffTheMedio2and the additional library directories, if you're using python 2.6, needs to be updated to point to that directory06:13
GeoffTheMedio2(in linker -> general -> ... )06:14
Reisigerok now to find the python26.dll ^^06:14
Reisigergot it06:15
Reisigerdo I need to rename the python26.dll?06:16
GeoffTheMedio2no06:16
GeoffTheMedio2it should look for it in the freeorion directory if you're linking to python26.lib06:16
Reisigerok06:16
ReisigerBuilding :)06:17
ReisigerTHanks for your help.06:17
GeoffTheMedio2np06:17
ReisigerSeems it's finding all it needs, it's now taking it's time to compile freeorionca/AIInterface.cpp06:18
*** Reisiger is now known as Reisiger|Away06:20
*** mithro has quit IRC06:35
*** mithro has joined #freeorion06:41
Reisiger|AwayBugger... still failed with 47 errors06:50
*** Reisiger|Away is now known as Reisiger06:50
GeoffTheMedio2what's the first?06:50
ReisigerError     48     error LNK2001: unresolved external symbol __imp___Py_NoneStruct     PythonLoggingWrapper.obj06:50
Reisigerhere's one with a little bit more information:06:53
ReisigerError     55     error LNK2019: unresolved external symbol __imp__PyObject_IsTrue referenced in function "public: __thiscall boost::python::api::object_operators<class boost::python::api::object>::operator struct _object * (__thiscall boost::python::api::object::*)(void)const (void)const " (??B?$object_operators@Vobject@api@python@boost@@@api@python@boost@@QBEP8object@123@BEPAU_object@@XZXZ)     PythonAI.obj06:53
GeoffTheMedio2you changed the additional dependencies to python26.lib ?06:54
ReisigerYes06:55
GeoffTheMedio2and the additional library directories for where you have python 2.6 ?06:55
Reisigeryes06:55
GeoffTheMedio2hmm.  strange.06:58
ReisigerIndeed... I haven't yet checked if I have to recompile the libpng/zlib... but I sort of doubt this being the issue here06:59
GeoffTheMedio2I don't think freeorionca uses libpng07:00
Reisigerhttp://www.freeorion.org/index.php/Zlib07:00
tpbTitle: Zlib - FreeOrionWiki (at www.freeorion.org)07:01
GeoffTheMedio2I know... I wrote that page.  freeorionCA still doesn't use libpng as far as I know.07:02
GeoffTheMedio2regardless, you can probably try running freeorion without building freeorionca07:02
GeoffTheMedio2just make sure you set the number of AIs in your universe to 007:02
ReisigerAh, sorry o.O07:02
ReisigerI'll give it a try07:02
GeoffTheMedio2during game setup07:02
ReisigerE:\Ext-Projects\FreeOrion_SDK\FreeOrion>freeorion.exe07:04
Reisigermain() caught exception(std::exception): OGRE XCEPTION(7:InternalErrorException ): Could not load dynamic library .\Plugin_CgProgramManager.  System Error: The specified module could not be found.07:04
Reisiger in DynLib::load at ..\src\OgreDynLib.cpp (line 80)07:04
GeoffTheMedio2hmm.  perhaps the SDK hasn't been updated since that was added.07:05
Reisigercould be07:05
GeoffTheMedio2I vaguely recall having to copy that plugin DLL from the ogre sdk07:05
GeoffTheMedio2Plugin_CgProgramManager.dll07:05
ReisigerShouldn't it then be part of the SVN?07:05
GeoffTheMedio2no, it's windows specific07:05
GeoffTheMedio2it should be in the SDK, but it just hasn't been updated yet07:06
Reisigerok07:06
GeoffTheMedio2I emailed tzlaine about it, so he should fix that soon.  until then, you'll need to download the ogre SDK and copy that file into the freeorion directory07:07
ReisigerOk. I'm looking at adding the Maintenance SVN for Ogre07:07
GeoffTheMedio2I don't think you need the latest SVN of ogre... just the 1.6.1 release should be fine07:08
GeoffTheMedio2much easier than building it youself...07:09
GeoffTheMedio2yourself07:09
ReisigerHm... true :P07:09
ReisigerCould that have caused the missing externals?07:10
GeoffTheMedio2no07:10
GeoffTheMedio2dlls aren't loaded until you run the program.  not while building or linking it.07:10
ReisigerThen it has to be something with python and my machine o.O07:12
ReisigerOtherwise it wouldn't just be freeorionca that's affected07:12
GeoffTheMedio2something between msvc and python, apparently07:14
Reisigernow it can't find cg.dll07:14
GeoffTheMedio2should be in the same place07:15
Reisigerfound it07:17
ReisigerHm... this is odd... looks like the FreeOrion I installed clashes with the one I just build:07:18
ReisigerE:\Ext-Projects\FreeOrion_SDK\FreeOrion07:18
ReisigerE:\Ext-Projects\FreeOrion_SDK\FreeOrion>freeorion.exe07:19
Reisigermain() caught exception(GG::Font::BadFile): Face object created from "C:\Program07:19
Reisiger Files (x86)\FreeOrion\default\DejaVuSans.ttf" was invalid07:19
GeoffTheMedio2delete your config.xml07:19
GeoffTheMedio2wherever it gets put on win 707:19
ReisigerI'll uninstall. Can't get the Win32 installer version of 0.3.12 to work anyway07:20
GeoffTheMedio2uninstalling might not remove the config.xl07:20
GeoffTheMedio2xml07:20
Reisigerlooks like it... still points to the same place07:21
GeoffTheMedio2what happens when you try to run the installed version?07:21
ReisigerBlack screen, some flickering then it closes.07:21
ReisigerI posted the ogre_log and dxdiag to the forum07:21
Reisigerare any registry entries added via the installer?07:22
GeoffTheMedio2no07:23
ReisigerOdd...07:23
GeoffTheMedio2because?07:23
ReisigerThis:07:24
ReisigerE:\Ext-Projects\FreeOrion_SDK\FreeOrion>freeorion.exe07:24
Reisigermain() caught exception(GG::Font::BadFile): Face object created from "C:\Program  Files (x86)\FreeOrion\default\DejaVuSans.ttf" was invalid07:24
ReisigerThe directory doesn't even exist anymore07:24
GeoffTheMedio2did you delete config.xml ?07:24
Reisigerwhere would it be located?07:25
ReisigerCouldn't find it in the FreeOrion_SDK directory07:25
GeoffTheMedio2it's not there.  it's a settings file created when the program is run.  you can't create files in the program files directory, so it's not created in the directory where freeorion.exe is located07:26
GeoffTheMedio2on vista, it's in the equivalent of C:\Users\UserName\AppData\Roaming\FreeOrion07:26
GeoffTheMedio2win7 is probably similar07:26
Reisigeryes, there it is ^^ Thanks07:27
ReisigerIt runs! :D07:27
Reisigerand I can't move my mouse out of the edges in windowed mode o.O07:28
GeoffTheMedio2yeah... ogre is a bit quirky with that07:28
GeoffTheMedio2there's a way to make it so you can, but then you see the windows cursor on top of the in-game cursor07:28
ReisigerOw... that wouldn't look good...07:29
GeoffTheMedio2this is a recent development... I'm not very happy about it.07:29
ReisigerWell... if windowed and fullscreen are toggles then there'd be a crude way around by making the ingame cursor invisible when windowed... o.O07:30
ReisigerCrude and ugly07:30
GeoffTheMedio2yes, it could be hidden / fixed.07:31
ReisigerHm... works as long as I don't have AI players... I'll go research into that issue07:31
GeoffTheMedio2mkay07:32
Reisigersince Win7 has the build number 6.1 I'd daresay the issue has to be close to vista x6407:32
ReisigerIssue solved07:48
GeoffTheMedio2?07:48
ReisigerPython messed up the x64 dlls of 2.5.4 and 2.6.107:48
Reisigerthey forgot to add those symbols07:48
GeoffTheMedio2hmm07:48
ReisigerI installed python 2.6.1 32-bit and it compiled07:48
Reisigerhttp://lists.boost.org/Archives/boost/2008/09/142776.php07:49
tpb<http://ln-s.net/318Z> (at lists.boost.org)07:49
GeoffTheMedio2does it run?07:49
Reisigeryes07:49
Reisigerincluding the AI :)07:49
GeoffTheMedio2could you register on the wiki and put a note about this on the windows compile page?07:50
ReisigerWill do07:50
ReisigerI'll add it under Compilation Errors. Or should I post it elsewhere?07:53
GeoffTheMedio2re: your forum post: just call me Geoff the Medio ... the 2 is there because the IRC client won't stay connected and IRC doesn't automatically re-use the same name properly07:53
Reisigeroops, sorry07:54
GeoffTheMedio2(afaik there's only one Geoff the Medio)07:54
Reisiger^^07:54
ReisigerJust wait until folks start misselling my nick ... somehow they all plant a 'n' o_O07:54
GeoffTheMedio2it does look like a typo07:55
ReisigerYep, but it's of german origin with a swiss application ;)08:02
ReisigerThe Wiki's updated08:09
GeoffTheMedio2can you throw in a link to that boost discussion about it, and refer to the errors using "you may get python-related errors while linking freeorionca" or something similar08:11
Reisigerok08:12
Reisigerbetter?08:14
GeoffTheMedio2somewhat.  I edited a bit.08:19
ReisigerOk... While I'm pretty good at english... it's not my motherlanguage08:20
GeoffTheMedio2and I'm kinda nitpicky08:20
Reisiger^^08:20
ReisigerArgh... stupid me... I forgot to set the number of AI players back from 008:26
ReisigerSo now I can build, but using AI crashes FreeOrion08:27
ReisigerI'll try the zlib fix now ;)08:28
GeoffTheMedio2what's in the AI log files?  (Same dir as config.xml)08:38
Reisiger2009-03-16 13:25:22,231 ERROR Client : SidePanel::PlanetPanelContainer::DoPanelsLaout passed positive top.  It is expected to be 0 or negative only.08:40
Reisigerthis kind of error a lot of times08:40
GeoffTheMedio2AI log files.  not freeorion.log08:40
Reisigerone line stating it initiallised08:41
GeoffTheMedio2what's the last few lines of freeoriond.log ?08:42
Reisiger...08:43
Reisiger2009-03-16 13:42:22,449 DEBUG Server : starting freeorionca.exe08:43
Reisiger2009-03-16 13:42:22,451 DEBUG Server : done starting freeorionca.exe08:43
Reisiger2009-03-16 13:42:22,451 DEBUG Server : (ServerFSM) WaitingForSPGameJoiners.CheckStartConditions08:43
Reisiger2009-03-16 13:42:49,284 DEBUG Server : ServerFSM::HandleNonLobbyDisconnection : Host player disconnected; server terminating.08:43
Reisiger2009-03-16 13:42:51,284 FATAL Server : Initiating Exit (code 1 - error termination)08:43
GeoffTheMedio2hmm.  and the last few lines of freeorion.log ?08:44
GeoffTheMedio2(it doesn't look like the problem is AI-related)08:44
Reisigerit is08:44
ReisigerI get as many runtime exceptions as I've set AI's08:45
Reisiger...08:45
Reisiger2009-03-16 13:44:34,499 DEBUG Client : (HumanClientFSM) WaitingForSPHostAck.HostSPGame08:45
Reisiger2009-03-16 13:44:34,501 DEBUG Client : (HumanClientFSM) ~WaitingForSPHostAck08:45
Reisiger2009-03-16 13:44:34,501 DEBUG Client : (HumanClientFSM) PlayingGame08:45
Reisiger2009-03-16 13:44:34,525 DEBUG Client : (HumanClientFSM) WaitingForTurnData08:45
Reisiger2009-03-16 13:44:34,527 DEBUG Client : (HumanClientFSM) WaitingForTurnDataIdle08:45
GeoffTheMedio2strange08:46
Reisigercould be python 32-bit on a x64 OS o.O08:46
GeoffTheMedio2I suppose... but python scripts are getting executed... the "Initialized FreeOrion Python AI" comes from in python08:47
ReisigerI'll try the x64 python26.dll in FreeOrion's directory...08:48
Reisigernothing...08:52
ReisigerI don't think the version of python installed on a machine has any influence on a finished build when running freeorion.exe?08:52
GeoffTheMedio2is that a question?08:53
ReisigerSort of.08:53
GeoffTheMedio2rephrase?08:53
Reisigerthe python2x.dll in the FreeOrion's directory is there to enable the game incase someone has no python on his machine?08:53
GeoffTheMedio2even if you have python installed, I think you need the dll in the freeorion directory to run freeorionca08:54
ReisigerWell using the x64 python didn't solve the issue... time to hit google08:58
Reisigercould the exception coem from the loop that initialises the AI's?09:04
Reisiger*come09:04
GeoffTheMedio2not sure... you can add some debug output to boost::statechart::result WaitingForSPGameJoiners::react(const CheckStartConditions& u)09:07
GeoffTheMedio2in serverfsm.cpp09:07
Reisigerk then compile again and run from MSVC?09:11
GeoffTheMedio2yes09:11
ReisigerOnce it's done recompiling freeoriond, how do I monitor it? Launch FreeOrion and attach myself to the exe?09:25
GeoffTheMedio2depends what you want to monitor.  if you added debug output using Logger().debugStream() you can open op the freeoriond.log and refresh it while the program is running, or just have a look after running and getting a crash09:27
GeoffTheMedio2attaching to freeorion.exe won't help you debug freeoriond.exe though09:28
ReisigerI added some breakpoints... so i could attach myself to freeoriond?09:28
GeoffTheMedio2sure09:28
GeoffTheMedio2you shouldn't need to recompile after adding breakpoints though09:28
Reisigernow I have to... it cleared everything o.O (stupid me)09:29
GeoffTheMedio2freeoriond starts up as soon as you click the single player button... so you can connect to it while on the galaxy setup screen09:29
GeoffTheMedio2debug output is probably easier to work with though09:29
ReisigerYep :)09:30
GeoffTheMedio2stepping through code and using breakpoints can be tricky and misleading09:30
ReisigerObvious enough to completely forget how I've usually littered any nwscript with debugging info going into a MySQL DB :D09:30
Reisigerhm... attached and then made freeorion start a game with 2 AI's... immediately gt the exception yet the function you mentionned just got entered09:45
GeoffTheMedio2so something happening before that caused the errors09:48
GeoffTheMedio2maybe try boost::statechart::result Idle::react(const HostSPGame& msg)09:48
Reisigerok09:48
Reisigergot to reboot, brb09:52
*** Reisiger has quit IRC09:52
*** Reisiger has joined #freeorion09:55
ReisigerNote to self: always 'attach'...09:58
ReisigerMS V C++ Runtime Library reports that Runtime Error again10:00
ReisigerI'll try in10:01
Reisigerboost::statechart::result WaitingForSPGameJoiners::react(const JoinGame& msg)10:01
Reisigercaught it... added each a breakpoint in the SP funktions10:05
ReisigerHappens in/after WaitingForSPGameJoiners::WaitingForSPGameJoiners(my_context c) :10:06
Reisiger    Base(c),10:06
Reisiger    m_setup_data(context<ServerFSM>().m_setup_data),10:06
Reisiger    m_server_save_game_data(new ServerSaveGameData()),10:06
Reisiger    m_num_expected_players(0)10:06
ReisigerException occurs when the debugger gets to line 417: Base::post_event(CheckStartConditions());10:11
ReisigerPreviousely he completed the 'if' conditional and skipped the 'else'10:11
GeoffTheMedio2probably crashing in server.CreateAIClients or in the AI initialization after they're created10:13
ReisigerI'll add log output10:14
ReisigerTime for a coffee :) Back in 5 (should finish compiling by then)10:18
Reisigerback10:22
Reisiger2009-03-16 15:22:44,121 DEBUG Server : starting freeorionca.exe10:23
Reisiger2009-03-16 15:22:44,123 DEBUG Server : done starting freeorionca.exe10:23
Reisiger2009-03-16 15:22:44,123 DEBUG Server : If - After: server.CreateAIClients(...10:23
Reisiger2009-03-16 15:22:44,123 DEBUG Server : Before: Base::post_event(CheckStartConditions());10:23
Reisiger2009-03-16 15:22:44,123 DEBUG Server : After: Base::post_event(CheckStartConditions());10:23
Reisiger2009-03-16 15:22:44,123 DEBUG Server : (ServerFSM) WaitingForSPGameJoiners.CheckStartConditions10:23
Reisiger2009-03-16 15:22:50,149 DEBUG Server : ServerFSM::HandleNonLobbyDisconnection : Host player disconnected; server terminating.10:23
Reisiger2009-03-16 15:22:52,149 FATAL Server : Initiating Exit (code 1 - error termination)10:23
Reisigerstarting freeorionca twice?10:23
GeoffTheMedio2as in why is it, or why isn't it starting it twice?10:24
Reisigeras in 'why is'10:24
GeoffTheMedio2didn't you ask for two AIs?10:24
Reisiger*facepalm* Again with the obvious10:25
GeoffTheMedio2looks like the server is aborting in checkstartconditions10:26
Reisigernext place for some debug logs...10:27
Reisigerhm...  CheckStartConditions looks like an empty struct... or am I looking at the wrong place?10:32
GeoffTheMedio2you are10:32
GeoffTheMedio2it's an event that the finite state machine reacts to10:33
GeoffTheMedio2when the CheckStartConditions() event is posted, the current state's reaction to it is executed10:33
GeoffTheMedio2(so I was misleading above)10:34
ReisigerNah... blame my java coding and inexperience with C/C++10:34
ReisigerSo in that case, where do I have to place additional log outputs?10:36
GeoffTheMedio2if the previous crashes were in a member function of WaitingForSPGameJoiners, then posting CheckStartConditinos would execute WaitingForSPGameJoiners::react(const CheckStartConditions&)10:38
Reisigerok, I'll hoop into it10:40
Reisiger*hook10:40
ReisigerError occured before boost::statechart::result WaitingForSPGameJoiners::react(const CheckStartConditions& u)10:41
Reisiger...10:44
Reisiger2009-03-16 15:41:01,735 DEBUG Server : Before: Base::post_event(CheckStartConditions());10:44
Reisiger2009-03-16 15:41:01,735 DEBUG Server : After: Base::post_event(CheckStartConditions());10:44
Reisigerlooks like it happens right after10:44
ReisigerWaitingForSPGameJoiners::WaitingForSPGameJoiners(my_context c)10:44
GeoffTheMedio2my guess is that the server is launching the AIs, which barf for some reason, after which the server gets notified of this, and aborts10:46
ReisigerI'll slap breakpoints at the start of every function in ServerFSM.cpp10:46
ReisigerPossible... given the funky behaviour of x64 and python10:46
ReisigerI'll go add breakpoints in PythonAI.cpp10:53
Reisigerhm... is freeorionca a seperate process?10:58
GeoffTheMedio2yes10:58
GeoffTheMedio2several of them... one per ai10:58
ReisigerHow can I hook into them?10:59
GeoffTheMedio2not very easily if they're crashing right after starting...11:00
Reisigerlog entries then11:00
GeoffTheMedio2maybe put a big 10 second delay into them with a suitable loop, and then attach the debugger during those 10 seconds11:00
ReisigerCompiling ... :)11:04
*** GeofftheMedio has joined #freeorion11:08
Reisiger2009-03-16 16:10:07,969 DEBUG AI : AI_1 logger initialized.11:11
Reisiger2009-03-16 16:10:07,970 DEBUG AI : PythonAI::PythonAI()11:11
Reisigerdoesn't go further...11:12
GeofftheMedioconsistent with above theory, I suppose11:18
ReisigerYes. I added some more loggers11:19
*** mithro has quit IRC11:19
Reisigerinteresting... now no exception, but it doesn't finish generating either11:20
*** GeoffTheMedio2 has quit IRC11:21
Reisigerodd... 2009-03-16 16:20:03,668 DEBUG AI : AI_1 logger initialized.11:21
Reisiger2009-03-16 16:20:03,669 DEBUG AI : PythonAI::PythonAI()11:21
Reisiger2009-03-16 16:20:03,692 DEBUG AI : Shutting down AI_1 logger...11:21
Reisiger2009-03-16 16:20:02,065 DEBUG Server : After: Base::post_event(CheckStartConditions());11:22
Reisiger2009-03-16 16:20:02,065 DEBUG Server : (ServerFSM) WaitingForSPGameJoiners.CheckStartConditions11:22
Reisigerstuck o_O11:22
GeofftheMediowhat did you change?11:22
ReisigerI added some more loggers to PythonAI::PythonAI()11:23
ReisigerI'll comment them out, build again and see what happens11:23
Reisigerok... now the exceptions again ...11:27
GeofftheMedioodd11:28
ReisigerAI_1error.txt11:28
Reisigermain() caught exception(std::runtime_error): Attempted to create more than one Python AI instanceUsage:11:28
GeofftheMediouhm...11:29
GeofftheMediook11:29
ReisigerI'll revert the scripts back to the latest SVN version, then try again11:29
GeofftheMediodon't think this is a script issue11:30
ReisigerI doubt it aswell, but just incase I messed up while adding the log output11:31
GeofftheMediowere you adding log output to the .py files or the .cpp files?11:32
Reisigerthe cpp11:32
GeofftheMedio"scripts" usually doesn't refer to cpp files11:32
Reisigerwould 'code' be more apropriate?11:33
ReisigerNo more AI error txt's11:34
GeofftheMediosure.11:35
Reisiger*facepalm* What am I doing to that poor program?!11:35
GeofftheMediohmm... maybe the text of that exception was misleading...?11:35
Reisigerit must have apeated around...11:36
ReisigerPythonAI.cpp line  17211:36
ReisigerOh the shame... I forgot to add braces when I slapped in the log output11:38
ReisigerSo that was miseading11:39
ReisigerAdding a delay to the PythonAI() funktion to attach the debugger11:44
ReisigerInteresting... crashes even before going into PythonAI?11:51
GeofftheMediomaybe fails trying to load a dll that wasn't built for the os?11:52
Reisigerwould python make a log?11:52
GeofftheMediodon't know11:53
Reisigerhm... need to reboot again. brb11:55
*** Reisiger has quit IRC11:55
*** Reisiger has joined #freeorion12:01
ReisigerBack. Going to add more breakpoints to PythonAI12:03
ReisigerNow I'm getting something new12:10
ReisigerUnhandled exception at 0x002aa1c4 in freeorionca.exe: 0xC0000005: Access violation reading location 0x00000004.12:10
GeofftheMediouhm... dunno12:10
Reisigerand the debugger points me to template<class T>12:10
Reisigerrebuilding helped...12:16
ReisigerPy_Initialize();12:16
Reisigerthat's the troublemaker12:17
Reisigeror not o_O12:19
Reisigerexception this time around initfreeOrionAIInterface();12:20
ReisigerAI logs stop at:12:24
Reisiger2009-03-16 17:23:36,488 ERROR AI : Before: initfreeOrionLogger();12:24
ReisigerHm... I'll give upgrading to Boost 1.38 a shot... otherwise I'm clueless.13:15
GeofftheMediomaybe see if a simple example boost python program can run?13:16
Reisigerk, making one13:18
Reisigerbugger tells me all the time the boost_python... dll is missing o_O13:33
GeofftheMediois it?13:33
Reisigermight be not a simple enough example13:34
ReisigerEither I messed up the hello world variant while copy/pasting or I forgot one of the project settings13:39
ReisigerI give up for today... going to get a clean setup of everything13:42
GeofftheMediomkay13:42
ReisigerHave a nice evening :)13:44
GeofftheMediomorning actually13:44
*** Reisiger has left #freeorion13:45
*** kroddn has quit IRC13:55
*** kroddn has joined #freeorion14:01
*** ChanServ sets mode: +o kroddn14:01
*** kroddnoMobil has joined #freeorion15:39
*** ChanServ sets mode: +o kroddnoMobil15:39
*** Reisiger has joined #freeorion16:47
ReisigerGood evening ;)16:47
ReisigerGot FreeOrion to work16:47
ReisigerUpdating to Boost  1.38 did the trick16:48
kroddnoMobilwhich os are you using?16:50
ReisigerWin 7 beta build 700 x6416:51
Reisigererr build 700016:51
ReisigerWhich translates to Vista 1.1 x64 ^_^16:51
kroddnoMobilGeofftheMedio17:12
kroddnoMobilcan you check if I still have rights on FreeOrion at SourceForge  ?17:12
kroddnoMobilI cannot find the admin menu...17:12
Reisigershall I make a wiki entry in compiling in windows --> runtime errors?17:14
kroddnoMobilif it helps others...17:15
kroddnoMobilGeofftheMedio: found it, there's no admin menu any more17:15
Reisigerhm... not sure... might be a specific issue with my OS & Python26 & MSVC 2008 IDE...17:16
kroddnoMobilevery problem that is solved should be written down about somewhere17:19
kroddnoMobilso, use the wiki or the forums17:19
GeofftheMediokroddn make sure you're logged in?17:20
ReisigerI posted an update to the thread I started in the support forum. So it 's written down :)17:20
kroddnoMobilGeofftheMedio: the "Upload" links appear after clicking on Download17:22
kroddnoMobilI just released a 0.3.12 linux version17:23
GeofftheMedioawesome17:24
kroddnoMobilCan you add a posting to http://www.freeorion.org/forum/viewtopic.php?f=12&t=1220&p=35315#p35315 ?17:25
tpb<http://ln-s.net/31GX> (at www.freeorion.org)17:25
kroddnoMobilI named it 0.3.12.1 because its a never release then the 0.3.12 win32 one17:25
kroddnoMobilnever = newer17:25
GeofftheMedioI'll get to it, but not immediately17:26
kroddnoMobilPlease add a note that it may not run on every ATI card, even if it supports OpenGL >= 2.017:28
ReisigerGood night everyone :)17:47
kroddnoMobilhF17:48
*** Reisiger has left #freeorion17:48
*** hagish has joined #freeorion18:58
*** mithro has joined #freeorion20:17
*** hagish has quit IRC20:32
*** kroddnoMobil has quit IRC20:37
*** mithro has quit IRC21:47
*** ChanServ sets mode: +o GeofftheMedio22:43
GeofftheMediokroddn: could you update the Tarballs section of the Compile wiki page with the relevant versions of FO and GG for your new linux release?22:51
*** welterde has quit IRC23:49
*** GeofftheMedio has quit IRC23:49
*** STalKer-X has quit IRC23:49
*** kroddn has quit IRC23:49
*** kroddn has joined #freeorion23:51
*** GeofftheMedio has joined #freeorion23:51
*** STalKer-X has joined #freeorion23:51
*** welterde has joined #freeorion23:51
*** irc.freenode.net sets mode: +oo kroddn GeofftheMedio23:51

Generated by irclog2html.py 2.5 by Marius Gedminas - find it at mg.pov.lt!