#6634 500 error on comtor/code (git repo) - Tag 1.4 points to a Blob or Tree [ss5276]

unreleased
open
nobody
General
nobody
2015-02-11
2013-09-06
Chris Tsai
No

[forge:site-support:#5276]

500s on https://sourceforge.net/p/comtor/code/ci/master/tree/

Have you seen this before? ;)

Error - <type 'exceptions.ValueError'>: Tag 1.4 points to a Blob or Tree - have never seen that before
URL: https://sourceforge.net/p/comtor/code/ci/master/tree/
File '/var/local/env-allura/lib/python2.7/site-packages/WebError-0.10.3_20130423-py2.7.egg/weberror/errormiddleware.py', line 242 in next
  return self.app_iterator.next()
File '/var/local/env-allura/lib/python2.7/site-packages/Paste-1.7.5.1-py2.7.egg/paste/registry.py', line 409 in streaming_iter
  for item in self.application(environ, start_response):
File '/var/local/env-allura/lib/python2.7/site-packages/Ming-0.3.7-py2.7.egg/ming/odm/middleware.py', line 16 in __call__
  result = self.app(environ, start_response)
File '/var/local/allura/Allura/allura/lib/custom_middleware.py', line 58 in __call__
  return self.app(environ, start_response)
File '/var/local/env-allura/lib/python2.7/site-packages/EasyWidgets-0.2dev_20130716-py2.7.egg/ew/middleware.py', line 65 in __call__
  result = self.app(environ, start_response)
File '/var/local/allura/Allura/allura/lib/custom_middleware.py', line 171 in __call__
  return resp(environ, start_response)
File '/var/local/allura/Allura/allura/config/middleware.py', line 195 in AlluraGlobalsMiddleware
  return app(environ, start_response)
File '/var/local/allura/Allura/allura/lib/custom_middleware.py', line 139 in __call__
  return self._app(environ, session_start_response)
File '/var/local/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.3-py2.7.egg/timermiddleware/__init__.py', line 201 in __call__
  resp = req.get_response(self.app)
File '/var/local/env-allura/lib/python2.7/site-packages/WebOb-1.0.8-py2.7.egg/webob/request.py', line 1053 in get_response
  application, catch_exc_info=False)
File '/var/local/env-allura/lib/python2.7/site-packages/WebOb-1.0.8-py2.7.egg/webob/request.py', line 1022 in call_application
  app_iter = application(self.environ, start_response)
File '/var/local/allura/Allura/allura/lib/custom_middleware.py', line 95 in __call__
  self.app, environ, catch_exc_info=True)
File '/var/local/env-allura/lib/python2.7/site-packages/Pylons-1.0-py2.7.egg/pylons/util.py', line 48 in call_wsgi_application
  app_iter = application(environ, start_response)
File '/var/local/env-allura/lib/python2.7/site-packages/Beaker-1.5.4-py2.7.egg/beaker/middleware.py', line 152 in __call__
  return self.wrap_app(environ, session_start_response)
File '/var/local/env-allura/lib/python2.7/site-packages/Routes-1.12.3-py2.7.egg/routes/middleware.py', line 131 in __call__
  response = self.app(environ, start_response)
File '/var/local/forge-classic/sfx/middleware.py', line 49 in __call__
  resp = request.get_response(self.app)
File '/var/local/env-allura/lib/python2.7/site-packages/WebOb-1.0.8-py2.7.egg/webob/request.py', line 1053 in get_response
  application, catch_exc_info=False)
File '/var/local/env-allura/lib/python2.7/site-packages/WebOb-1.0.8-py2.7.egg/webob/request.py', line 1022 in call_application
  app_iter = application(self.environ, start_response)
File '/var/local/env-allura/lib/python2.7/site-packages/Pylons-1.0-py2.7.egg/pylons/wsgiapp.py', line 107 in __call__
  response = self.dispatch(controller, environ, start_response)
File '/var/local/env-allura/lib/python2.7/site-packages/Pylons-1.0-py2.7.egg/pylons/wsgiapp.py', line 312 in dispatch
  return controller(environ, start_response)
File '/var/local/allura/Allura/allura/lib/base.py', line 46 in __call__
  response = super(WsgiDispatchController, self).__call__(environ, start_response)
File '/var/local/env-allura/lib/python2.7/site-packages/Pylons-1.0-py2.7.egg/pylons/controllers/core.py', line 162 in _dispatch_call
  response = self._inspect_call(func)
File '/var/local/env-allura/lib/python2.7/site-packages/Pylons-1.0-py2.7.egg/pylons/controllers/core.py', line 105 in _inspect_call
  result = self._perform_call(func, args)
File '/var/local/env-allura/lib/python2.7/site-packages/TurboGears2-2.1.5-py2.7.egg/tg/controllers/dispatcher.py', line 258 in _perform_call
  r = self._call(func, params, remainder=remainder)
File '/var/local/allura/Allura/allura/lib/patches.py', line 116 in _call
  return old_controller_call(self, controller, *args, **kwargs)
File '/var/local/env-allura/lib/python2.7/site-packages/TurboGears2-2.1.5-py2.7.egg/tg/controllers/decoratedcontroller.py', line 142 in _call
  response = self._render_response(controller, output)
File '/var/local/env-allura/lib/python2.7/site-packages/TurboGears2-2.1.5-py2.7.egg/tg/controllers/decoratedcontroller.py', line 331 in _render_response
  **render_params)
File '/var/local/env-allura/lib/python2.7/site-packages/TurboGears2-2.1.5-py2.7.egg/tg/render.py', line 188 in render
  kwargs['result'] = render_function(template_name, tg_vars, **kwargs)
File '/var/local/env-allura/lib/python2.7/site-packages/TurboGears2-2.1.5-py2.7.egg/tg/render.py', line 470 in render_jinja
  cache_key=cache_key, cache_type=cache_type, cache_expire=cache_expire)
File '/var/local/env-allura/lib/python2.7/site-packages/TurboGears2-2.1.5-py2.7.egg/tg/render.py', line 253 in cached_template
  return render_func()
File '/var/local/env-allura/lib/python2.7/site-packages/TurboGears2-2.1.5-py2.7.egg/tg/render.py', line 467 in render_template
  return literal(template.render(**globs))
File '/var/local/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.3-py2.7.egg/timermiddleware/__init__.py', line 116 in wrapper
  return self.run_and_log(func, inst, *args, **kwargs)
File '/var/local/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.3-py2.7.egg/timermiddleware/__init__.py', line 125 in run_and_log
  return func(*args, **kwargs)
File '/var/local/env-allura/lib/python2.7/site-packages/Jinja2-2.6-py2.7.egg/jinja2/environment.py', line 894 in render
  return self.environment.handle_exception(exc_info, True)
File '/var/local/allura/Allura/allura/templates/repo/tree.html', line 20 in top-level template code
  {% do g.register_forge_css('css/forge/hilite.css') %}
File '/var/local/allura/Allura/allura/templates/repo/repo_master.html', line 138 in top-level template code
  <span class="scm-tag-label">{{t}}</span>
File '/var/local/allura/Allura/allura/templates/jinja_master/master.html', line 105 in top-level template code
  <h2 class="dark{% block header_classes %} title{% endblock %}">{% block header %}{% endblock %}
File '/var/local/allura/Allura/allura/templates/repo/tree.html', line 28 in block "header"
  Tree <a href="{{commit.url()}}">{{commit.shorthand_id()}}</a> {{commit_labels(commit)}} /
File '/var/local/allura/Allura/allura/templates/repo/repo_master.html', line 133 in template
  {% set branches, tags = commit.symbolic_ids %}
File '/var/local/env-allura/lib/python2.7/site-packages/Jinja2-2.6-py2.7.egg/jinja2/environment.py', line 372 in getattr
  return getattr(obj, attribute)
File '/var/local/env-allura/lib/python2.7/site-packages/Ming-0.3.7-py2.7.egg/ming/utils.py', line 18 in __get__
  result = obj.__dict__[self.__name__] = self._func(obj)
File '/var/local/allura/Allura/allura/model/repo.py', line 216 in symbolic_ids
  return self.repo.symbolics_for_commit(self)
File '/var/local/allura/Allura/allura/model/repository.py', line 336 in symbolics_for_commit
  return self._impl.symbolics_for_commit(commit)
File '/var/local/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.3-py2.7.egg/timermiddleware/__init__.py', line 116 in wrapper
  return self.run_and_log(func, inst, *args, **kwargs)
File '/var/local/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.3-py2.7.egg/timermiddleware/__init__.py', line 125 in run_and_log
  return func(*args, **kwargs)
File '/var/local/allura/ForgeGit/forgegit/model/git_repo.py', line 438 in symbolics_for_commit
  tags = [t.name for t in self.tags if t.object_id == commit._id]
File '/var/local/env-allura/lib/python2.7/site-packages/Ming-0.3.7-py2.7.egg/ming/utils.py', line 18 in __get__
  result = obj.__dict__[self.__name__] = self._func(obj)
File '/var/local/allura/ForgeGit/forgegit/model/git_repo.py', line 488 in tags
  return [Object(name=t.name, object_id=t.commit.hexsha) for t in self._git.tags if t.is_valid()]
File '/var/local/env-allura/lib/python2.7/site-packages/GitPython-0.3.2.RC1_20130424-py2.7.egg/git/refs/tag.py', line 33 in commit
  raise ValueError( "Tag %s points to a Blob or Tree - have never seen that before" % self )
ValueError: Tag 1.4 points to a Blob or Tree - have never seen that before

Discussion

  • Chris Tsai - 2013-09-06
    • summary: 500 error on comtor/git - Tag 1.4 points to a Blob or Tree [ss5276] --> 500 error on comtor/code (git repo) - Tag 1.4 points to a Blob or Tree [ss5276]
     
  • Dave Brondsema

    Dave Brondsema - 2013-09-06
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -5,28 +5,6 @@
     Have you seen this before? ;)
    
     ~~~~
    -Traceback (most recent call last):
    -  File "/var/local/env-allura/lib/python2.7/site-packages/Pylons-1.0-py2.7.egg/pylons/middleware.py", line 163, in __call__
    -    self.app, new_environ, catch_exc_info=True)
    -  File "/var/local/env-allura/lib/python2.7/site-packages/Pylons-1.0-py2.7.egg/pylons/util.py", line 51, in call_wsgi_application
    -    output.extend(app_iter)
    -  File "/var/local/env-allura/lib/python2.7/site-packages/Paste-1.7.5.1-py2.7.egg/paste/registry.py", line 409, in streaming_iter
    -    for item in self.application(environ, start_response):
    -  File "/var/local/env-allura/lib/python2.7/site-packages/Ming-0.3.7-py2.7.egg/ming/odm/middleware.py", line 16, in __call__
    -    result = self.app(environ, start_response)
    -  File "/var/local/allura/Allura/allura/lib/custom_middleware.py", line 58, in __call__
    -    return self.app(environ, start_response)
    -  File "/var/local/env-allura/lib/python2.7/site-packages/EasyWidgets-0.2dev_20130716-py2.7.egg/ew/middleware.py", line 65, in __call__
    -    result = self.app(environ, start_response)
    -  File "/var/local/allura/Allura/allura/lib/custom_middleware.py", line 171, in __call__
    -    return resp(environ, start_response)
    -  File "/var/local/allura/Allura/allura/config/middleware.py", line 195, in AlluraGlobalsMiddleware
    -    return app(environ, start_response)
    -  File "/var/local/allura/Allura/allura/lib/custom_middleware.py", line 129, in __call__
    -    param = req.str_POST.pop(self._param_name, None)
    -  File "/var/local/env-allura/lib/python2.7/site-packages/WebOb-1.0.8-py2.7.egg/webob/multidict.py", line 579, in __delitem__
    -    raise KeyError("No keys to delete: %s" % self.reason)
    -KeyError: 'No keys to delete: Not an HTML form submission (Content-Type: application/xml)'
     Error - <type 'exceptions.ValueError'>: Tag 1.4 points to a Blob or Tree - have never seen that before
     URL: https://sourceforge.net/p/comtor/code/ci/master/tree/
     File '/var/local/env-allura/lib/python2.7/site-packages/WebError-0.10.3_20130423-py2.7.egg/weberror/errormiddleware.py', line 242 in next
    
     
  • Dave Brondsema

    Dave Brondsema - 2013-09-06

    We could probably handle this more gracefully, but at first read of this error, it seems that the git tag "1.4" isn't correct in the repo and should be fixed there.

     

Log in to post a comment.