Subject: | 'OverflowError: Python int too large to convert to C long Inline/Python.pm line 359 with python3 |
I am using inline python v0.56, (perl version being 5.18.2), I am running 32bit versions of perl and python. Everything was working great.
recently i migrated from 2.7 to python 3.5. After that I started getting the error.
'OverflowError: Python int too large to convert to C long at Inline/Python.pm line 359, <$fileHandle> line 1.
Inline::Python::Object::Data::FETCH(\'Inline::Python::Object::Data=REF(0xdd35be8)\', \'SUCCESS\') called
....
I see this issue consistently, this was working fine when python version was 2.7 but fails in python3.
other thing i noticed, when i check the time on both perl side and python side they are differetn.
python side
----------
"_create_time" : 1511856441099,
"_last_modified_time" : 1511856441099,
perl side
'_create_time' => -1,
'_last_modified_time' => -1,