Import redis.exceptions.DataError
See original GitHub issueHi,
While simply trying to install modin and importing it, I get the following error from Redis:
redis.exceptions.DataError: Invalid input of type: 'NoneType'. Convert to a byte, string or number first.
Full trace:
Is this a known issue or dependency missing?
Thank you for your help!
Issue Analytics
- State:
- Created 5 years ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
Exceptions — redis-py dev documentation
Core exceptions raised by the Redis client. exception redis.exceptions.AskError(resp)[source]¶ ... dst node: IMPORTING from src node.
Read more >redis.exceptions.DataError: Invalid input of type: 'NoneType ...
redis.exceptions.DataError: Invalid input of type: 'NoneType'. Convert to a byte, string or number first. In my requirements.txt and virtual ...
Read more >Redis and Python3? - Google Groups
redis.exceptions.DataError: Invalid input of type: 'bool'. Convert to a byte, string or number first.
Read more >How to Use Redis With Python
redis.exceptions.DataError: Invalid input of type: 'date'. Convert to a byte, string or number first.
Read more >33361 (Redis cache backend doesn't allow storing bool values)
The following code raises an exception: redis.exceptions.DataError: Invalid input of type: ... from django.core.cache import cache cache.set("foo", True).
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The problem is with the redis dependency in Ray. I was able to reproduce the error by upgrading my redis install.
Here is the fix:
pip install redis==2.10.6
Then you should be able to run Modin and Ray without the redis error.
I am trying to load url as keys to redis and getting this error
this is how my URL looks like: https://d2i6pukzef2l69.cloudfront.net/nrm/images/STTM_VE;MEAS_CD_SEM/1A1JA/RUN01/1A1JA_STTM_VE_MEAS_CD_SEM_{S9_STTM_TEST_S9_STTM_TEST_M1}_DX6DY11SDX2SDY10_2020-10-20_04-25-17.JPG https://d2i6pukzef2l69.cloudfront.net/nrm/images/STTM_VE;MEAS_CD_SEM/1A1JA/RUN01/1A1JA_STTM_VE_MEAS_CD_SEM_{S9_STTM_TEST_S9_STTM_TEST_M1}_DX6DY11SDX13SDY41_2020-10-20_04-25-17.JPG https://d2i6pukzef2l69.cloudfront.net/stst/images/STTM_VE;MEAS_CD_SEM/A7HXM/RUN01/A7HXM_STTM_VE_MEAS_CD_SEM_{S9_STTM_KLA_TEST_2_S9_STTM_TEST_M1}_DX6DY9SDX7SDY23_2020-10-20_08-02-12.JPG https://d2i6pukzef2l69.cloudfront.net/stst/images/STTM_VE;MEAS_CD_SEM/A7HXM/RUN01/A7HXM_STTM_VE_MEAS_CD_SEM_{S9_STTM_KLA_TEST_2_S9_STTM_TEST_M1}_DX6DY9SDX10SDY33_2020-10-20_08-02-12.JPG https://d2i6pukzef2l69.cloudfront.net/nrm/images/STTM_VE;MEAS_CD_SEM/V92KI/RUN01/V92KI_STTM_VE_MEAS_CD_SEM_{S9_STTM_TEST_3_S9_STTM_TEST_M1}_DX11DY14SDX11SDY14_2020-10-20_02-24-06.JPG https://d2i6pukzef2l69.cloudfront.net/nrm/images/STTM_VE;MEAS_CD_SEM/V92KI/RUN01/V92KI_STTM_VE_MEAS_CD_SEM_{S9_STTM_TEST_3_S9_STTM_TEST_M1}_DX11DY14SDX6SDY35_2020-10-20_02-24-06.JPG https://d2i6pukzef2l69.cloudfront.net/nrm/images/STTM_VE;MEAS_CD_SEM/V92KI/RUN01/V92KI_STTM_VE_MEAS_CD_SEM_{S9_STTM_TEST_2_S9_STTM_TEST_M1}_DX5DY9SDX10SDY33_2020-10-20_02-24-06.JPG https://d2i6pukzef2l69.cloudfront.net/nrm/images/STTM_VE;MEAS_CD_SEM/V92KI/RUN01/V92KI_STTM_VE_MEAS_CD_SEM_{S9_STTM_TEST_2_S9_STTM_TEST_M1}_DX5DY9SDX7SDY23_2020-10-20_02-24-06.JPG https://d2i6pukzef2l69.cloudfront.net/nrm/images/STTM_VE;MEAS_CD_SEM/V92KI/RUN01/V92KI_STTM_VE_MEAS_CD_SEM_{S9_STTM_TEST_2_S9_STTM_TEST_M1}_DX4DY6SDX10SDY33_2020-10-20_02-24-06.JPG https://d2i6pukzef2l69.cloudfront.net/nrm/images/STTM_VE;MEAS_CD_SEM/V92KI/RUN01/V92KI_STTM_VE_MEAS_CD_SEM_{S9_STTM_TEST_2_S9_STTM_TEST_M1}_DX4DY6SDX7SDY23_2020-10-20_02-24-06.JPG https://d2i6pukzef2l69.cloudfront.net/nrm/images/STTM_VE;MEAS_CD_SEM/V92KI/RUN01/V92KI_STTM_VE_MEAS_CD_SEM_{S9_STTM_TEST_2_S9_STTM_TEST_M1}_DX16DY5SDX10SDY33_2020-10-20_02-24-06.JPG https://d2i6pukzef2l69.cloudfront.net/nrm/images/STTM_VE;MEAS_CD_SEM/V92KI/RUN01/V92KI_STTM_VE_MEAS_CD_SEM_{S9_STTM_TEST_2_S9_STTM_TEST_M1}_DX16DY5SDX7SDY23_2020-10-20_02-24-06.JPG https://d2i6pukzef2l69.cloudfront.net/nrm/images/STTM_VE;MEAS_CD_SEM/V92KI/RUN01/V92KI_STTM_VE_MEAS_CD_SEM_{S9_STTM_TEST_2_S9_STTM_TEST_M1}_DX14DY10SDX10SDY33_2020-10-20_02-24-06.JPG https://d2i6pukzef2l69.cloudfront.net/nrm/images/STTM_VE;MEAS_CD_SEM/V92KI/RUN01/V92KI_STTM_VE_MEAS_CD_SEM_{S9_STTM_TEST_2_S9_STTM_TEST_M1}_DX14DY10SDX7SDY23_2020-10-20_02-24-06.JPG https://d2i6pukzef2l69.cloudfront.net/nrm/images/STTM_VE;MEAS_CD_SEM/1P3FM/RUN01/1P3FM_STTM_VE_MEAS_CD_SEM_{S9_STTM_TEST_2_S9_STTM_TEST_M1}_DX4DY6SDX7SDY23_2020-10-20_02-24-06.JPG
ERROR: Invalid input of type: ‘NoneType’. Convert to a bytes, string, int or float first.