Skip to content

Move hub drops last chunk of stdout when printing to Pybricks Code #835

@dlech

Description

@dlech

Describe the bug
Not all of the expected text is printed on move hub. The last part is cut off.

To reproduce

Firmware v3.2.0b6-5-g45cc21fe.

  1. Create a new program for a different hub (not move hub) using one of the templates in Pybricks Code.
  2. Run the program on a move hub.
  3. Observe the output in the terminal pane. The last bit is cut off.
Traceback (most recent call last):
  File "x.py", in <module>
ImportError: can't import name Techn

Expected behavior
It should not drop output.

Additional context

Capturing packets with Wireshark shows that the missing part was never sent, so the problem is likely with the Bluetooth chip/driver. Other hubs don't appear to have this problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    hub: movehubIssues related to the LEGO BOOST Move hubsoftware: pybricks-micropythonIssues with Pybricks MicroPython firmware (or EV3 runtime)topic: bluetoothIssues involving bluetooth

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions