Check RefCon backpointer to python object with IsPointerValid() before dereferencing it (carbon only).
Attach a file by drag & drop or click to upload