I’ve never seen this error before, and none of the hits on Google seem to apply. I’ve got a very large NumPy array that holds Boolean values. When I try writing the array using numpy.dump(), I get the following error:
SystemError: NULL result without error in PyObject_Call
The array is initialized with all False values, and the only time I ever access it is to set some of the values to True, so I have no idea why any of the values would be null.
When I try running the same program with a smaller array, I get no error. However, since the error occurs at the writing step, I don’t think that it’s a memory issue. Has anybody else seen this error before?
It appears that this may have been an error from using the 32-bit version of NumPy and not the 64 bit. For whatever reason, though the program has no problem keeping the array in memory, it trips up when writing the array to a file if the number of elements in the array is greater than 2^32.