#1254 Fix 500 errors in svn/hg for bad revnos

v1.0.0
closed
sf-2 (994)
General
nobody
2015-08-20
2010-12-27
No

Example:

URL: https://sourceforge.net/p/adempiere-mysql/svn/LATEST/tree/dist/mysql-dist/
Module weberror.errormiddleware:162 in __call__
>>  app_iter = self.application(environ, sr_checker)
Module tw.core.middleware:43 in __call__
>>  return self.wsgi_app(environ, start_response)
Module tw.core.middleware:68 in wsgi_app
>>  resp = req.get_response(self.application)
Module webob.request:919 in get_response
>>  application, catch_exc_info=False)
Module webob.request:887 in call_application
>>  app_iter = application(self.environ, start_response)
Module tw.core.resource_injector:68 in _injector
>>  resp = req.get_response(app)
Module webob.request:919 in get_response
>>  application, catch_exc_info=False)
Module webob.request:887 in call_application
>>  app_iter = application(self.environ, start_response)
Module beaker.middleware:73 in __call__
>>  return self.app(environ, start_response)
Module beaker.middleware:152 in __call__
>>  return self.wrap_app(environ, session_start_response)
Module routes.middleware:131 in __call__
>>  response = self.app(environ, start_response)
Module sfx.middleware:29 in __call__
>>  resp = request.get_response(self.app)
Module webob.request:919 in get_response
>>  application, catch_exc_info=False)
Module webob.request:887 in call_application
>>  app_iter = application(self.environ, start_response)
Module pylons.wsgiapp:125 in __call__
>>  response = self.dispatch(controller, environ, start_response)
Module pylons.wsgiapp:324 in dispatch
>>  return controller(environ, start_response)
Module allura.lib.base:61 in __call__
>>  return self._app(environ, start_response)
Module allura.lib.custom_middleware:42 in __call__
>>  result = self.app(environ, start_response)
Module ming.orm.middleware:13 in __call__
>>  result = self.app(environ, start_response)
Module allura.lib.base:41 in _base_app
>>  return app(environ, start_response)
Module allura.lib.base:40 in <lambda>
>>  app = lambda e,s: TGController.__call__(self, e, s)
Module pylons.controllers.core:221 in __call__
>>  response = self._dispatch_call()
Module pylons.controllers.core:172 in _dispatch_call
>>  response = self._inspect_call(func)
Module pylons.controllers.core:107 in _inspect_call
>>  result = self._perform_call(func, args)
Module tg.controllers.dispatcher:241 in _perform_call
>>  func, controller, remainder, params = self._get_dispatchable(url_path)
Module tg.controllers.dispatcher:199 in _get_dispatchable
>>  state = state.controller._dispatch(state, url_path)
Module tg.controllers.dispatcher:503 in _dispatch
>>  current_path, current_controller, state, remainder[1:])
Module tg.controllers.dispatcher:416 in _dispatch_controller
>>  return self._dispatch(state, remainder)
Module tg.controllers.dispatcher:506 in _dispatch
>>  return self._dispatch_first_found_default_or_lookup(state, remainder)
Module tg.controllers.dispatcher:437 in _dispatch_first_found_default_or_lookup
>>  return dispatcher(state, new_remainder)
Module tg.controllers.dispatcher:506 in _dispatch
>>  return self._dispatch_first_found_default_or_lookup(state, remainder)
Module tg.controllers.dispatcher:437 in _dispatch_first_found_default_or_lookup
>>  return dispatcher(state, new_remainder)
Module tg.controllers.dispatcher:506 in _dispatch
>>  return self._dispatch_first_found_default_or_lookup(state, remainder)
Module tg.controllers.dispatcher:431 in _dispatch_first_found_default_or_lookup
>>  new_controller, new_remainder = controller._lookup(*remainder)
Module forgesvn.controllers:22 in _lookup
>>  return repository.CommitBrowser(rev), remainder
Module allura.controllers.repository:250 in __init__
>>  self.tree = self.TreeBrowserClass(self._commit, tree=self._commit.tree)
AttributeError: 'NoneType' object has no attribute 'tree'

Discussion

  • Rick Copeland - 2010-12-27
    • custom_field__milestone: --> jan-04

    • summary: Fix 500 errors in svn for bad revnos --> Fix 500 errors in svn/hg for bad revnos

     
  • Rick Copeland - 2010-12-27

    Noted problems in SVN for revision 'LATEST' and hg for revision 'default'

     
  • Rick Copeland - 2010-12-27
    • custom_field__size: --> 1
     
  • Jenny Steele - 2011-01-04
    • status: open --> in-progress
    • assigned_to: Jenny Steele
     
  • Jenny Steele - 2011-01-04
    • status: in-progress --> closed
     

Log in to post a comment.