Error Code Portal
PythonPythonError code

ReferenceError

ReferenceError

Code ReferenceError · An issue reported by Python.

This exception is raised when a weak reference proxy, created by the weakref.proxy() function, is used to access an attribute of the referent after it has been garbage collected. For more information on weak references, see the weakref module.

Troubleshooting and diagnostic links

First check that the document's product, version, and environment match your situation.