Public repo fixes

The new way of writing excepts is:

    except Exception as e: