Opened 11 years ago

Closed 11 years ago

Last modified 10 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


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/", line 497, in _dispatch_request
  File "/srv/", line 214, in dispatch
    resp = chosen_handler.process_request(req)
  File "/srv/", line 239, in process_request
    return self.render_new(req, data, hacks)
  File "/srv/", line 350, in render_new
    render_cloud(self.env, req, cloud, cloud_renderer)
  File "/srv/", line 329, in render_cloud
    enumerate(sorted(set([r for r in cloud.values()])))])
  File "/srv/", 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 10 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
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.