id summary reporter owner description type status priority component severity resolution keywords cc release 4054 Error with Trac 0.11 pliljenberg@… dagomez "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: 418. try: 419. if not env and env_error: 420. raise HTTPInternalError(env_error) 421. try: 422. dispatcher = RequestDispatcher(env) 423. dispatcher.dispatch(req) 424. except RequestDone: 425. pass 426. resp = req._response or [] 427. 428. 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 e AttributeError(""'NoneType' object has no attribute 'getValue'"",) env env_error None exc_info (, 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 resp [] tb 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: 192. req.args.get('__FORM_TOKEN') != req.form_token: 193. raise HTTPBadRequest('Missing or invalid form token. ' 194. 'Do you have cookies enabled?') 195. 196. # Process the request and render the template 197. resp = chosen_handler.process_request(req) 198. if resp: 199. if len(resp) == 2: # Clearsilver 200. chrome.populate_hdf(req) 201. template, content_type = \ 202. self._post_process_request(req, *resp) Local variables: Name Value chosen_handler chrome err (, AttributeError(""'NoneType' object has ... handler req self * File ""build/bdist.macosx-10.5-i386/egg/stractistics/web_ui.py"", line 123, in process_request Local variables: Name Value chrome config {'wiki_ignored_authors': [], 'repository_ignored_authors': [], ... db elem ('User reports', 'user_reports') links [('Project reports', '/stractistics/project_reports'), ('User reports', ... module None req self 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 end_date datetime.datetime(2008, 11, 8, 21, 50, 15, 792934) req 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 end_date datetime.datetime(2008, 11, 8, 21, 50, 15, 792934) ignored_authors '' req 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: 162. if value == '<>': 163. return default 164. return value.decode('utf-8') 165. 166. def __getitem__(self, name): 167. value = self.get(name, None) 168. if value == None: 169. raise KeyError, name 170. return value 171. 172. def __setitem__(self, name, value): Local variables: Name Value name 'chrome.href' self * 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 }}}" defect closed highest StractisticsPlugin critical fixed 0.11