Civ4 Multiplayer Compatability Guide

Thanks for your post.

I ended up trying this code in the close function:
Code:
CvUtil.pyPrint(self.log) + self.log

Now the OOSlog information (160 MB for one turn!) is written to the pythonDebug file :D but at the same time it is also causing a python exception :(
Code:
TypeError: unsupported operand type(s) for +: 'NoneType' and 'unicode'
ERR: Python function onEvent failed, module CvEventInterface

I guess just remove one of them and see what happens.

Try CvUtil.pyPrint(self.log) all by itself (I'm assuming CvUtil.pyPrint is an actual function :))

It looks like you have
Code:
CvUtil.pyPrint(self.log)
which is a function, then try to add the results (NoneType) to a string (unicode).

But yes, hopefully that gets you the log files printed out.
 
Back
Top Bottom