--- src/application/pythonscript.cpp.orig 2008-04-17 09:33:52.000000000 -0400 +++ src/application/pythonscript.cpp 2008-04-17 09:35:07.000000000 -0400 @@ -99,7 +99,7 @@ if ( !(py_traceback=cStringIO->cgetvalue(catch_stderr)) ) throw ApplicationError("unable to get traceback","PythonScript::run()"); - int length; + Py_ssize_t length; char *traceback; if (PyString_AsStringAndSize(py_traceback, &traceback, &length)) throw ApplicationError("unable to convert traceback to char*","PythonScript::run()");