Skip to content

Bulk hexpansion provisioner doesn't seem to work on alpha4 #329

@thinkl33t

Description

@thinkl33t

Describe the bug

When trying to bulk provision some hexpansions on 2.0.0 alpha4, i get a crash-to-repl

Downloading https://github.com/emfcamp/hexpansion-firmwares/releases/download/latest//firmware_0x1337_0xAEAE.tar.gz

Traceback (most recent call last):
  File "main.py", line 43, in <module>
  File "system/scheduler/__init__.py", line 243, in run_forever
  File "asyncio/core.py", line 1, in run_until_complete
  File "asyncio/core.py", line 1, in run_until_complete
  File "asyncio/core.py", line 1, in run_until_complete
  File "system/scheduler/__init__.py", line 239, in _main
  File "asyncio/funcs.py", line 1, in gather
  File "asyncio/core.py", line 1, in run_until_complete
  File "system/eventbus.py", line 101, in run
  File "asyncio/funcs.py", line 1, in gather
  File "asyncio/core.py", line 1, in run_until_complete
  File "firmware_apps/hexpansionfw.py", line 431, in _button_handler
  File "firmware_apps/hexpansionfw.py", line 353, in button_event
  File "app_components/layout.py", line 224, in button_event
  File "app_components/layout.py", line 78, in button_event
  File "firmware_apps/hexpansionfw.py", line 318, in bulk_provision_handler
  File "firmware_apps/hexpansionfw.py", line 328, in _bulk_provision
  File "async_helpers.py", line 54, in unblock
  File "asyncio/funcs.py", line 1, in gather
  File "asyncio/core.py", line 1, in run_until_complete
  File "async_helpers.py", line 43, in periodic
TypeError: 'NoneType' object isn't iterable

To Reproduce
Steps to reproduce the behavior:

  1. Hexpansions
  2. Select Hexpansion (tested in port 3 and 4)

Expected behavior
Should work :)

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions