[Python-Dev] Python 2.6: OverflowError: signed integer is greater than maximum (original) (raw)
Mark Dickinson dickinsm at gmail.com
Mon Nov 9 20:15:20 CET 2009
- Previous message: [Python-Dev] Python 2.6: OverflowError: signed integer is greater than maximum
- Next message: [Python-Dev] Python 2.6: OverflowError: signed integer is greater than maximum
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, Nov 9, 2009 at 5:26 PM, Jasper Lievisse Adriaanse <jasper at humppa.nl> wrote:
Hi,
while trying to get Python 2.6 working on OpenBSD/sgi (64-bit port) I ran into the following during build: OverflowError: signed integer is greater than maximum I ran the command that triggered this by hand with -v added:
[traceback snipped]
Does anyone know what's going on here, or how to fix it? I can provide a full build and configure log if needed.
No idea. Please could you file a report at http://bugs.python.org? The build and configure log would be useful. If you can diagnose the source of the failure yourself any further that would be more useful; I suspect that the core developers will have a hard time figuring the problem out without this.
I may well be barking up the wrong tree here, but as a first guess it looks as though something in the _PySys_Init function in Python/sysmodule.c is (directly or indirectly) causing the OverflowError to be raised. I'd try adding a bunch of printf calls to that function that print the value of PyErr_Occurred(), to see where (if at all) the Python exception is being set. (I suggest building with the --with-pydebug configure option for this.)
Mark
- Previous message: [Python-Dev] Python 2.6: OverflowError: signed integer is greater than maximum
- Next message: [Python-Dev] Python 2.6: OverflowError: signed integer is greater than maximum
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]