Hi,

I still have an error when i edit a Sprint and then save changes :
change title in this case
I have this error since few release 0.8.1, 0.8.2 and now 0.8.3

 Most recent call last:

    * File "/usr/lib/python2.4/site-packages/Trac-0.11.5-py2.4.egg/
trac/web/main.py", line 444, in _dispatch_request
      Code fragment:
       439. try:
       440. if not env and env_error:
       441. raise HTTPInternalError(env_error)
       442. try:
       443. dispatcher = RequestDispatcher(env)
       444. dispatcher.dispatch(req)
       445. except RequestDone:
       446. pass
       447. resp = req._response or []
       448.
       449. 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
0x2b37108b4510>
      e         <exceptions.KeyError instance at 0x2aaaaaae76c8>
      env       <trac.env.Environment object at 0x2b370fda5750>
      env_error         None
      exc_info  (<class exceptions.KeyError at 0x2b3707866950>,
<exceptions.KeyError ...
      filename  '/usr/lib/python2.4/site-packages/Trac-0.11.5-
py2.4.egg/trac/web/main.py'
      frames    [{'function': '_dispatch_request', 'lines_before': [u'
try:', u' ...
      has_admin         True
      line      u' dispatcher.dispatch(req)'
      lineno    443
      message   u"KeyError: 'sprint'"
      req       <Request "GET u'/sprint/Run18'">
      resp      []
      tb        <traceback object at 0x2b370fd883b0>
      tb_hide   None
      traceback         u'Traceback (most recent call last):\n File ...
    * File "/usr/lib/python2.4/site-packages/Trac-0.11.5-py2.4.egg/
trac/web/main.py", line 205, in dispatch
      Code fragment:
       200. req.args.get('__FORM_TOKEN') != req.form_token:
       201. raise HTTPBadRequest('Missing or invalid form token. '
       202. 'Do you have cookies enabled?')
       203.
       204. # Process the request and render the template
       205. resp = chosen_handler.process_request(req)
       206. if resp:
       207. if len(resp) == 2: # Clearsilver
       208. chrome.populate_hdf(req)
       209. template, content_type = \
       210. self._post_process_request(req, *resp)
      Local variables:
      Name      Value
      chosen_handler    <agilo.scrum.sprint.web_ui.SprintDisplayView
object at 0x2b3710896110>
      chrome    <trac.web.chrome.Chrome object at 0x2b37108b40d0>
      err       (<class exceptions.KeyError at 0x2b3707866950>,
<exceptions.KeyError ...
      handler   <agilo.scrum.sprint.web_ui.SprintDisplayView object at
0x2b3710896110>
      req       <Request "GET u'/sprint/Run18'">
      self      <trac.web.main.RequestDispatcher object at 0x2b37108b4510>
    * File "/usr/lib/python2.4/site-packages/
agilo-0.8.3_r1918_20090925-py2.4.egg/agilo/api/view.py", line 155, in
process_request
      Code fragment:
       150. basically, than send a Command Request to a Controller.
The
       151. response has to be rendered according to the view
needs."""
       152. try:
       153. handler = self.get_handler(req)
       154. if handler is not None:
       155. return self._call_filters_and_handler(req, handler)
       156. else:
       157. raise TracError('No handler found for method %s' %
req.method)
       158. except controller.ICommand.NotValidError, e:
       159. chrome.add_warning(req, unicode(e))
       160. # not that we update the data, so that the set value are
      Local variables:
      Name      Value
      handler   <bound method SprintDisplayView.do_get of ...
      req       <Request "GET u'/sprint/Run18'">
      self      <agilo.scrum.sprint.web_ui.SprintDisplayView object at
0x2b3710896110>
    * File "/usr/lib/python2.4/site-packages/
agilo-0.8.3_r1918_20090925-py2.4.egg/agilo/api/view.py", line 143, in
_call_filters_and_handler
      Code fragment:
       138. return True
       139.
       140. def _call_filters_and_handler(self, req, handler):
       141. for filter in self.filters:
       142. filter.pre_process_request(req)
       143. data = handler(req) or {}
       144. for filter in self.filters:
       145. filter.post_process_request(req)
       146. return self.respond(data)
       147.
       148. def process_request(self, req):
      Local variables:
      Name      Value
      handler   <bound method SprintDisplayView.do_get of ...
      req       <Request "GET u'/sprint/Run18'">
      self      <agilo.scrum.sprint.web_ui.SprintDisplayView object at
0x2b3710896110>
    * File "/usr/lib/python2.4/site-packages/
agilo-0.8.3_r1918_20090925-py2.4.egg/agilo/scrum/sprint/web_ui.py",
line 158, in do_get
      Code fragment:
       153. """Returns the data processed via GET handler"""
       154. if Action.SPRINT_VIEW in req.perm:
       155. name = req.args.get('name')
       156. milestone = req.args.get('milestone')
       157. # Prepares the links for the context navigation
       158. self._prepare_links(req, name, milestone)
       159. # add styles to the request
       160. add_stylesheet(req, "common/css/roadmap.css")
       161. # Return the sprint show if nothing else happened
       162. return self.prepare_data(req, {'name': name,
       163. 'milestone': milestone})
      Local variables:
      Name      Value
      milestone         None
      name      u'Run18'
      req       <Request "GET u'/sprint/Run18'">
      self      <agilo.scrum.sprint.web_ui.SprintDisplayView object at
0x2b3710896110>
    * File "/usr/lib/python2.4/site-packages/
agilo-0.8.3_r1918_20090925-py2.4.egg/agilo/scrum/sprint/web_ui.py",
line 137, in _prepare_links
      Code fragment:
       132. """Prepares the links for the navigation bar"""
       133. list_sprints = SprintController.ListSprintsCommand
(self.env,
       134. criteria={'milestone': name})
       135. sprints = self.controller.process_command(list_sprints)
       136. for i, s in enumerate(sprints):
       137. s = s['sprint']
       138. if s['name'] == name:
       139. if i > 0:
       140. add_link(req, 'prev',
       141. self.href(sprints[i - 1]['sprint']['name']))
       142. if i < len(sprints) - 1:
      Local variables:
      Name      Value
      i         0
      list_sprints      <agilo.scrum.sprint.controller.ListSprintsCommand
object at ...
      milestone         None
      name      u'Run18'
      req       <Request "GET u'/sprint/Run18'">
      s         ValueObject({'end': datetime.datetime(2009, 10, 22, 23,
0, ...
      self      <agilo.scrum.sprint.web_ui.SprintDisplayView object at
0x2b3710896110>
      sprints   [ValueObject({'end': datetime.datetime(2009, 10, 22,
23, 0, ...

File "/usr/lib/python2.4/site-packages/Trac-0.11.5-py2.4.egg/trac/web/
main.py", line 444, in _dispatch_request
  dispatcher.dispatch(req)
File "/usr/lib/python2.4/site-packages/Trac-0.11.5-py2.4.egg/trac/web/
main.py", line 205, in dispatch
  resp = chosen_handler.process_request(req)
File "/usr/lib/python2.4/site-packages/agilo-0.8.3_r1918_20090925-
py2.4.egg/agilo/api/view.py", line 155, in process_request
  return self._call_filters_and_handler(req, handler)
File "/usr/lib/python2.4/site-packages/agilo-0.8.3_r1918_20090925-
py2.4.egg/agilo/api/view.py", line 143, in _call_filters_and_handler
  data = handler(req) or {}
File "/usr/lib/python2.4/site-packages/agilo-0.8.3_r1918_20090925-
py2.4.egg/agilo/scrum/sprint/web_ui.py", line 158, in do_get
  self._prepare_links(req, name, milestone)
File "/usr/lib/python2.4/site-packages/agilo-0.8.3_r1918_20090925-
py2.4.egg/agilo/scrum/sprint/web_ui.py", line 137, in _prepare_links
  s = s['sprint']

System Information:

User Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; fr; rv:
1.9.1.3) Gecko/20090824 Firefox/3.5.3
Trac:   0.11.5
Python:         2.4.4 (#1, Oct 22 2008, 20:17:05) [GCC 4.1.2 20061115
(prerelease) (Debian 4.1.1-21)]
setuptools:     0.6c3
SQLite:         3.3.8
pysqlite:       2.3.2
Genshi:         0.5.1
mod_python:     3.2.10
Agilo:  0.8.3-r1918-20090925
jQuery: 1.2.6

--~--~---------~--~----~------------~-------~--~----~
Follow Agilo on Twitter: http://twitter.com/agiloforscrum
-----
You received this message because you are subscribed to the Google
Groups "Agilo for Scrum" group. This group is moderated by agile42 GmbH 
http://www.agile42.com and is focused in supporting Agilo for Scrum users.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/agilo?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to