Erreur à la génération des diffusions #60

Closed
opened 2022-08-07 09:38:54 +00:00 by thomas · 0 comments
Owner

Une erreur se produit lors de la génération des diffusions (cron job):

Traceback (most recent call last):
  File "./manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/lib/python3.7/site-packages/django/core/management/__init__.py", line 401, in execute_from_command_line
    utility.execute()
  File "/usr/lib/python3.7/site-packages/django/core/management/__init__.py", line 395, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/lib/python3.7/site-packages/django/core/management/base.py", line 328, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/usr/lib/python3.7/site-packages/django/core/management/base.py", line 369, in execute
    output = self.handle(*args, **options)
  File "/srv/www/aircox/aircox/management/commands/diffusions.py", line 100, in handle
    actions.update()
  File "/srv/www/aircox/aircox/management/commands/diffusions.py", line 31, in update
    eps, diffs = schedule.diffusions_of_month(self.date)
ValueError: not enough values to unpack (expected 2, got 0)
Une erreur se produit lors de la génération des diffusions (cron job): ``` Traceback (most recent call last): File "./manage.py", line 10, in <module> execute_from_command_line(sys.argv) File "/usr/lib/python3.7/site-packages/django/core/management/__init__.py", line 401, in execute_from_command_line utility.execute() File "/usr/lib/python3.7/site-packages/django/core/management/__init__.py", line 395, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/usr/lib/python3.7/site-packages/django/core/management/base.py", line 328, in run_from_argv self.execute(*args, **cmd_options) File "/usr/lib/python3.7/site-packages/django/core/management/base.py", line 369, in execute output = self.handle(*args, **options) File "/srv/www/aircox/aircox/management/commands/diffusions.py", line 100, in handle actions.update() File "/srv/www/aircox/aircox/management/commands/diffusions.py", line 31, in update eps, diffs = schedule.diffusions_of_month(self.date) ValueError: not enough values to unpack (expected 2, got 0) ```
thomas referenced this issue from a commit 2022-08-07 09:39:58 +00:00
Sign in to join this conversation.
No description provided.