root directory view traceback

Bug #254794 reported by Russ Brown
Affects Status Importance Assigned to Milestone
Martin Albisetti
Martin Albisetti

Bug Description

Running trunk revision 191 on bzr 1.5, I get the following traceback only when viewing the root folder. Other non-branch subdirectories render fine.

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/paste/", line 1053, in process_request_in_thread
    self.finish_request(request, client_address)
  File "/usr/lib/python2.5/", line 254, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python2.5/", line 522, in __init__
  File "/usr/lib/python2.5/site-packages/paste/", line 432, in handle
  File "/usr/lib/python2.5/", line 316, in handle
  File "/usr/lib/python2.5/site-packages/paste/", line 427, in handle_one_request
  File "/usr/lib/python2.5/site-packages/paste/", line 287, in wsgi_execute
  File "/usr/lib/python2.5/site-packages/paste/deploy/", line 276, in __call__
    return, start_response)
  File "/usr/lib/python2.5/site-packages/paste/", line 67, in __call__
    return self.application(environ, replacement_start_response)
  File "/usr/lib/python2.5/site-packages/paste/", line 632, in __call__
    return self.application(environ, start_response)
  File "/home/admin/loggerhead/loggerhead/apps/", line 79, in __call__
    self.folder, self)(environ, start_response)
  File "/home/admin/loggerhead/loggerhead/apps/", line 58, in __call__
    return self.app_for_non_branch(environ)(environ, start_response)
  File "/home/admin/loggerhead/loggerhead/controllers/", line 83, in __call__
    vals.update(self.get_values(h, args, kw, headers))
  File "/home/admin/loggerhead/loggerhead/controllers/", line 67, in get_values
    dirs.append(DirEntry(d, parity, b))
  File "/home/admin/loggerhead/loggerhead/controllers/", line 34, in __init__
  File "<string>", line 4, in get_revision_read_locked
  File "/usr/lib/python2.5/site-packages/bzrlib/repofmt/", line 197, in get_revision
    return self.get_revision_reconcile(revision_id)
  File "<string>", line 4, in get_revision_reconcile_read_locked
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 1086, in get_revision_reconcile
    return self._get_revisions([revision_id])[0]
  File "<string>", line 4, in _get_revisions_read_locked
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 1100, in _get_revisions
  File "/usr/lib/python2.5/site-packages/bzrlib/store/revision/", line 88, in get_revisions
    texts = self._get_serialized_revisions(revision_ids, transaction)
  File "/usr/lib/python2.5/site-packages/bzrlib/store/revision/", line 103, in _get_serialized_revisions
    return vf.get_texts(revision_ids)
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 1140, in get_texts
    return [''.join(l) for l in self.get_line_list(version_ids)]
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 1145, in get_line_list
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 60, in check_not_reserved_id
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 437, in check_not_reserved_id
    raise errors.ReservedId(revision_id)
ReservedId: Reserved revision-id {null:}

Martin Albisetti (beuno)
Changed in loggerhead:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Martin Albisetti (beuno) wrote :

Also happens with 1.6.

We should filter out NULL revisions when getting the timestamp from the last revision

Martin Albisetti (beuno)
Changed in loggerhead:
assignee: nobody → beuno
status: Confirmed → Fix Committed
Martin Albisetti (beuno)
Changed in loggerhead:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers