jhao104 / ssdbadmin Goto Github PK
View Code? Open in Web Editor NEWSSDB可视化界面管理工具 ssdb web manager tool
Home Page: http://ssdb.io/docs/zh_cn/
License: Apache License 2.0
SSDB可视化界面管理工具 ssdb web manager tool
Home Page: http://ssdb.io/docs/zh_cn/
License: Apache License 2.0
python 3.7.1
flask 0.12
Traceback (most recent call last): File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\flask\app.py", line 1994, in __call__ return self.wsgi_app(environ, start_response) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\flask\app.py", line 1985, in wsgi_app response = self.handle_exception(e) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\flask\app.py", line 1540, in handle_exception reraise(exc_type, exc_value, tb) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\flask\_compat.py", line 33, in reraise raise value File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\flask\app.py", line 1982, in wsgi_app response = self.full_dispatch_request() File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\flask\app.py", line 1614, in full_dispatch_request rv = self.handle_user_exception(e) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\flask\app.py", line 1517, in handle_user_exception reraise(exc_type, exc_value, tb) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\flask\_compat.py", line 33, in reraise raise value File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\flask\app.py", line 1612, in full_dispatch_request rv = self.dispatch_request() File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\flask\app.py", line 1598, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "D:\Downloads\goole\SSDBAdmin-master\SSDBAdmin\apps\index.py", line 34, in index server_info = SSDBClient(request).serverInfo() File "D:\Downloads\goole\SSDBAdmin-master\SSDBAdmin\model\SSDBClient.py", line 51, in serverInfo info_list = [_.decode() for _ in self.__conn.execute_command('info')] File "D:\Downloads\goole\SSDBAdmin-master\SSDBAdmin\model\SSDBClient.py", line 51, in <listcomp> info_list = [_.decode() for _ in self.__conn.execute_command('info')] AttributeError: 'int' object has no attribute 'decode'
在 kv 页面,当没有选择任何数据的时候,直接点击红色 x 会报错
配置 用户名 密码
页面都报错了, hlist这个命令好像不存在啊,还有scan命令用法应该也有问题,直接报错
有没有计划 改成python3
方便加上输入页码跳转吗?kv那块翻页比较麻烦,有时候key记不太清。
Traceback (most recent call last):
File "Run/main.py", line 20, in
from Api.ProxyApi import run as ProxyApiRun
ImportError: No module named Api.ProxyApi
如题
Web网页提示:500 Internal Server Error: The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
服务器的运行日志里面有一个报错:AttributeError: 'list' object has no attribute 'decode
服务器环境:Centos 8
&& python36
我的redis设置了密码。。
我在配置中加入了密码。。
就出现了这个提示
File "C:\ProgramData\Anaconda3\lib\site-packages\flask\app.py", line 2309, in call
return self.wsgi_app(environ, start_response)
File "C:\ProgramData\Anaconda3\lib\site-packages\flask\app.py", line 2295, in wsgi_app
try:
ctx.push()
response = self.full_dispatch_request()
except Exception as e:
error = e
response = self.handle_exception(e)
except:
error = sys.exc_info()[1]
raise
return response(environ, start_response)
finally:
File "C:\ProgramData\Anaconda3\lib\site-packages\flask\app.py", line 1741, in handle_exception
reraise(exc_type, exc_value, tb)
File "C:\ProgramData\Anaconda3\lib\site-packages\flask_compat.py", line 35, in reraise
raise value
File "C:\ProgramData\Anaconda3\lib\site-packages\flask\app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "C:\ProgramData\Anaconda3\lib\site-packages\flask\app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "C:\ProgramData\Anaconda3\lib\site-packages\flask\app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "C:\ProgramData\Anaconda3\lib\site-packages\flask_compat.py", line 35, in reraise
raise value
File "C:\ProgramData\Anaconda3\lib\site-packages\flask\app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "C:\ProgramData\Anaconda3\lib\site-packages\flask\app.py", line 1799, in dispatch_request
return self.view_functionsrule.endpoint
File "C:\Users<user>\Python\jhao104\SSDBAdmin\SSDBAdmin\apps\index.py", line 34, in index
server_info = SSDBClient(request).serverInfo()
File "C:\Users<user>\Python\jhao104\SSDBAdmin\SSDBAdmin\model\SSDBClient.py", line 51, in serverInfo
info_list = [.decode() for _ in self.__conn.execute_command('info')]
File "C:\Users<user>\Python\jhao104\SSDBAdmin\SSDBAdmin\model\SSDBClient.py", line 51, in
info_list = [.decode() for _ in self.__conn.execute_command('info')]
AttributeError: 'int' object has no attribute 'decode'
python 环境:3.7.2
redis 版本: 5.0.4 (00000000/0) 64 bit
AttributeError
AttributeError: 'int' object has no attribute 'decode'
Traceback (most recent call last)
File "/Users/lixingmao/Downloads/proxy_pool/venv/lib/python3.7/site-packages/flask/app.py", line 2309, in call
return self.wsgi_app(environ, start_response)
File "/Users/lixingmao/Downloads/proxy_pool/venv/lib/python3.7/site-packages/flask/app.py", line 2295, in wsgi_app
response = self.handle_exception(e)
File "/Users/lixingmao/Downloads/proxy_pool/venv/lib/python3.7/site-packages/flask/app.py", line 1741, in handle_exception
reraise(exc_type, exc_value, tb)
File "/Users/lixingmao/Downloads/proxy_pool/venv/lib/python3.7/site-packages/flask/compat.py", line 35, in reraise
raise value
File "/Users/lixingmao/Downloads/proxy_pool/venv/lib/python3.7/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/Users/lixingmao/Downloads/proxy_pool/venv/lib/python3.7/site-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/Users/lixingmao/Downloads/proxy_pool/venv/lib/python3.7/site-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/Users/lixingmao/Downloads/proxy_pool/venv/lib/python3.7/site-packages/flask/compat.py", line 35, in reraise
raise value
File "/Users/lixingmao/Downloads/proxy_pool/venv/lib/python3.7/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/Users/lixingmao/Downloads/proxy_pool/venv/lib/python3.7/site-packages/flask/app.py", line 1799, in dispatch_request
Open an interactive python shell in this framereturn self.view_functionsrule.endpoint
File "/Users/lixingmao/Downloads/SSDBAdmin/SSDBAdmin/apps/index.py", line 34, in index
server_info = SSDBClient(request).serverInfo()
File "/Users/lixingmao/Downloads/SSDBAdmin/SSDBAdmin/model/SSDBClient.py", line 53, in serverInfo
info_list = [.decode() for _ in self.__conn.execute_command('info')]
File "/Users/lixingmao/Downloads/SSDBAdmin/SSDBAdmin/model/SSDBClient.py", line 53, in
info_list = [.decode() for _ in self.__conn.execute_command('info')]
AttributeError: 'int' object has no attribute 'decode'
The debugger caught an exception in your WSGI application. You can now look at the traceback which led to the error.
To switch between the interactive traceback and the plaintext one, you can click on the "Traceback" headline. From the text traceback you can also create a paste of it. For code execution mouse-over the frame you want to debug and click on the console icon on the right side.
You can execute arbitrary Python code in the stack frames and there are some extra helpers available for introspection:
dump() shows all variables in the frame
dump(obj) dumps all that's known about the object
Brought to you by DON'T PANIC, your friendly Werkzeug powered traceback interpreter.
谢谢分享,请问有支持注册登录功能吗?
'int' object has no attribute 'split'
[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)
应该是1.0.2啊
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.