jhao104 / jhao104/SSDBAdmin

在使用这个工具查看数据时出现了这个error:ValueError: too many values to unpack (expected 2)

Open
#24 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
349
Forks
88
PR merge metrics
No merged PRs in 30d

Description

[2019-10-11 19:09:17,369] ERROR in app: Exception on /ssdbadmin/hash/scan [GET]
Traceback (most recent call last):
File "D:\Python37\lib\site-packages\flask\app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
File "D:\Python37\lib\site-packages\flask\app.py", line 1614, in full_dispatch_request
rv = self.handle_user_exception(e)
File "D:\Python37\lib\site-packages\flask\app.py", line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "D:\Python37\lib\site-packages\flask\_compat.py", line 33, in reraise
raise value
File "D:\Python37\lib\site-packages\flask\app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
File "D:\Python37\lib\site-packages\flask\app.py", line 1598, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "D:\PyCharm Community Edition 2019.2.1\SSDBAdmin-master\SSDBAdmin\apps\hash.py", line 58, in hashScan
item_list = db_client.hashScan(name, key_start, "", limit=limit + 1)
File "D:\PyCharm Community Edition 2019.2.1\SSDBAdmin-master\SSDBAdmin\model\SSDBClient.py", line 301, in hashScan
item_list = self.__conn.execute_command('hscan', hash_name, key_start, key_end, limit)
File "D:\Python37\lib\site-packages\redis\client.py", line 839, in execute_command
return self.parse_response(conn, command_name, **options)
File "D:\Python37\lib\site-packages\redis\client.py", line 859, in parse_response
return self.response_callbacks[command_name](response, **options)
File "D:\Python37\lib\site-packages\redis\client.py", line 380, in parse_hscan
cursor, r = response
ValueError: too many values to unpack (expected 2)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.