Project

General

Profile

Bug #71895

clean_deleted_users, invalid input syntax for type integer: "_submitter"

Added by Sentry Io 2 months ago. Updated 2 months ago.

Status:
Fermé
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
01 December 2022
Due date:
% Done:

0%

Estimated time:
Patch proposed:
No
Planning:
No

Description

https://sentry.entrouvert.org/entrouvert/sictiam/issues/97574/

InvalidTextRepresentation: invalid input syntax for type integer: "_submitter" 

  File "wcs/qommon/cron.py", line 127, in cron_worker
    job.function(publisher, job=job)
  File "wcs/publisher.py", line 526, in clean_deleted_users
    for user_id in self.user_class.get_to_delete_ids():
  File "wcs/sql.py", line 3409, in get_to_delete_ids
    to_delete_ids = deleted_ids.difference(cls.get_reference_ids())
  File "wcs/sql.py", line 3379, in get_reference_ids
    cur.execute(sql_statement)

InFailedSqlTransaction: current transaction is aborted, commands ignored until end of transaction block

(10 additional frame(s) were not displayed)
...
  File "wcs/logged_errors.py", line 100, in record
    return error.store()
  File "wcs/sql.py", line 702, in f
    return func(*args, **kwargs)
  File "wcs/qommon/substitution.py", line 27, in f
    return func(*args, **kwargs)
  File "wcs/sql.py", line 4033, in store
    existing_errors = list(self.get_with_indexed_value('tech_id', self.tech_id))
  File "wcs/sql.py", line 2120, in get_with_indexed_value
    cur.execute(sql_statement, parameters)

Related issues

Related to w.c.s. - Bug #71896: clean-deleted-users : erreur sur user_id = _submitterSolution déployée01 December 2022

Actions

History

#1

Updated by Lauréline Guérin 2 months ago

  • Project changed from Suivi des traces to w.c.s.
  • Subject changed from clean_deleted_users, invalid input syntax for type integer: "_submitter to clean_deleted_users, invalid input syntax for type integer: "_submitter"
#2

Updated by Frédéric Péters 2 months ago

  • Status changed from Nouveau to Fermé

Désolé pas vu, je l'ai dupliqué en #71896.

#3

Updated by Frédéric Péters 2 months ago

  • Related to Bug #71896: clean-deleted-users : erreur sur user_id = _submitter added

Also available in: Atom PDF