Modify ↓
Opened 16 years ago
Closed 16 years ago
#8753 closed defect (wontfix)
stractistics => AttributeError: 'NoneType' object has no attribute 'getValue'
| Reported by: | Owned by: | ||
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | general | Version: | 0.11.1 |
| Severity: | normal | Keywords: | stractistics |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
How to Reproduce
While doing a GET operation on /stractistics, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{'arguments': None, 'module': None}
User Agent was: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.14) Gecko/2009090216 Ubuntu/9.04 (jaunty) Firefox/3.0.14
System Information
| Trac | 0.11.1
|
| Python | 2.6.2 (release26-maint, Apr 19 2009, 01:56:41) [GCC 4.3.3]
|
| setuptools | 0.6c9
|
| SQLite | 3.6.10
|
| pysqlite | 2.5.0
|
| Genshi | 0.5.1
|
| Pygments | 0.10
|
| Subversion | 1.5.4 (r33841)
|
| jQuery: | 1.2.6
|
Python Traceback
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/trac/web/main.py", line 423, in _dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.6/dist-packages/trac/web/main.py", line 197, in dispatch
resp = chosen_handler.process_request(req)
File "build/bdist.linux-i686/egg/stractistics/web_ui.py", line 123, in process_request
db)
File "build/bdist.linux-i686/egg/stractistics/global_reports.py", line 31, in global_reports
weeks_back, db)
File "build/bdist.linux-i686/egg/stractistics/global_reports.py", line 72, in _repository_activity
req.hdf['chrome.href'])
File "/usr/lib/python2.6/dist-packages/trac/web/clearsilver.py", line 167, in __getitem__
value = self.get(name, None)
File "/usr/lib/python2.6/dist-packages/trac/web/clearsilver.py", line 161, in get
value = self.hdf.getValue(str(name), '<<NONE>>')
AttributeError: 'NoneType' object has no attribute 'getValue'
Attachments (0)
Note:
See TracTickets
for help on using tickets.



The plugin still needs the ClearSilver template engine, and it's not installed (InstallationIssue) or the plugin is not compatible with Trac 0.11 (PluginIssue).
In either case, there's nothing we can do.