Traceback (most recent call last):


 "/tmp/cert_test.py", line 15, in <module>

store_ctx.verify_certificate()


 "/media/extra/envs/pino/local/lib/python2.7/site-packages/OpenSSL/crypto.py", line 1634, in verify_certificate

raise self._exception_from_context()
OpenSSL.crypto.X509StoreContextError: [2, 1, 'unable to get issuer certificate']

Traceback (most recent call last):


 "/home/rmi/cms_env/lib/python3.6/site-packages/tornado/web.py", line 1510, in _execute

result = method(*self.path_args, **self.path_kwargs)


 "/home/rmi/cms_env/lib/python3.6/site-packages/tornado/web.py", line 2898, in wrapper

return method(self, *args, **kwargs)


 "/home/rmi/cms_env/lib/python3.6/site-packages/cms-1.4rc1-py3.6.egg/cms/server/admin/handlers/base.py", line 188, in newfunc

return func(self, *args, **kwargs)


 "/home/rmi/cms_env/lib/python3.6/site-packages/cms-1.4rc1-py3.6.egg/cms/server/admin/handlers/task.py", line 199, in post

for testcase in itervalues(dataset.testcases):


 "/home/rmi/cms_env/lib/python3.6/site-packages/sqlalchemy/orm/attributes.py", line 237, in __get__

return self.impl.get(instance_state(instance), dict_)


 "/home/rmi/cms_env/lib/python3.6/site-packages/sqlalchemy/orm/attributes.py", line 584, in get

value = self.callable_(state, passive)


 "/home/rmi/cms_env/lib/python3.6/site-packages/sqlalchemy/orm/strategies.py", line 557, in _load_for_state

return self._emit_lazyload(session, state, ident_key, passive)


 "<string>", line 1, in <lambda>


 "/home/rmi/cms_env/lib/python3.6/site-packages/sqlalchemy/orm/strategies.py", line 635, in _emit_lazyload

result = q.all()


 "/home/rmi/cms_env/lib/python3.6/site-packages/sqlalchemy/orm/query.py", line 2703, in all

return list(self)


 "/home/rmi/cms_env/lib/python3.6/site-packages/sqlalchemy/orm/query.py", line 2854, in __iter__

self.session._autoflush()


 "/home/rmi/cms_env/lib/python3.6/site-packages/sqlalchemy/orm/session.py", line 1428, in _autoflush

util.raise_from_cause(e)


 "/home/rmi/cms_env/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 203, in raise_from_cause

reraise(type(exception), exception, tb=exc_tb, cause=cause)


 "/home/rmi/cms_env/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 187, in reraise

raise value


 "/home/rmi/cms_env/lib/python3.6/site-packages/sqlalchemy/orm/session.py", line 1418, in _autoflush

self.flush()


 "/home/rmi/cms_env/lib/python3.6/site-packages/sqlalchemy/orm/session.py", line 2209, in flush

self._flush(objects)


 "/home/rmi/cms_env/lib/python3.6/site-packages/sqlalchemy/orm/session.py", line 2329, in _flush

transaction.rollback(_capture_exception=True)


 "/home/rmi/cms_env/lib/python3.6/site-packages/sqlalchemy/util/langhelpers.py", line 66, in __exit__

compat.reraise(exc_type, exc_value, exc_tb)


 "/home/rmi/cms_env/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 187, in reraise

raise value


 "/home/rmi/cms_env/lib/python3.6/site-packages/sqlalchemy/orm/session.py", line 2293, in _flush

flush_context.execute()


 "/home/rmi/cms_env/lib/python3.6/site-packages/sqlalchemy/orm/unitofwork.py", line 389, in execute

rec.execute(self)


 "/home/rmi/cms_env/lib/python3.6/site-packages/sqlalchemy/orm/unitofwork.py", line 548, in execute

uow


 "/home/rmi/cms_env/lib/python3.6/site-packages/sqlalchemy/orm/persistence.py", line 177, in save_obj

mapper, table, update)


 "/home/rmi/cms_env/lib/python3.6/site-packages/sqlalchemy/orm/persistence.py", line 737, in _emit_update_statements

execute(statement, multiparams)


 "/home/rmi/cms_env/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 945, in execute

return meth(self, multiparams, params)


 "/home/rmi/cms_env/lib/python3.6/site-packages/sqlalchemy/sql/elements.py", line 263, in _execute_on_connection

return connection._execute_clauseelement(self, multiparams, params)


 "/home/rmi/cms_env/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1053, in _execute_clauseelement

compiled_sql, distilled_params


 "/home/rmi/cms_env/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1189, in _execute_context

context)


 "/home/rmi/cms_env/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1402, in _handle_dbapi_exception

exc_info


 "/home/rmi/cms_env/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 203, in raise_from_cause

reraise(type(exception), exception, tb=exc_tb, cause=cause)


 "/home/rmi/cms_env/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 186, in reraise

raise value.with_traceback(tb)


 "/home/rmi/cms_env/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1182, in _execute_context

context)


 "/home/rmi/cms_env/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 470, in do_execute

cursor.execute(statement, parameters)
sqlalchemy.exc.IntegrityError: (raised as a result of Query-invoked autoflush; consider using a session.no_autoflush block if this flush is occurring prematurely) (psycopg2.IntegrityError) new row for relation "datasets" violates check constraint "datasets_memory_limit_check1"
