Modify

Opened 5 years ago

Closed 5 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 5 years ago by chebetos@…

  • Resolution set to fixed
  • Status changed from new to closed

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

comment:2 Changed 5 years ago by anonymous

  • Resolution fixed deleted
  • Status changed from closed to reopened

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

comment:4 in reply to: ↑ 3 ; follow-up: Changed 5 years ago by zemuf

  • Priority changed from highest to high
  • Severity changed from blocker to 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 in reply to: ↑ 4 Changed 5 years ago by anonymous

  • Resolution set to fixed
  • Status changed from reopened to 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.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.