your collection type is not supported by the paginate module. You can provide a list, a tuple, a SQLAlchemy " "select object or a SQLAlchemy ORM-query object
Without the full traceback is not really easy do understand what's going wrong, but keep in mind