Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ts&Cs management command exception while running for the latest version #55

Open
Milstein opened this issue Sep 4, 2024 · 0 comments
Open

Comments

@Milstein
Copy link
Contributor

Milstein commented Sep 4, 2024

While running the following commands on the regapp debug container:

  1. python manage.py terms --report --grace=0
  2. python manage.py terms --grace=0

Showing the following exceptions:

2024-09-04 15:17:46,964 regapp.apps.regapp.management.commands.terms INFO      Sent terms and conditions update notification to [email protected]. Current accepted version v1.0.0, required version v1.1.0
Traceback (most recent call last):
  File "/code/manage.py", line 22, in <module>
    main()
  File "/code/manage.py", line 18, in main
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python3.9/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python3.9/site-packages/django/core/management/__init__.py", line 413, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/local/lib/python3.9/site-packages/django/core/management/base.py", line 354, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/usr/local/lib/python3.9/site-packages/django/core/management/base.py", line 398, in execute
    output = self.handle(*args, **options)
  File "/code/regapp/apps/regapp/management/commands/terms.py", line 164, in handle
    [u['email']],
KeyError: 'email'
@Milstein Milstein changed the title Ts&Cs management command exception while upgrading version Ts&Cs management command exception while running for the latest version Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant