Skip to content
This repository was archived by the owner on Jun 6, 2024. It is now read-only.
This repository was archived by the owner on Jun 6, 2024. It is now read-only.

RuntimeError: generator raised StopIteration #1

Description

@fluxrider

raise StopIteration

Hello, first time user of bakefont3 here. I'm running into a StopIteration error when running the example. It looks like something changed in more recent versions of python in the last 3 years, that broke your code. There seems to be a very simple fix, which works for me anyway, that I got from this thread: https://stackoverflow.com/questions/37707187/python-pep479-change-stopiteration-handling-inside-generators

In a nutshell, replace 'raise StopIteration' with a simple 'return'.

I'm using Python 3.9.3 on Arch Linux Arm.

Cheers,

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions