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

在centos7上部署出错了 #39

Open
5279314 opened this issue Nov 5, 2021 · 0 comments
Open

在centos7上部署出错了 #39

5279314 opened this issue Nov 5, 2021 · 0 comments

Comments

@5279314
Copy link

5279314 commented Nov 5, 2021

[2021-11-05 15:30:32 +0800] [10436] [ERROR] Error handling request /datashow/?id=5&_=1636097429917
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/gunicorn/workers/sync.py", line 136, in handle
self.handle_request(listener, req, client, addr)
File "/usr/local/lib/python3.6/site-packages/gunicorn/workers/sync.py", line 179, in handle_request
respiter = self.wsgi(environ, resp.start_response)
File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 2000, in call
return self.wsgi_app(environ, start_response)
File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1991, in wsgi_app
response = self.make_response(self.handle_exception(e))
File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1567, in handle_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python3.6/site-packages/flask/_compat.py", line 33, in reraise
raise value
File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1988, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1641, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1544, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python3.6/site-packages/flask/_compat.py", line 33, in reraise
raise value
File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1639, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1625, in dispatch_request
return self.view_functionsrule.endpoint
File "/root/Pcap-Analyzer/app/views.py", line 106, in datashow
PCAPS[dataid].pdfdump(app.config['PDF_FOLDER'] + PDF_NAME)
File "/usr/local/lib/python3.6/site-packages/scapy/packet.py", line 526, in pdfdump
canvas = self.canvas_dump(**kargs)
File "/usr/local/lib/python3.6/site-packages/scapy/packet.py", line 542, in canvas_dump
raise ImportError("PyX and its depedencies must be installed")
ImportError: PyX and its depedencies must be installed

[root@moban Pcap-Analyzer-master]# pip3 list
Package Version


aiohttp 3.8.0
aiosignal 1.2.0
async-timeout 4.0.0
asynctest 0.13.0
attrs 21.2.0
backcall 0.2.0
certifi 2021.10.8
charset-normalizer 2.0.7
click 8.0.3
decorator 5.1.0
Flask 2.0.2
Flask-WTF 0.15.1
frozenlist 1.2.0
geoip2 4.4.0
gunicorn 20.1.0
idna 3.3
importlib-metadata 4.8.1
ipython 7.29.0
itsdangerous 2.0.1
jedi 0.18.0
Jinja2 3.0.2
MarkupSafe 2.0.1
matplotlib-inline 0.1.3
maxminddb 2.2.0
multidict 5.2.0
parso 0.8.2
pexpect 4.8.0
pickleshare 0.7.5
pip 21.3.1
prompt-toolkit 3.0.22
ptyprocess 0.7.0
Pygments 2.10.0
PyX 0.15
requests 2.26.0
scapy 2.4.5
scapy-python3 0.26
setuptools 47.1.0
traitlets 5.1.1
typing-extensions 3.10.0.2
urllib3 1.26.7
wcwidth 0.2.5
Werkzeug 2.0.2
WTForms 2.3.3
yarl 1.7.2
zipp 3.6.0

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