Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Rlyslata opened this issue Oct 11, 2019 · 0 comments

Comments

@Rlyslata
Copy link

Rlyslata commented Oct 11, 2019

[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_functionsrule.endpoint
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)

@Rlyslata Rlyslata changed the title 在使用这个工具查看数据时出现了这个error: 在使用这个工具查看数据时出现了这个error:ValueError: too many values to unpack (expected 2) Oct 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant