Opened 15 years ago
Last modified 13 years ago
#4054 closed defect
Error with Trac 0.11 — at Initial Version
Reported by: | Owned by: | dagomez | |
---|---|---|---|
Priority: | highest | Component: | StractisticsPlugin |
Severity: | critical | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
Getting this error when I click on the link...
Most recent call last:
- File "/Library/Python/2.5/site-packages/Trac-0.11-py2.5.egg/trac/web/main.py", line 423, in _dispatch_request
Code fragment:
- try:
- if not env and env_error:
- raise HTTPInternalError(env_error)
- try:
- dispatcher = RequestDispatcher(env)
- dispatcher.dispatch(req)
- except RequestDone:
- pass
- resp = req._response or []
- except HTTPException, e:
- File "/Library/Python/2.5/site-packages/Trac-0.11-py2.5.egg/trac/web/main.py", line 197, in dispatch
Code fragment:
- req.args.get('FORM_TOKEN') != req.form_token:
- raise HTTPBadRequest('Missing or invalid form token. '
- 'Do you have cookies enabled?')
- # Process the request and render the template
- resp = chosen_handler.process_request(req)
- if resp:
- if len(resp) == 2: # Clearsilver
- chrome.populate_hdf(req)
- template, content_type = \
- self._post_process_request(req, *resp)
- File "build/bdist.macosx-10.5-i386/egg/stractistics/web_ui.py", line 123, in process_request Local variables: Name Value chrome <trac.web.chrome.Chrome object at 0x101a93c10> config {'wiki_ignored_authors': [], 'repository_ignored_authors': [], ... db <trac.db.pool.PooledConnection object at 0x101fa3878> elem ('User reports', 'user_reports') links [('Project reports', '/stractistics/project_reports'), ('User reports', ... module None req <Request "GET u'/stractistics'"> self <stractistics.web_ui.StractisticsModule object at 0x101b879d0> strac_ref '/stractistics'
- File "build/bdist.macosx-10.5-i386/egg/stractistics/global_reports.py", line 31, in global_reports Local variables: Name Value config {'wiki_ignored_authors': [], 'repository_ignored_authors': [], ... db <trac.db.pool.PooledConnection object at 0x101fa3878> end_date datetime.datetime(2008, 11, 8, 21, 50, 15, 792934) req <Request "GET u'/stractistics'"> start_date datetime.datetime(2008, 8, 16, 21, 50, 15, 792934) weeks_back 12
- File "build/bdist.macosx-10.5-i386/egg/stractistics/global_reports.py", line 72, in _repository_activity Local variables: Name Value AUTHORS_LIMIT 5 WEEKS_NUMBER 12 authors [u'peter', u'mattias', u'root'] authors_data {u'mattias': [0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 0], u'peter': [0, 0, 0, ... config {'wiki_ignored_authors': [], 'repository_ignored_authors': [], ... db <trac.db.pool.PooledConnection object at 0x101fa3878> end_date datetime.datetime(2008, 11, 8, 21, 50, 15, 792934) ignored_authors req <Request "GET u'/stractistics'"> revisions [(u'root', datetime.datetime(2008, 10, 7, 13, 28, 36)), (u'root', ... start_date datetime.datetime(2008, 8, 16, 21, 50, 15, 792934) weeks_back 12 weeks_list ['32/08', '33/08', '34/08', '35/08', '36/08', '37/08', '38/08', '39/08', ...
- File "/Library/Python/2.5/site-packages/Trac-0.11-py2.5.egg/trac/web/clearsilver.py", line 167, in getitem
Code fragment:
- if value == '<<NONE>>':
- return default
- return value.decode('utf-8')
- def getitem(self, name):
- value = self.get(name, None)
- if value == None:
- raise KeyError, name
- return value
- def setitem(self, name, value):
- File "/Library/Python/2.5/site-packages/Trac-0.11-py2.5.egg/trac/web/clearsilver.py", line 161, in get
Trac: 0.11 Python: 2.5.1 (r251:54863, Apr 15 2008, 22:57:26) [GCC 4.0.1 (Apple Inc. build 5465)] setuptools: 0.6c7 SQLite: 3.4.0 pysqlite: 2.3.2 Genshi: 0.5.1 mod_python: 3.3.2-dev-20080819 Subversion: 1.4.4 (r25188) jQuery: 1.2.3
Note: See
TracTickets for help on using
tickets.