Traceback (most recent call last): File "/Users/morgen/dev/trees/trunk/application/dialogs/PublishCollection.py", line 376, in OnPublish self.PublishCollection() File "/Users/morgen/dev/trees/trunk/application/dialogs/PublishCollection.py", line 473, in PublishCollection self.taskView = viewpool.getView(self.view.repository) File "/Users/morgen/dev/trees/trunk/util/viewpool.py", line 30, in getView view.refresh( ) File "/Users/morgen/dev/trees/trunk/repository/persistence/DBRepositoryView.py", line 336, in refresh forwards = self._refresh(mergeFn, version, notify) File "/Users/morgen/dev/trees/trunk/repository/persistence/DBRepositoryView.py", line 372, in _refresh self._refreshForwards(mergeFn, self.itsVersion + 1, True) File "/Users/morgen/dev/trees/trunk/repository/persistence/DBRepositoryView.py", line 543, in _refreshForwards _unload(merges.iterkeys) File "/Users/morgen/dev/trees/trunk/repository/persistence/DBRepositoryView.py", line 488, in _unload item._unloadItem(True, self, False) File "/Users/morgen/dev/trees/trunk/repository/item/Item.py", line 2265, in _unloadItem raise DirtyItemError, self chandlerdb.item.ItemError.DirtyItemError: has unsaved changes and cannot be unloaded