Opened 16 years ago
Last modified 14 years ago
#3971 closed defect
Error when going on "TicketStats" — at Initial Version
Reported by: | anonymous | Owned by: | Prentice Wongvibulsin |
---|---|---|---|
Priority: | normal | Component: | TracTicketStatsPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.10 |
Description
I got this when I try to go in TicketStats section:
Trac detected an internal error:
ValueError: need more than 1 value to unpack
Trac | 0.11.1 | Python | 2.5.1 (r251:54863, Jul 31 2008, 22:53:39) [GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)] | setuptools | 0.6c5 | SQLite | 3.3.13 | pysqlite | 2.3.2 | Genshi | 0.5.1 | Subversion | 1.4.3 (r23084) | jQuery: | 1.2.6 | ==== Python Traceback ==== Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/web/main.py", line 423, in _dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/web/main.py", line 173, in dispatch chosen_handler) File "/usr/lib/python2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/web/main.py", line 286, in _pre_process_request chosen_handler = filter_.pre_process_request(req, chosen_handler) File "build/bdist.linux-i686/egg/announcerplugin/subscribers/watchers.py", line 142, in pre_process_request realm, _ = path.split('/', 1) ValueError: need more than 1 value to unpack a new ticket at the Trac project site, where you can describe the problem and explain how to reproduce it.
|
Python Traceback Most recent call last:
- File "/usr/lib/python2.5/site-packages/Trac-0.11.1-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 "/usr/lib/python2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/web/main.py", line 173, in dispatch
Code fragment:
- if not req.path_info or req.path_info == '/':
- chosen_handler = self.default_handler
- # pre-process any incoming request, whether a handler
- # was found or not
- chosen_handler = self._pre_process_request(req,
- chosen_handler)
- except TracError, e:
- raise HTTPInternalError(e)
- if not chosen_handler:
- raise HTTPNotFound('No handler matched request to %s',
- req.path_info)
- File "/usr/lib/python2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/web/main.py", line 286, in _pre_process_request
Code fragment:
- req.outcookietrac_form_token?path? = req.base_path or '/'
- return req.outcookietrac_form_token?.value
- def _pre_process_request(self, req, chosen_handler):
- for filter_ in self.filters:
- chosen_handler = filter_.pre_process_request(req, chosen_handler)
- return chosen_handler
- def _post_process_request(self, req, *args):
- nbargs = len(args)
- resp = args
- File "build/bdist.linux-i686/egg/announcerplugin/subscribers/watchers.py", line 142, in pre_process_request
Note: See
TracTickets for help on using
tickets.