# Ticket #10855 (assigned enhancement)

Opened 4 months ago

## No such changeset exception

Reported by: Assigned to: se@issuu.com mrelbe (accepted) normal TracTicketChangesetsPlugin normal 1.0

### Description

We have experienced that the web_ui part of the ticket crashes with No such changeset error and renders nothing else if someone has chosen to rebase or the like (re-commit) on a repository.

We made a small fix for our own installation by adding a try except handler in the expand_macro function in the web_ui.py module.

       if repos:
try:
changeset = repos.get_changeset(rev)
message = changeset.message
rev = changeset.rev
except NoSuchChangeset:
return tag.div(tag.p(_("(No such changeset)"), class_='hint'),
class_='commitmessage')


We hope that this (or a similar fix) will find it's way into the code :)

Simon Ellefsen

## Change History

### 02/05/13 21:26:11 changed by mrelbe

• status changed from new to assigned.

Thank you very much for the proposal. As might be obvious, I have limited time nowadays to maintain the code, but I will definately look into this (when I've found some time).

### Add/Change #10855 (No such changeset exception)

Change Properties