From: Lukas G. <lg...@op...> - 2015-03-30 11:50:21
|
Hello, I checked out the code from svn a few days ago and I get the following problem: When I run the mission where Jenek sends one to Bernard's Star the game crashes during the Jump from Stirling to Bernard's with the following exception: Traceback (most recent call last): File "/usr/local/src/vegastrike/data/modules/missions/directions_mission.py", line 117, in Execute self.base=self.findUnit(self.destination) File "/usr/local/src/vegastrike/data/modules/missions/directions_mission.py", line 69, in findUnit if testun.getName().lower()==name.lower() or testun.getFullname().lower()==name.lower(): UnboundLocalError: local variable 'testun' referenced before assignment terminate called after throwing an instance of 'boost::python::error_already_set' Aborted (core dumped) I changed 'testun' to 'un' (~5 occurences) and it seems to work fine now. I don't get the exception anymore. -- Lukas Gradl Email: lg...@op... XMPP: lg...@ja... fingerprint: 2F07 6B84 2704 B631 B8D3 6C0E A49D 050F AC97 11C1 You won't find me on Facebook |