Opened 15 years ago

Last modified 13 years ago

#4054 closed defect

Error with Trac 0.11 — at Initial Version

Reported by: pliljenberg@… 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:
    1. try:
    2. if not env and env_error:
    3. raise HTTPInternalError(env_error)
    4. try:
    5. dispatcher = RequestDispatcher(env)
    6. dispatcher.dispatch(req)
    7. except RequestDone:
    8. pass
    9. resp = req._response or []
    10. except HTTPException, e:
    Local variables: Name Value after [u' except RequestDone:', u' pass', u' resp = ... before [u' try:', u' if not env and env_error:', u' raise ... dispatcher <trac.web.main.RequestDispatcher object at 0x101b87810> e AttributeError("'NoneType' object has no attribute 'getValue'",) env <trac.env.Environment object at 0x10184c7d0> env_error None exc_info (<type 'exceptions.AttributeError'>, AttributeError("'NoneType' object has ... filename '/Library/Python/2.5/site-packages/Trac-0.11-py2.5.egg/trac/web/main.py' frames [{'function': '_dispatch_request', 'lines_before': [u' try:', u' ... has_admin True line u' dispatcher.dispatch(req)' lineno 422 message u"AttributeError: 'NoneType' object has no attribute 'getValue'" req <Request "GET u'/stractistics'"> resp [] tb <traceback object at 0x101fa4368> tb_hide None traceback 'Traceback (most recent call last):\n File ...
  • File "/Library/Python/2.5/site-packages/Trac-0.11-py2.5.egg/trac/web/main.py", line 197, in dispatch Code fragment:
    1. req.args.get('FORM_TOKEN') != req.form_token:
    2. raise HTTPBadRequest('Missing or invalid form token. '
    3. 'Do you have cookies enabled?')
    4. # Process the request and render the template
    5. resp = chosen_handler.process_request(req)
    6. if resp:
    7. if len(resp) == 2: # Clearsilver
    8. chrome.populate_hdf(req)
    9. template, content_type = \
    10. self._post_process_request(req, *resp)
    Local variables: Name Value chosen_handler <stractistics.web_ui.StractisticsModule object at 0x101b879d0> chrome <trac.web.chrome.Chrome object at 0x101a93c10> err (<type 'exceptions.AttributeError'>, AttributeError("'NoneType' object has ... handler <stractistics.web_ui.StractisticsModule object at 0x101b879d0> req <Request "GET u'/stractistics'"> self <trac.web.main.RequestDispatcher object at 0x101b87810>
  • 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:
    1. if value == '<<NONE>>':
    2. return default
    3. return value.decode('utf-8')
    4. def getitem(self, name):
    5. value = self.get(name, None)
    6. if value == None:
    7. raise KeyError, name
    8. return value
    9. def setitem(self, name, value):
    Local variables: Name Value name 'chrome.href' self <HDFWrapper 0x101fa2a70>
  • 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

Change History (0)

Note: See TracTickets for help on using tickets.