sorenisanerd / python-django-repomgmt

APT repository manager, build deamon, automatic package builder
Apache License 2.0
6 stars 9 forks source link

ValueError at /builds/ #20

Open pkilambi opened 11 years ago

pkilambi commented 11 years ago

I run into this quit often. When loading /builds/ page it ends up with a ValueError. Here is the full traceback

Traceback: File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response

  1. response = callback(request, _callback_args, *_callback_kwargs) File "/home/buildd/www/src/django-repomgmt/repomgmt/views.py" in build_list
  2. {'build_records': BuildRecord.objects.order_by('-created')}) File "/usr/local/lib/python2.7/dist-packages/django/shortcuts/init.py" in render
  3. return HttpResponse(loader.render_to_string(_args, *_kwargs), File "/usr/local/lib/python2.7/dist-packages/django/template/loader.py" in render_to_string
  4. return t.render(context_instance) File "/usr/local/lib/python2.7/dist-packages/django/template/base.py" in render
  5. return self._render(context) File "/usr/local/lib/python2.7/dist-packages/django/template/base.py" in _render
  6. return self.nodelist.render(context) File "/usr/local/lib/python2.7/dist-packages/django/template/base.py" in render
  7. bit = self.render_node(node, context) File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py" in render_node
  8. return node.render(context) File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py" in render
  9. return compiled_parent._render(context) File "/usr/local/lib/python2.7/dist-packages/django/template/base.py" in _render
  10. return self.nodelist.render(context) File "/usr/local/lib/python2.7/dist-packages/django/template/base.py" in render
  11. bit = self.render_node(node, context) File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py" in render_node
  12. return node.render(context) File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py" in render
  13. result = block.nodelist.render(context) File "/usr/local/lib/python2.7/dist-packages/django/template/base.py" in render
  14. bit = self.render_node(node, context) File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py" in render_node
  15. return node.render(context) File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py" in render
  16. nodelist.append(node.render(context)) File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py" in render
  17. match = condition.eval(context) File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py" in eval
  18. return self.value.resolve(context, ignore_failures=True) File "/usr/local/lib/python2.7/dist-packages/django/template/base.py" in resolve
  19. obj = self.var.resolve(context) File "/usr/local/lib/python2.7/dist-packages/django/template/base.py" in resolve
  20. value = self._resolve_lookup(context) File "/usr/local/lib/python2.7/dist-packages/django/template/base.py" in _resolve_lookup
  21. current = current() File "/home/buildd/www/src/django-repomgmt/repomgmt/models.py" in allow_rebuild
  22. and not self.superseded()) File "/home/buildd/www/src/django-repomgmt/repomgmt/models.py" in superseded
  23. pkginfo = self.series.get_source_packages() File "/home/buildd/www/src/django-repomgmt/repomgmt/models.py" in get_source_packages
  24. for pkg_name, pkg_version in get_pkglist(distribution): File "/home/buildd/www/src/django-repomgmt/repomgmt/models.py" in get_pkglist
  25. _distribution, _section, arch = repo_info.split('|')

Exception Type: ValueError at /builds/ Exception Value: need more than 1 value to unpack

sorenisanerd commented 11 years ago

If this happens again, can you grab the output of "reprepro -b /what/ever/ -A source list "? Thanks!