Modify ↓
Opened 9 years ago
Closed 9 years ago
#12337 closed defect (fixed)
AttributeError: 'NoneType' object has no attribute 'realm'
Reported by: | Ryan J Ollos | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | normal | Milestone: | 1.0.10 |
Component: | attachment | Version: | |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: |
|
||
API Changes: | |||
Internal Changes: |
Description
Found in the logs:
[pid 1149 140573412062976] 2016-01-29 13:06:22,995 Trac[main] ERROR: Internal Server Error: <RequestWithSession "GET '/attachment/attachment/ticket/6109'">, referrer None Traceback (most recent call last): File "/usr/local/virtualenv/1.1dev/lib/python2.7/site-packages/trac/web/main.py", line 607, in _dispatch_request dispatcher.dispatch(req) File "/usr/local/virtualenv/1.1dev/lib/python2.7/site-packages/trac/web/main.py", line 256, in dispatch resp = chosen_handler.process_request(req) File "/usr/local/virtualenv/1.1dev/lib/python2.7/site-packages/trac/attachment.py", line 195, in process_request if not resource_exists(self.env, parent): File "/usr/local/virtualenv/1.1dev/lib/python2.7/site-packages/trac/resource.py", line 468, in resource_exists return manager.resource_exists(resource) File "/usr/local/virtualenv/1.1dev/lib/python2.7/site-packages/trac/attachment.py", line 380, in resource_exists attachment = Attachment(self.env, resource) File "/usr/local/virtualenv/1.1dev/lib/python2.7/site-packages/trac/attachment.py", line 661, in __init__ self.parent_realm = resource.parent.realm AttributeError: 'NoneType' object has no attribute 'realm'
Attachments (0)
Change History (2)
comment:1 by , 9 years ago
Release Notes: | modified (diff) |
---|
comment:2 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Proposed changes in log:rjollos.git:t12337_attachment_realm and log:rjollos.git:t12337_attachment_realm_trunk.