1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/e7420c93edfa/ changeset: e7420c93edfa user: greg date: 2012-04-03 20:15:53 summary: Handle exceptions when resetting all repository metadata in the tool shed. affected #: 1 file diff -r e380ade65ea1684025099e4b3543a77d07f3e3fe -r e7420c93edfab1766ec32a0002adee1dec8d30b3 lib/galaxy/webapps/community/controllers/admin.py --- a/lib/galaxy/webapps/community/controllers/admin.py +++ b/lib/galaxy/webapps/community/controllers/admin.py @@ -464,9 +464,12 @@ count = 0 for repository in trans.sa_session.query( trans.model.Repository ) \ .filter( trans.model.Repository.table.c.deleted == False ): - reset_all_repository_metadata( trans, trans.security.encode_id( repository.id ) ) - log.debug( "Reset metadata on repository %s" % repository.name ) - count += 1 + try: + reset_all_repository_metadata( trans, trans.security.encode_id( repository.id ) ) + log.debug( "Reset metadata on repository %s" % repository.name ) + count += 1 + except Exception, e: + log.debug( "Error attempting to reset metadata on repository %s: %s" % ( repository.name, str( e ) ) ) message = "Reset metadata on %d repositories" % count trans.response.send_redirect( web.url_for( controller='admin', action='browse_repository_metadata', Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.