Modify

Opened 9 years ago

Closed 9 years ago

#12718 closed defect (fixed)

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

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

Description

2016-03-14 04:19:09,996 Trac[main] ERROR: Internal Server Error: <RequestWithSession "GET '/timeline?from=2016-03-06&daysback=7&authors=&tag_query=1&ticket=on&ticket_details=1&changeset=on&wiki=-1%27&tags=on&blog=on&sfp_email=1&sfph_mail=1&update=update'">, referrer None
Traceback (most recent call last):
  File "/srv/trac-hacks.org/pve/lib/python2.7/site-packages/trac/web/main.py", line 554, in _dispatch_request
    dispatcher.dispatch(req)
  File "/srv/trac-hacks.org/pve/lib/python2.7/site-packages/trac/web/main.py", line 257, in dispatch
    self._post_process_request(req, *resp)
  File "/srv/trac-hacks.org/pve/lib/python2.7/site-packages/trac/web/main.py", line 388, in _post_process_request
    resp = f.post_process_request(req, *resp)
  File "/srv/trac-hacks.org/pve/lib/python2.7/site-packages/tractags/web_ui.py", line 451, in post_process_request
    if resource.realm in realms:
AttributeError: 'list' object has no attribute 'realm'

Attachments (0)

Change History (5)

comment:1 Changed 9 years ago by Ryan J Ollos

Another issue:

File "/Users/rjollos/Documents/Workspace/trac-dev/test/pve/lib/python2.7/site-packages/trac/web/main.py", line 562, in _dispatch_request
  dispatcher.dispatch(req)
File "/Users/rjollos/Documents/Workspace/trac-dev/test/pve/lib/python2.7/site-packages/trac/web/main.py", line 259, in dispatch
  self._post_process_request(req, *resp)
File "/Users/rjollos/Documents/Workspace/trac-dev/test/pve/lib/python2.7/site-packages/trac/web/main.py", line 396, in _post_process_request
  resp = f.post_process_request(req, *resp)
File "/Users/rjollos/Documents/Workspace/trac-dev/test/tagsplugin-trunk/tractags/web_ui.py", line 404, in post_process_request
  query_str = (query_str or '').strip()

comment:2 Changed 9 years ago by Ryan J Ollos

In 15563:

0.9dev: Fix traceback when tag_query repeated in query string

Refs #12718.

comment:3 Changed 9 years ago by Ryan J Ollos

Owner: changed from Steffen Hoffmann to Ryan J Ollos
Status: newaccepted

comment:4 Changed 9 years ago by Ryan J Ollos

In 15565:

0.9dev: Fix AttributeError filtering timeline containing changesets

The code that filters the timeline assumed that event['data']
contained a Resource object at index 0, but the
ChangesetModule returns a tuple with the Resource object
at index 1.

Refs #12718.

comment:5 Changed 9 years ago by Ryan J Ollos

Resolution: fixed
Status: acceptedclosed

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.