求助

大神们帮帮小弟,我在用redis 和 flask 维护代理池的时候出现报错

Process Process-1:
Traceback (most recent call last):
Traceback (most recent call last):
  File "C:\Users\26243\Anaconda3\Lib\multiprocessing\process.py", line 258, in _bootstrap
    self.run()
  File "C:\Users\26243\Anaconda3\Lib\multiprocessing\process.py", line 93, in run
    self._target(*self._args, **self._kwargs)
  File "D:\ProxyPool-master\proxypool\schedule.py", line 129, in check_pool
    if conn.queue_len < lower_threshold:
  File "D:\ProxyPool-master\proxypool\db.py", line 41, in queue_len
    return self._db.llen("proxies")
  File "D:\26243\lib\site-packages\redis\client.py", line 1671, in llen
    return self.execute_command('LLEN', name)
  File "D:\26243\lib\site-packages\redis\client.py", line 839, in execute_command
    return self.parse_response(conn, command_name, **options)
  File "D:\26243\lib\site-packages\redis\client.py", line 853, in parse_response
    response = connection.read_response()
  File "C:\Users\26243\Anaconda3\Lib\multiprocessing\process.py", line 258, in _bootstrap
    self.run()
  File "D:\26243\lib\site-packages\redis\connection.py", line 718, in read_response
    raise response
  File "C:\Users\26243\Anaconda3\Lib\multiprocessing\process.py", line 93, in run
    self._target(*self._args, **self._kwargs)
  File "D:\ProxyPool-master\proxypool\schedule.py", line 109, in valid_proxy
    count = int(0.5 * conn.queue_len)
  File "D:\ProxyPool-master\proxypool\db.py", line 41, in queue_len
    return self._db.llen("proxies")
  File "D:\26243\lib\site-packages\redis\client.py", line 1671, in llen
    return self.execute_command('LLEN', name)
  File "D:\26243\lib\site-packages\redis\client.py", line 839, in execute_command
    return self.parse_response(conn, command_name, **options)
redis.exceptions.ResponseError: WRONGTYPE Operation against a key holding the wrong kind of value
  File "D:\26243\lib\site-packages\redis\client.py", line 853, in parse_response
    response = connection.read_response()
  File "D:\26243\lib\site-packages\redis\connection.py", line 718, in read_response
    raise response
redis.exceptions.ResponseError: WRONGTYPE Operation against a key holding the wrong kind of value

我是蒙蔽了,可以给我一点点的帮助吗

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值