The problem is that the crash_guard tries to do (basically) this:
print "Python version: %d.%d.%d %s %d" % sys.version_info
This fails. Then the outer try: block catches and hides the exception that this produces before exiting.
I'm not sure if this is a python bug or change or what, but the following code works instead:
print "Python version: %d.%d.%d %s %d" % (sys.version_info.major, sys.version_info.minor, sys.version_info.micro, sys.version_info.releaselevel, sys.version_info.serial)
or indeed:
print "Python version: %s" % sys.version
The problem is that the crash_guard tries to do (basically) this:
print "Python version: %d.%d.%d %s %d" % sys.version_info
This fails. Then the outer try: block catches and hides the exception that this produces before exiting.
I'm not sure if this is a python bug or change or what, but the following code works instead:
print "Python version: %d.%d.%d %s %d" % (sys.version_ info.major, sys.version_ info.minor, sys.version_ info.micro, sys.version_ info.releaselev el, sys.version_ info.serial)
or indeed:
print "Python version: %s" % sys.version