Skip to content

Crash while autodetecting parameters #1096

Open
@0x8000-0000

Description

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.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions