Error in Data type

I have some calculation for which I created some custom docfield of Int type its working good when directly saving but its not get updated when updated through report.
TypeError: coercing to Unicode: need string or buffer, long found

@hereabdulla you need to convert your values to numeric types. Please lookup Python help

all the docfields are int type only but when try to update using reports only it shows error…