Opened 16 years ago
Closed 15 years ago
#5255 closed defect (fixed)
Link error with Trac 0.11.2.1
Reported by: | anonymous | Owned by: | dagomez |
---|---|---|---|
Priority: | high | Component: | StractisticsPlugin |
Severity: | major | Keywords: | |
Cc: | g.laporte@… | Trac Release: | 0.11 |
Description
The stractistics plugin doesn't work with Trac 0.11.2.1
I get the following error : AttributeError: 'NoneType' object has no attribute 'getValue'
File "/usr/lib/python2.5/site-packages/Trac-0.11.2.1-py2.5.egg/trac/web/main.py", line 432, in _dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.5/site-packages/Trac-0.11.2.1-py2.5.egg/trac/web/main.py", line 204, in dispatch
resp = chosen_handler.process_request(req)
File "/usr/lib/python2.5/site-packages/STractistics-0.4.2-py2.5.egg/stractistics/web_ui.py", line 123, in process_request
db)
File "/usr/lib/python2.5/site-packages/STractistics-0.4.2-py2.5.egg/stractistics/global_reports.py", line 31, in global_reports
weeks_back, db)
File "/usr/lib/python2.5/site-packages/STractistics-0.4.2-py2.5.egg/stractistics/global_reports.py", line 72, in _repository_activity
req.hdfchrome.href?)
File "/usr/lib/python2.5/site-packages/Trac-0.11.2.1-py2.5.egg/trac/web/clearsilver.py", line 167, in getitem
value = self.get(name, None)
File "/usr/lib/python2.5/site-packages/Trac-0.11.2.1-py2.5.egg/trac/web/clearsilver.py", line 161, in get
value = self.hdf.getValue(str(name), '<<NONE>>')
Attachments (0)
Change History (5)
comment:1 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 16 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
I am novice with trac and python, can you explain me how to do ?
comment:3 follow-up: 4 Changed 16 years ago by
It depends on your OS, take a look at: http://trac.edgewall.org/wiki/TracInstallPlatforms http://trac.edgewall.org/wiki/ClearSilver
comment:4 follow-up: 5 Changed 15 years ago by
Priority: | highest → high |
---|---|
Severity: | blocker → major |
I've got the exact same error, with this platform : RHEL 5 x64 clearsilver.x86_64 0:0.10.4-2 Trac 0.11.5 Python 2.4.3
Everything else is working properly. Thanks for any hint.
comment:5 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
http://trac.edgewall.org/wiki/TracOnRHEL
"Yum will take care of all dependencies on which the Trac package depends (including the python-clearsilver package) and will fetch and install them for you automatically. "
Well yum does not ! I did install trac by yum install trac, and i had to yum install clearsilver AND yum install python-clearsilver, and now it's fine. Just to post the entire solution to linux newbies like me, it can help someone even noobier
Thanks anyway.
I install clearsilver and now works. Thanks for the advice, and sorry for not made this step before.