Modify

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#12708 closed defect (fixed)

AttributeError: 'NoneType' object has no attribute 'realm'

Reported by: Ryan J Ollos Owned by: Ryan J Ollos
Priority: normal Component: VotePlugin
Severity: normal Keywords:
Cc: Steffen Hoffmann Trac Release: 1.0

Description

From the logs,

[pid 16652 139730844530432] 2016-03-14 23:12:45,854 Trac[main] ERROR: Internal Server Error: <RequestWithSession "GET '/vote/down/etc/passwd/PageTemplates/TracDev/PluginDevelopment/ExtensionPoints'">, 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/tracvote/__init__.py", line 356, in process_request
    old_vote = self.get_vote(req, resource)
  File "/usr/local/virtualenv/1.1dev/lib/python2.7/site-packages/tracvote/__init__.py", line 212, in get_vote
    """, (get_reporter_id(req), resource.realm,
AttributeError: 'NoneType' object has no attribute 'realm'

Attachments (0)

Change History (2)

comment:1 Changed 9 years ago by Ryan J Ollos

Resolution: fixed
Status: newclosed

In 15441:

0.5.1dev: Raise TracError on invalid request path

Fixes #12708.

comment:2 Changed 9 years ago by Ryan J Ollos

In 15442:

0.5.1dev/l10n: Extract messages

Refs #12708.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.