bkerler/edl

Issues while running edl

phuclv90 opened this issue · 0 comments

I'm trying to build & run but any edl commands return invalid escape sequence error.
I also don't know if my full-flash command is correct or not

$ edl qfil rawprogram0.xml patch0.xml .
/opt/homebrew/bin/edl:4: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
  __import__('pkg_resources').run_script('edlclient==3.62', 'edl')
/opt/homebrew/lib/python3.12/site-packages/docopt-0.6.2-py3.12.egg/docopt.py:165: SyntaxWarning: invalid escape sequence '\S'
/opt/homebrew/lib/python3.12/site-packages/docopt-0.6.2-py3.12.egg/docopt.py:166: SyntaxWarning: invalid escape sequence '\['
/opt/homebrew/lib/python3.12/site-packages/docopt-0.6.2-py3.12.egg/docopt.py:207: SyntaxWarning: invalid escape sequence '\['
/opt/homebrew/lib/python3.12/site-packages/docopt-0.6.2-py3.12.egg/docopt.py:456: SyntaxWarning: invalid escape sequence '\S'
/opt/homebrew/lib/python3.12/site-packages/docopt-0.6.2-py3.12.egg/docopt.py:165: SyntaxWarning: invalid escape sequence '\S'
/opt/homebrew/lib/python3.12/site-packages/docopt-0.6.2-py3.12.egg/docopt.py:166: SyntaxWarning: invalid escape sequence '\['
/opt/homebrew/lib/python3.12/site-packages/docopt-0.6.2-py3.12.egg/docopt.py:207: SyntaxWarning: invalid escape sequence '\['
/opt/homebrew/lib/python3.12/site-packages/docopt-0.6.2-py3.12.egg/docopt.py:456: SyntaxWarning: invalid escape sequence '\S'
Capstone library is missing (optional).
Keystone library is missing (optional).
Qualcomm Sahara / Firehose Client V3.62 (c) B.Kerler 2018-2023.
main - Trying with no loader given ...
main - Waiting for the device
main - Device detected :)
main - Mode detected: sahara
Traceback (most recent call last):
  File "/opt/homebrew/bin/edl", line 4, in <module>
    __import__('pkg_resources').run_script('edlclient==3.62', 'edl')
  File "/opt/homebrew/lib/python3.12/site-packages/pkg_resources/__init__.py", line 680, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/opt/homebrew/lib/python3.12/site-packages/pkg_resources/__init__.py", line 1516, in run_script
    exec(code, namespace, namespace)
  File "/opt/homebrew/lib/python3.12/site-packages/edlclient-3.62-py3.12.egg/EGG-INFO/scripts/edl", line 393, in <module>
    base.run()
  File "/opt/homebrew/lib/python3.12/site-packages/edlclient-3.62-py3.12.egg/EGG-INFO/scripts/edl", line 295, in run
    version = conninfo["data"].version
              ^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: type object 'req' has no attribute 'version'