usbrply icon indicating copy to clipboard operation
usbrply copied to clipboard

Failed to guess vid/pid

Open ajmeese7 opened this issue 1 year ago • 2 comments

I got the following errors when I tried to run usbrply --wrapper --device-hi -p pcap1_v2.pcapng > replay.py:

Traceback (most recent call last):
  File "/usr/local/bin/usbrply", line 33, in <module>
    sys.exit(load_entry_point('usbrply==2.1.1', 'console_scripts', 'usbrply')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/usbrply-2.1.1-py3.11.egg/usbrply/main.py", line 140, in main
  File "/usr/local/lib/python3.11/dist-packages/usbrply-2.1.1-py3.11.egg/usbrply/printers.py", line 17, in run
  File "/usr/local/lib/python3.11/dist-packages/usbrply-2.1.1-py3.11.egg/usbrply/pyprinter.py", line 246, in run
Exception: Failed to guess vid/pid: found 0 device entries

This is the PCAP file in question, I'm still very inexperienced working with USB data captures so this may be "expected" behavior here. If it is, some error handling for this use case would be useful!

Very neat tool, thank you for sharing.

ajmeese7 avatar Jul 28 '23 00:07 ajmeese7

Any update on this issue? I'm facing the same one.

bsaleh03 avatar Sep 19 '23 14:09 bsaleh03

Unfortunately not. There is a project that was supposed to use usbrply that's been pushed back a bunch of times. Still haven't gotten to it and pretty busy with other work.

JohnDMcMaster avatar Sep 29 '23 00:09 JohnDMcMaster