redis.exceptions.ResponseError: value is not an integer or out of range

I got error when I click the ‘item code’ field in the table below. how can I solve this problem?

1 Like

is there any script or server side func that gets triggered when that cell is modified? most probably its a func that tries to execute something with data in one of the cells that should be an integer and current data is not integer or maybe not defined

i didnt custom anything both script or server side func, but I know in backend the code is triggered. how can I solve that thing?

This problem seems to be with recent upgrades to python 3.5
look at this https://github.com/frappe/frappe/commit/256428572ffb81146c056b6fcda1f08be3fceca3

1 Like

So, how to fix it without editing the frappe? Downgrade python version?

I have changed the file like in this link. The file is: /home/<youruser>/erpnext/apps/frappe/frappe/utils/redis_wrapper.py . I use ERPNext v12.6.0 (version-12) and Frappe Framework v12.4.1 (version-12)

NOTE: Be aware at the order of the arguments of setx(); it shoud be like in documentation: DOCUMENTATION: setex() .