promptdojo_

Tracebacks — read the wall of text — step 7 of 8

Cursor wrote a function find_name that's supposed to return a name string but returns None when the user is missing. Then line 5 calls .upper() on the result, which crashes with AttributeError: 'NoneType' object has no attribute 'upper'.

Fix line 1 so the function actually returns "maya". The None case is a separate bug — for now, just give the function a real return value so the script prints MAYA.

The break is on line 3 — but read the whole snippet first.

full-screen editor opens — close anytime to keep reading.