Modify

Opened 12 years ago

Closed 11 years ago

Last modified 11 years ago

#11146 closed defect (fixed)

AttributeError: values

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

Description

The following error occurs when navigating to New Hack from the mainnav.

How to Reproduce

While doing a GET operation on /newhack, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{}

User agent: #USER_AGENT#

System Information

Trac 1.0.1
Trac 1.0.1
Docutils 0.7
FullBlog 0.1.1-r12111
Genshi 0.7 (with speedups)
mod_wsgi 3.3 (WSGIProcessGroup trac-hacks-010 WSGIApplicationGroup %{GLOBAL})
psycopg2 2.2.1
Pygments 1.3.1
Python 2.6.6 (r266:84292, Dec 27 2010, 00:18:12)
[GCC 4.4.5]
Python 2.6.6 (r266:84292, Dec 27 2010, 00:18:12)
[GCC 4.4.5]
setuptools 0.6
setuptools 0.6
Subversion 1.6.12 (r955767)
jQuery #JQUERY#

Enabled Plugins

ChangeLogMacro 0.2-r12377
SvnAuthzAdminPlugin 0.2
TracAccountManager 0.4.3
TracAcronyms 0.2dev-r10459
TracAutoWikify 0.2dev-r11905
TracFullBlogPlugin 0.1.1-r12111
TracHacks 2.0
TracIncludeMacro 2.1-r11537
TracNewsFlash 1.0.1
TracPoll 0.3.0dev-r11670
TracSpamFilter 0.8.0dev-r11796
TracTags 0.7dev-r13235
TracVote 0.1.5-r13089

Python Traceback

Traceback (most recent call last):
  File "/srv/trac-hacks.org/pve/lib/python2.6/site-packages/Trac-1.0.1-py2.6.egg/trac/web/main.py", line 497, in _dispatch_request
    dispatcher.dispatch(req)
  File "/srv/trac-hacks.org/pve/lib/python2.6/site-packages/Trac-1.0.1-py2.6.egg/trac/web/main.py", line 214, in dispatch
    resp = chosen_handler.process_request(req)
  File "/srv/trac-hacks.org/pve/lib/python2.6/site-packages/TracHacks-2.0-py2.6.egg/trachacks/web_ui.py", line 239, in process_request
    return self.render_new(req, data, hacks)
  File "/srv/trac-hacks.org/pve/lib/python2.6/site-packages/TracHacks-2.0-py2.6.egg/trachacks/web_ui.py", line 350, in render_new
    render_cloud(self.env, req, cloud, cloud_renderer)
  File "/srv/trac-hacks.org/pve/lib/python2.6/site-packages/TracTags-0.7dev_r13235-py2.6.egg/tractags/macros.py", line 329, in render_cloud
    enumerate(sorted(set([r for r in cloud.values()])))])
  File "/srv/trac-hacks.org/pve/lib/python2.6/site-packages/Trac-1.0.1-py2.6.egg/trac/web/api.py", line 319, in __getattr__
    raise AttributeError(name)
AttributeError: values

Attachments (0)

Change History (2)

comment:1 Changed 11 years ago by Ryan J Ollos

Resolution: fixed
Status: newclosed

In 13316:

Adapt call to render_cloud to API in TagsPlugin 0.7 (Refs #11144, Fixes #11146).

render_cloud became a method of TagWikiMacros in [11934]. Previously it was a function in the macros module. This issue should have been resolved in [13266], however the signature of the function call wasn't correctly changed.

comment:2 Changed 11 years ago by Ryan J Ollos

In 13481:

Another change to adapt call to render_cloud to API in TagsPlugin 0.7 (Refs #11144, #11146).

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.