Modify

Opened 15 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 15 years ago by chebetos@…

Resolution: fixed
Status: newclosed

I install clearsilver and now works. Thanks for the advice, and sorry for not made this step before.

comment:2 Changed 15 years ago by anonymous

Resolution: fixed
Status: closedreopened

I am novice with trac and python, can you explain me how to do ?

comment:4 in reply to:  3 ; Changed 15 years ago by zemuf

Priority: highesthigh
Severity: blockermajor

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 in reply to:  4 Changed 15 years ago by anonymous

Resolution: fixed
Status: reopenedclosed

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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain dagomez.
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.