Skip to content

os.path issue #31

Closed
Closed
@verystealthy

Description

@verystealthy

Hello! It looks like commit #8a6a473 broke the library on CircuitPython. I have very limited understanding of this whole thing, but, from what I can gather, the change to os.path is causing an error because os.path is not part of the built-in CircuitPython os module. In other words, CircuitPython doesn't really now what os.path is.

Error on CircuitPython 6.0.0 code running on a Matrix Portal M4 board:

Traceback (most recent call last):
File "code.py", line 24, in
File "adafruit_slideshow.py", line 248, in init
File "adafruit_slideshow.py", line 251, in
AttributeError: 'module' object has no attribute 'path'

Removing references to os.path from adafruit_slideshow.py and going back to folder + f (and adding the trailing "/" to the path) solves the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions