Modify ↓
Opened 16 years ago
Closed 16 years ago
#8886 closed defect (invalid)
AttributeError: 'NoneType' object has no attribute 'getValue'
| Reported by: | Owned by: | ||
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | general | Version: | 0.11.6 |
| Severity: | normal | Keywords: | |
| 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 (Windows; U; Windows NT 5.1; zh-TW; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 GTB6 (.NET CLR 3.5.30729)
System Information
| Trac | 0.11.6
|
| Python | 2.6.2 (r262:71600, Aug 21 2009, 12:22:21) [GCC 4.4.1 20090818 (Red Hat 4.4.1-6)]
|
| setuptools | 0.6c11
|
| SQLite | 3.6.20
|
| pysqlite | 2.5.6
|
| Genshi | 0.6dev-r1092
|
| mod_python | 3.3.1
|
| Pygments | 1.1.1
|
| jQuery: | 1.2.6
|
Python Traceback
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/Trac-0.11.6-py2.6.egg/trac/web/main.py", line 450, in _dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.6/site-packages/Trac-0.11.6-py2.6.egg/trac/web/main.py", line 206, 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/site-packages/Trac-0.11.6-py2.6.egg/trac/web/clearsilver.py", line 167, in __getitem__
value = self.get(name, None)
File "/usr/lib/python2.6/site-packages/Trac-0.11.6-py2.6.egg/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.



PluginIssue (stractistics).