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

Crash while autodetecting parameters #1096

Open
0x8000-0000 opened this issue Jan 6, 2024 · 0 comments
Open

Crash while autodetecting parameters #1096

0x8000-0000 opened this issue Jan 6, 2024 · 0 comments

Comments

@0x8000-0000
Copy link

Expected Behavior

Loaded a signal captured by rtl_433. Switched to "Analysis" then pushed on "Analyze Protocol". Expected some protocol decoding.
(Please e-mail me directly for the files, I can't attach them to GitHub)

Actual Behavior

[ERROR::Errors.py::exception]
Traceback (most recent call last):
File "/home/florin/tools/urh/src/urh/controller/CompareFrameController.py", line 1366, in on_btn_analyze_clicked
self.proto_analyzer.auto_assign_labels()
File "/home/florin/tools/urh/src/urh/signalprocessing/ProtocolAnalyzer.py", line 833, in auto_assign_labels
format_finder = FormatFinder(self.messages)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/florin/tools/urh/src/urh/awre/FormatFinder.py", line 54, in init
) = preprocessor.preprocess()
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/florin/tools/urh/src/urh/awre/Preprocessor.py", line 39, in preprocess
preamble_lengths = self.get_preamble_lengths_from_sync_words(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/florin/tools/urh/src/urh/awre/Preprocessor.py", line 57, in get_preamble_lengths_from_sync_words
assert all(len(sync_word) == len(sync_words[0]) for sync_word in sync_words)
AssertionError

Steps To Reproduce

Loaded a signal captured by rtl_433.
Switched to "Analysis" tab.
Pushed on "Analyze Protocol" button.
See error above (in a dialog and in the console)

Platform Specifications
  • OS: Debian Linux Bookworm
  • URH version: a390350
  • Python version: 3.11.2
  • Not installed, ran straight from the git clone.
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