Skip to content

Huffman submodule contents not included when cloning adafruit / circuitpython repo #6313

@CedarGroveStudios

Description

@CedarGroveStudios

CircuitPython version

CircuitPython 7.2.5

Code/REPL

git clone https://github.com/adafruit/circuitpython.git
cd circuitpython/mpy-cross
make

Behavior

Traceback (most recent call last):
  File "../py/makeqstrdata.py", line 29, in <module>
    import huffman
ModuleNotFoundError: No module named 'huffman'
make: *** [build/genhdr/qstrdefs.enum.h] Error 1
make: *** Deleting file `build/genhdr/qstrdefs.enum.h'

Description

After cloning https://github.com/adafruit/circuitpython.git for use in building mpy-cross (per https://learn.adafruit.com/creating-and-sharing-a-circuitpython-library/creating-a-library#mpy-3106477-16), making mpy-cross exits with this error:

Traceback (most recent call last):
  File "../py/makeqstrdata.py", line 29, in <module>
    import huffman
ModuleNotFoundError: No module named 'huffman'
make: *** [build/genhdr/qstrdefs.enum.h] Error 1
make: *** Deleting file `build/genhdr/qstrdefs.enum.h'

The circuitpython/tools/huffman folder appears in the local cloned repo, but is empty.

Additional information

git submodule status includes this entry:
-27b1bba76198a0b343f694a6d680b5293d1c56aa tools/huffman

Metadata

Metadata

Assignees

No one assigned

    Labels

    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