We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Internal Server Error: /tillweb/haymakers/delivery/3383/ KeyError at /tillweb/haymakers/delivery/3383/ 'itemsize' Request Method: POST Request URL: https://www.individualpubs.co.uk/tillweb/haymakers/delivery/3383/ Django Version: 3.2.19 Python Executable: /usr/bin/uwsgi-core Python Version: 3.8.10 Python Path: ['/home/ipladmin/live/quicktill/', '.', '', '/home/ipladmin/live/ipladmin/~/live/ipladmin', '/home/ipladmin/live/ipladmin/~/live/quicktill', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/ipladmin/live/venv/lib/python3.8/site-packages', '/home/ipladmin/live/venv/lib/python3.8/site-packages/odf', '/home/ipladmin/live/venv/lib/python3.8/site-packages/odf', '/home/ipladmin/live/venv/lib/python3.8/site-packages/odf', '/home/ipladmin/live/venv/lib/python3.8/site-packages/odf', '/home/ipladmin/live/venv/lib/python3.8/site-packages/odf', '/home/ipladmin/live/venv/lib/python3.8/site-packages/odf', '/home/ipladmin/live/venv/lib/python3.8/site-packages/odf'] Server time: Thu, 11 May 2023 14:36:51 +0100 Installed Applications: ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.admin', 'django.contrib.admindocs', 'django.contrib.staticfiles', 'django_bootstrap_breadcrumbs', 'sorl.thumbnail', 'widget_tweaks', 'payroll.apps.PayrollConfig', 'schedule.apps.ScheduleConfig', 'mail.apps.MailConfig', 'fcgiauth.apps.FCGIAuthConfig', 'markup', 'magiclinks', 'photologue', 'sortedm2m', 'pubs.apps.PubsConfig', 'staffinfo.apps.StaffInfoConfig', 'safety.apps.SafetyConfig', 'notify.apps.NotifyConfig', 'pages.apps.PagesConfig', 'quicktill.tillweb.apps.TillWebConfig'] Installed Middleware: ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'pages.middleware.PagesFallbackMiddleware') Traceback (most recent call last): File "/home/ipladmin/live/venv/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner response = get_response(request) File "/home/ipladmin/live/venv/lib/python3.8/site-packages/django/core/handlers/base.py", line 181, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/home/ipladmin/live/venv/lib/python3.8/site-packages/django/contrib/auth/decorators.py", line 21, in _wrapped_view return view_func(request, *args, **kwargs) File "/home/ipladmin/live/quicktill/quicktill/tillweb/views.py", line 277, in new_view result = view(request, info, *args, **kwargs) File "/home/ipladmin/live/quicktill/quicktill/tillweb/views.py", line 1260, in delivery if form.is_valid(): File "/home/ipladmin/live/venv/lib/python3.8/site-packages/django/forms/forms.py", line 175, in is_valid return self.is_bound and not self.errors File "/home/ipladmin/live/venv/lib/python3.8/site-packages/django/forms/forms.py", line 170, in errors self.full_clean() File "/home/ipladmin/live/venv/lib/python3.8/site-packages/django/forms/forms.py", line 373, in full_clean self._clean_form() File "/home/ipladmin/live/venv/lib/python3.8/site-packages/django/forms/forms.py", line 400, in _clean_form cleaned_data = self.clean() File "/home/ipladmin/live/quicktill/quicktill/tillweb/views.py", line 1216, in clean if cd['itemsize'].unit != cd['stocktype'].unit: Exception Type: KeyError at /tillweb/haymakers/delivery/3383/ Exception Value: 'itemsize' Request information: USER: Robert.Cook GET: No GET data POST: csrfmiddlewaretoken = '(redacted)' supplier = '52' docnumber = '62525/100523/56' date = '2023-05-10' stocktype = '2284' quantity = '2' costprice = '26.98' saleprice = '1.00' bestbefore = '' submit_update = '' FILES: No FILES data
The text was updated successfully, but these errors were encountered:
1ea9017
No branches or pull requests
The text was updated successfully, but these errors were encountered: