Unable to Run run.py

When I try to run the script, I keep on getting this error.
What would be the cause of this?

Hello Sunny_87456,

There is a small bug in the db.py file, but it has been fixed. You can either unindent (delete the space before) the line in db.py that says:

except (StopIteration) as _:

or you can just download a fresh copy of mflix-python from the handouts page.

Again, sorry about this issue.

Matt

2 Likes

removing the space is not getting it fix.

fresh copy from the lecture got it solved, now another error :slight_smile:

The same error is at line 284.

Hello Alan_94403,

The indentation on line 284 (return None) should be correct already. It should be indented one level from the except () statement.

Matt