tracebacks — cursor wrote this and crashed7 / 8
tracebacks — read the wall of text
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.
⌘↵ runs the editor.
Booting Python…
Output
[promptdojo:~]$ _