Skip to content

error when using Blinka caused by gc.mem_free() #11

Closed
@Jayguitar

Description

@Jayguitar

Using Blinka to run NASA image of the day example on a pitft results in the following error:
response = self.network.fetch(self.url, timeout=timeout) File "/home/pi/.local/lib/python3.7/site-packages/adafruit_portalbase/network.py", line 429, in fetch print("Free mem: ", gc.mem_free()) # pylint: disable=no-member AttributeError: module 'gc' has no attribute 'mem_free'

I think because gc.mem_free() is a circuitpython specific attribute and not present in Cpython gc module

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