Opened 13 years ago
Closed 13 years ago
#17699 closed Bug (needsinfo)
AttributeError '_Frame' object has no attribute 'f_locals'
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | Uncategorized | Version: | 1.3 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
When using django.utils.log.AdminEmailHandler(include_html=True), I've been seeing an AttributeError whenever the offending Exception can not be pickled. I don't really know why the f_locals
attribute doesn't exist on tb_frame
, but I'm wondering if the attached patch will get rid of the problem.
Attachments (1)
Change History (3)
by , 13 years ago
Attachment: | f_locals.patch added |
---|
comment:1 by , 13 years ago
comment:2 by , 13 years ago
Resolution: | → needsinfo |
---|---|
Status: | new → closed |
Can this (http://twistedmatrix.com/trac/ticket/4045) be in anyway related ? If not, we really need more info.
Note:
See TracTickets
for help on using tickets.
Well, this will certainly silence the issue, but we're not going to commit unless we understand why the error occurs in the first place (and have a test case for it).