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

can't run analyzer (possibly python 3.10 issue) #5

Open
AddRemover opened this issue Jan 14, 2024 · 0 comments
Open

can't run analyzer (possibly python 3.10 issue) #5

AddRemover opened this issue Jan 14, 2024 · 0 comments

Comments

@AddRemover
Copy link

AddRemover commented Jan 14, 2024

Hi there!
I've installed analyzer via "manual" mode on my ubuntu and whenever I try to load test pcap file provided with the github, I got following error in webserver console

Traceback (most recent call last):
  File "/home/user/5G-Trace-Analyzer/fiveGseqAnalyzer/analyzerApp/main.py", line 3, in <module>
    import pyshark
  File "/home/user/5G-Trace-Analyzer/.env/lib/python3.10/site-packages/pyshark/__init__.py", line 13, in <module>
    from pyshark.capture.live_capture import LiveCapture
  File "/home/user/5G-Trace-Analyzer/.env/lib/python3.10/site-packages/pyshark/capture/live_capture.py", line 7, in <module>
    from pyshark.capture.capture import Capture
  File "/home/user/5G-Trace-Analyzer/.env/lib/python3.10/site-packages/pyshark/capture/capture.py", line 14, in <module>
    from pyshark.tshark.output_parser import tshark_xml
  File "/home/user/5G-Trace-Analyzer/.env/lib/python3.10/site-packages/pyshark/tshark/output_parser/tshark_xml.py", line 2, in <module>
    import lxml.objectify
  File "src/lxml/objectify.pyx", line 1, in init lxml.objectify
ImportError: /home/user/5G-Trace-Analyzer/.env/lib/python3.10/site-packages/lxml/etree.cpython-310-x86_64-linux-gnu.so: undefined symbol: _PyGen_Send
Bad Request: /analyzer/ajax/AnalyzeTrace
[14/Jan/2024 13:43:46] "POST /analyzer/ajax/AnalyzeTrace HTTP/1.1" 400 0

I believe it's due to python 3.10 was installed.
A side note - please add pcapng support.

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