You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Buongiorno,
nel momento in cui provo a trasmettere una qualunque segnalazione mi viene restituito il seguente errore: Errore! Errore di validazione dell'input.
Vi allego il dettaglio ricevuto per email come amministratore:
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/twisted/python/threadpool.py", line 244, in inContext
result = inContext.theWork() # type: ignore[attr-defined]
File "/usr/lib/python3/dist-packages/twisted/python/threadpool.py", line 260, in
inContext.theWork = lambda: context.call( # type: ignore[attr-defined]
File "/usr/lib/python3/dist-packages/twisted/python/context.py", line 117, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/usr/lib/python3/dist-packages/twisted/python/context.py", line 82, in callWithContext
return func(*args, **kw)
File "/usr/lib/python3/dist-packages/globaleaks/orm.py", line 185, in _wrap
result = function(session, *args, **kwargs)
File "/usr/lib/python3/dist-packages/globaleaks/handlers/admin/field.py", line 353, in update_field
return serialize_field(session, tid, field, language)
File "/usr/lib/python3/dist-packages/globaleaks/handlers/public.py", line 393, in serialize_field
data = db_prepare_fields_serialization(session, [field])
File "/usr/lib/python3/dist-packages/globaleaks/handlers/public.py", line 222, in db_prepare_fields_serialization
for f in fs:
File "/usr/lib/python3/dist-packages/sqlalchemy/orm/query.py", line 2887, in iter
return self._iter().iter()
File "/usr/lib/python3/dist-packages/sqlalchemy/orm/query.py", line 2894, in _iter
result = self.session.execute(
File "/usr/lib/python3/dist-packages/sqlalchemy/orm/session.py", line 1640, in execute
) = compile_state_cls.orm_pre_session_exec(
File "/usr/lib/python3/dist-packages/sqlalchemy/orm/context.py", line 318, in orm_pre_session_exec
session._autoflush()
File "/usr/lib/python3/dist-packages/sqlalchemy/orm/session.py", line 2237, in autoflush
util.raise(e, with_traceback=sys.exc_info()[2])
File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 207, in raise_
raise exception
File "/usr/lib/python3/dist-packages/sqlalchemy/orm/session.py", line 2226, in _autoflush
self.flush()
File "/usr/lib/python3/dist-packages/sqlalchemy/orm/session.py", line 3363, in flush
self._flush(objects)
File "/usr/lib/python3/dist-packages/sqlalchemy/orm/session.py", line 3502, in _flush
with util.safe_reraise():
File "/usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py", line 70, in exit
compat.raise_(
File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 207, in raise_
raise exception
File "/usr/lib/python3/dist-packages/sqlalchemy/orm/session.py", line 3463, in _flush
flush_context.execute()
File "/usr/lib/python3/dist-packages/sqlalchemy/orm/unitofwork.py", line 456, in execute
rec.execute(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/orm/unitofwork.py", line 630, in execute
util.preloaded.orm_persistence.save_obj(
File "/usr/lib/python3/dist-packages/sqlalchemy/orm/persistence.py", line 244, in save_obj
_emit_insert_statements(
File "/usr/lib/python3/dist-packages/sqlalchemy/orm/persistence.py", line 1096, in _emit_insert_statements
c = connection._execute_20(
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1614, in _execute_20
return meth(self, args_10style, kwargs_10style, execution_options)
File "/usr/lib/python3/dist-packages/sqlalchemy/sql/elements.py", line 325, in _execute_on_connection
return connection._execute_clauseelement(
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1481, in _execute_clauseelement
ret = self._execute_context(
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1845, in _execute_context
self._handle_dbapi_exception(
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2026, in handle_dbapi_exception
util.raise(
File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 207, in raise_
raise exception
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1782, in _execute_context
self.dialect.do_executemany(
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/default.py", line 729, in do_executemany
cursor.executemany(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)
(sqlite3.IntegrityError) UNIQUE constraint failed: fieldoptiontriggerfield.option_id, fieldoptiontriggerfield.object_id
[SQL: INSERT INTO fieldoptiontriggerfield (option_id, object_id, sufficient) VALUES (?, ?, ?)]
[parameters: (('d1e4f64b-e5fb-4148-a148-68bc41e4d206', 'c2d01c33-979a-4252-9dd7-16c3b05d9b60', 1), ('f25e5d85-9f0f-4e0b-b4f0-6eb3a9ed66cc', 'c2d01c33-979a-4252-9dd7-16c3b05d9b60', 1), ('ef2cd75f-e4b1-475e-8141-8ca5cb04776e', 'c2d01c33-979a-4252-9dd7-16c3b05d9b60', 1), ('ef2cd75f-e4b1-475e-8141-8ca5cb04776e', 'c2d01c33-979a-4252-9dd7-16c3b05d9b60', 1))]
(Background on this error at: https://sqlalche.me/e/14/gkpj)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Buongiorno,
nel momento in cui provo a trasmettere una qualunque segnalazione mi viene restituito il seguente errore: Errore! Errore di validazione dell'input.
Vi allego il dettaglio ricevuto per email come amministratore:
(5i7q4mzfqivwrbpl66zco74n2fqpvzayyp3r3eia7ewxlh6scyft5syd.onion)
Version: 4.14.8
sqlalchemy.exc.IntegrityError Wraps a DB-API IntegrityError.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1782, in _execute_context
self.dialect.do_executemany(
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/default.py", line 729, in do_executemany
cursor.executemany(statement, parameters)
sqlite3.IntegrityError: UNIQUE constraint failed: fieldoptiontriggerfield.option_id, fieldoptiontriggerfield.object_id
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/twisted/python/threadpool.py", line 244, in inContext
result = inContext.theWork() # type: ignore[attr-defined]
File "/usr/lib/python3/dist-packages/twisted/python/threadpool.py", line 260, in
inContext.theWork = lambda: context.call( # type: ignore[attr-defined]
File "/usr/lib/python3/dist-packages/twisted/python/context.py", line 117, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/usr/lib/python3/dist-packages/twisted/python/context.py", line 82, in callWithContext
return func(*args, **kw)
File "/usr/lib/python3/dist-packages/globaleaks/orm.py", line 185, in _wrap
result = function(session, *args, **kwargs)
File "/usr/lib/python3/dist-packages/globaleaks/handlers/admin/field.py", line 353, in update_field
return serialize_field(session, tid, field, language)
File "/usr/lib/python3/dist-packages/globaleaks/handlers/public.py", line 393, in serialize_field
data = db_prepare_fields_serialization(session, [field])
File "/usr/lib/python3/dist-packages/globaleaks/handlers/public.py", line 222, in db_prepare_fields_serialization
for f in fs:
File "/usr/lib/python3/dist-packages/sqlalchemy/orm/query.py", line 2887, in iter
return self._iter().iter()
File "/usr/lib/python3/dist-packages/sqlalchemy/orm/query.py", line 2894, in _iter
result = self.session.execute(
File "/usr/lib/python3/dist-packages/sqlalchemy/orm/session.py", line 1640, in execute
) = compile_state_cls.orm_pre_session_exec(
File "/usr/lib/python3/dist-packages/sqlalchemy/orm/context.py", line 318, in orm_pre_session_exec
session._autoflush()
File "/usr/lib/python3/dist-packages/sqlalchemy/orm/session.py", line 2237, in autoflush
util.raise(e, with_traceback=sys.exc_info()[2])
File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 207, in raise_
raise exception
File "/usr/lib/python3/dist-packages/sqlalchemy/orm/session.py", line 2226, in _autoflush
self.flush()
File "/usr/lib/python3/dist-packages/sqlalchemy/orm/session.py", line 3363, in flush
self._flush(objects)
File "/usr/lib/python3/dist-packages/sqlalchemy/orm/session.py", line 3502, in _flush
with util.safe_reraise():
File "/usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py", line 70, in exit
compat.raise_(
File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 207, in raise_
raise exception
File "/usr/lib/python3/dist-packages/sqlalchemy/orm/session.py", line 3463, in _flush
flush_context.execute()
File "/usr/lib/python3/dist-packages/sqlalchemy/orm/unitofwork.py", line 456, in execute
rec.execute(self)
File "/usr/lib/python3/dist-packages/sqlalchemy/orm/unitofwork.py", line 630, in execute
util.preloaded.orm_persistence.save_obj(
File "/usr/lib/python3/dist-packages/sqlalchemy/orm/persistence.py", line 244, in save_obj
_emit_insert_statements(
File "/usr/lib/python3/dist-packages/sqlalchemy/orm/persistence.py", line 1096, in _emit_insert_statements
c = connection._execute_20(
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1614, in _execute_20
return meth(self, args_10style, kwargs_10style, execution_options)
File "/usr/lib/python3/dist-packages/sqlalchemy/sql/elements.py", line 325, in _execute_on_connection
return connection._execute_clauseelement(
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1481, in _execute_clauseelement
ret = self._execute_context(
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1845, in _execute_context
self._handle_dbapi_exception(
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2026, in handle_dbapi_exception
util.raise(
File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 207, in raise_
raise exception
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1782, in _execute_context
self.dialect.do_executemany(
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/default.py", line 729, in do_executemany
cursor.executemany(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)
(sqlite3.IntegrityError) UNIQUE constraint failed: fieldoptiontriggerfield.option_id, fieldoptiontriggerfield.object_id
[SQL: INSERT INTO fieldoptiontriggerfield (option_id, object_id, sufficient) VALUES (?, ?, ?)]
[parameters: (('d1e4f64b-e5fb-4148-a148-68bc41e4d206', 'c2d01c33-979a-4252-9dd7-16c3b05d9b60', 1), ('f25e5d85-9f0f-4e0b-b4f0-6eb3a9ed66cc', 'c2d01c33-979a-4252-9dd7-16c3b05d9b60', 1), ('ef2cd75f-e4b1-475e-8141-8ca5cb04776e', 'c2d01c33-979a-4252-9dd7-16c3b05d9b60', 1), ('ef2cd75f-e4b1-475e-8141-8ca5cb04776e', 'c2d01c33-979a-4252-9dd7-16c3b05d9b60', 1))]
(Background on this error at: https://sqlalche.me/e/14/gkpj)
Qualcuno mi potrebbe aiutare?
Grazie
Tony
Beta Was this translation helpful? Give feedback.
All reactions