Opened 13 years ago

Closed 13 years ago

#5255 closed defect (fixed)

Link error with Trac

Reported by: anonymous Owned by: dagomez
Priority: high Component: StractisticsPlugin
Severity: major Keywords:
Cc: g.laporte@… Trac Release: 0.11


The stractistics plugin doesn't work with Trac

I get the following error : AttributeError: 'NoneType' object has no attribute 'getValue'

File "/usr/lib/python2.5/site-packages/Trac-", line 432, in _dispatch_request


File "/usr/lib/python2.5/site-packages/Trac-", 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/", line 123, in process_request


File "/usr/lib/python2.5/site-packages/STractistics-0.4.2-py2.5.egg/stractistics/", line 31, in global_reports

weeks_back, db)

File "/usr/lib/python2.5/site-packages/STractistics-0.4.2-py2.5.egg/stractistics/", line 72, in _repository_activity


File "/usr/lib/python2.5/site-packages/Trac-", line 167, in getitem

value = self.get(name, None)

File "/usr/lib/python2.5/site-packages/Trac-", line 161, in get

value = self.hdf.getValue(str(name), '<<NONE>>')

Attachments (0)

Change History (5)

comment:1 Changed 13 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 13 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 13 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 13 years ago by anonymous

Resolution: fixed
Status: reopenedclosed

"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
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.