Sito su cui è impossibile aggiungere canali #3877
Unanswered
maelaborazioni
asked this question in
Q&A
Replies: 1 comment 3 replies
-
L'errore si presenta aggiungendo un canale o aggiungendo un questionario? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Buongiorno, mi succede una cosa stranissima.
In un sito avevo un canale con un questionario ma tutte le volte che ne aggiungo uno ulteriore mi dice:
Errore!
Errore interno del server (Unexpected)
Ho provato a rimuovere quello esistente e ricrearlo e mi da lo stesso errore.
Per tutti gli altri 15+ siti mi funziona tranquillamente!
La mail di eccezione che mi arriva dice:
_Platform: studiomiazzo Whistleblowing
Host: studiomiazzo-whistleblowing.peoplegest.it (qg325you6yyzzngju4ttj527ct2yvcntqy2uv547ahu3rnc3gbqo7nyd.onion)
Version: 4.13.18
sqlalchemy.exc.IntegrityError Wraps a DB-API IntegrityError.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 998, in _commit_impl
self.engine.dialect.do_commit(self.connection)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/default.py", line 685, in do_commit
dbapi_connection.commit()
sqlite3.IntegrityError: FOREIGN KEY constraint failed
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 187, in _wrap
session.commit()
File "/usr/lib/python3/dist-packages/sqlalchemy/orm/session.py", line 1431, in commit
self._transaction.commit(_to_root=self.future)
File "/usr/lib/python3/dist-packages/sqlalchemy/orm/session.py", line 836, in commit
trans.commit()
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2361, in commit
self._do_commit()
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2551, in _do_commit
self._connection_commit_impl()
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2522, in _connection_commit_impl
self.connection._commit_impl()
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1000, in _commit_impl
self._handle_dbapi_exception(e, None, None, None, None)
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 998, in _commit_impl
self.engine.dialect.do_commit(self.connection)
File "/usr/lib/python3/dist-packages/sqlalchemy/engine/default.py", line 685, in do_commit
dbapi_connection.commit()
sqlalchemy.exc.IntegrityError: (sqlite3.IntegrityError) FOREIGN KEY constraint failed (Background on this error at: https://sqlalche.me/e/14/gkpj)_
Beta Was this translation helpful? Give feedback.
All reactions