IndexError at /app/alsijil/event/246/: list index out of range [Ticket#75576] #20

Closed
opened 2021-11-17 15:21:45 +01:00 by support-bot · 5 comments
support-bot commented 2021-11-17 15:21:45 +01:00 (Migrated from edugit.org)
Internal Server Error: /app/alsijil/event/246/

IndexError at /app/alsijil/event/246/
list index out of range

Request Method: GET
Request URL: [1] https://info.katharineum.de/app/alsijil/event/246/
Django Version: 3.2.7
Python Executable: /usr/bin/uwsgi-core
Python Version: 3.9.2
Python Path: ['/srv/aleksis', '.', '', '/usr/lib/python39.zip', '/usr/lib/python3.9', '/usr/lib/python3.9/lib-dynload', '/srv/aleksis/envs/production/lib/python3.9/site-packages']
Server time: Tue, 16 Nov 2021 11:47:13 +0100
Installed Applications:
['django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.sites',
'django.contrib.staticfiles',
'django.contrib.humanize',
'django_uwsgi',
'django_extensions',
'guardian',
'rules.apps.AutodiscoverRulesConfig',
'haystack',
'polymorphic',
'dbbackup',
'django_celery_beat',
'django_celery_results',
'celery_progress',
'health_check.contrib.celery',
'djcelery_email',
'celery_haystack',
'sass_processor',
'django_any_js',
'django_yarnpkg',
'django_tables2',
'maintenance_mode',
'menu_generator',
'reversion',
'phonenumber_field',
'debug_toolbar',
'django_prometheus',
'django_select2',
'templated_email',
'html2text',
'django_otp.plugins.otp_totp',
'django_otp.plugins.otp_static',
'django_otp',
'otp_yubikey',
'aleksis.core',
'allauth',
'allauth.account',
'allauth.socialaccount',
'health_check',
'health_check.db',
'health_check.cache',
'health_check.storage',
'health_check.contrib.psutil',
'health_check.contrib.migrations',
'dynamic_preferences',
'dynamic_preferences.users.apps.UserPreferencesConfig',
'impersonate',
'two_factor',
'material',
'ckeditor',
'ckeditor_uploader',
'django_js_reverse',
'colorfield',
'django_bleach',
'favicon',
'django_filters',
'oauth2_provider',
'rest_framework',
'extra_views',
'feeds',
'aleksis.apps.chronos.apps.ChronosConfig',
'aleksis.apps.csv_import.apps.CSVImportConfig',
'aleksis.apps.untis.apps.UntisConfig',
'aleksis.apps.abi.apps.DefaultConfig',
'aleksis.apps.resint.apps.ResintConfig',
'aleksis.apps.alsijil.apps.AlsijilConfig',
'aleksis.apps.hjelp.apps.HjelpConfig',
'aleksis.apps.fritak.apps.FritakConfig',
'aleksis.apps.dashboardfeeds.apps.DefaultConfig',
'aleksis.apps.ldap.apps.LDAPConfig',
'cachalot',
'django_cleanup.apps.CleanupConfig']
Installed Middleware:
['django_prometheus.middleware.PrometheusBeforeMiddleware',
'django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'debug_toolbar.middleware.DebugToolbarMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.middleware.http.ConditionalGetMiddleware',
'django.contrib.sites.middleware.CurrentSiteMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django_otp.middleware.OTPMiddleware',
'impersonate.middleware.ImpersonateMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'maintenance_mode.middleware.MaintenanceModeMiddleware',
'aleksis.core.util.middlewares.EnsurePersonMiddleware',
'django_prometheus.middleware.PrometheusAfterMiddleware']
>
Traceback (most recent call last):
 File "/srv/aleksis/envs/production/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner
   response = get_response(request)
 File "/srv/aleksis/envs/production/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response
   response = wrapped_callback(request, *callback_args, **callback_kwargs)
 File "/srv/aleksis/envs/production/lib/python3.9/site-packages/sentry_sdk/integrations/django/views.py", line 67, in sentry_wrapped_callback
   return callback(request, *args, **kwargs)
 File "/srv/aleksis/envs/production/lib/python3.9/site-packages/rules/contrib/views.py", line 221, in _wrapped_view
   return view_func(request, *args, **kwargs)
 File "/srv/aleksis/envs/production/lib/python3.9/site-packages/aleksis/apps/alsijil/views.py", line 296, in register_object
   register_object.get_groups().all()[0].pk,
 File "/srv/aleksis/envs/production/lib/python3.9/site-packages/django/db/models/query.py", line 300, in __getitem__
   return self._result_cache[k]

Exception Type: IndexError at /app/alsijil/event/246/
Exception Value: list index out of range
Request information:
USER: ***

GET: No GET data

POST: No POST data

FILES: No FILES data

``` Internal Server Error: /app/alsijil/event/246/ IndexError at /app/alsijil/event/246/ list index out of range Request Method: GET Request URL: [1] https://info.katharineum.de/app/alsijil/event/246/ Django Version: 3.2.7 Python Executable: /usr/bin/uwsgi-core Python Version: 3.9.2 Python Path: ['/srv/aleksis', '.', '', '/usr/lib/python39.zip', '/usr/lib/python3.9', '/usr/lib/python3.9/lib-dynload', '/srv/aleksis/envs/production/lib/python3.9/site-packages'] Server time: Tue, 16 Nov 2021 11:47:13 +0100 Installed Applications: ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.sites', 'django.contrib.staticfiles', 'django.contrib.humanize', 'django_uwsgi', 'django_extensions', 'guardian', 'rules.apps.AutodiscoverRulesConfig', 'haystack', 'polymorphic', 'dbbackup', 'django_celery_beat', 'django_celery_results', 'celery_progress', 'health_check.contrib.celery', 'djcelery_email', 'celery_haystack', 'sass_processor', 'django_any_js', 'django_yarnpkg', 'django_tables2', 'maintenance_mode', 'menu_generator', 'reversion', 'phonenumber_field', 'debug_toolbar', 'django_prometheus', 'django_select2', 'templated_email', 'html2text', 'django_otp.plugins.otp_totp', 'django_otp.plugins.otp_static', 'django_otp', 'otp_yubikey', 'aleksis.core', 'allauth', 'allauth.account', 'allauth.socialaccount', 'health_check', 'health_check.db', 'health_check.cache', 'health_check.storage', 'health_check.contrib.psutil', 'health_check.contrib.migrations', 'dynamic_preferences', 'dynamic_preferences.users.apps.UserPreferencesConfig', 'impersonate', 'two_factor', 'material', 'ckeditor', 'ckeditor_uploader', 'django_js_reverse', 'colorfield', 'django_bleach', 'favicon', 'django_filters', 'oauth2_provider', 'rest_framework', 'extra_views', 'feeds', 'aleksis.apps.chronos.apps.ChronosConfig', 'aleksis.apps.csv_import.apps.CSVImportConfig', 'aleksis.apps.untis.apps.UntisConfig', 'aleksis.apps.abi.apps.DefaultConfig', 'aleksis.apps.resint.apps.ResintConfig', 'aleksis.apps.alsijil.apps.AlsijilConfig', 'aleksis.apps.hjelp.apps.HjelpConfig', 'aleksis.apps.fritak.apps.FritakConfig', 'aleksis.apps.dashboardfeeds.apps.DefaultConfig', 'aleksis.apps.ldap.apps.LDAPConfig', 'cachalot', 'django_cleanup.apps.CleanupConfig'] Installed Middleware: ['django_prometheus.middleware.PrometheusBeforeMiddleware', 'django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'debug_toolbar.middleware.DebugToolbarMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.http.ConditionalGetMiddleware', 'django.contrib.sites.middleware.CurrentSiteMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django_otp.middleware.OTPMiddleware', 'impersonate.middleware.ImpersonateMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'maintenance_mode.middleware.MaintenanceModeMiddleware', 'aleksis.core.util.middlewares.EnsurePersonMiddleware', 'django_prometheus.middleware.PrometheusAfterMiddleware'] > Traceback (most recent call last):  File "/srv/aleksis/envs/production/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner    response = get_response(request)  File "/srv/aleksis/envs/production/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response    response = wrapped_callback(request, *callback_args, **callback_kwargs)  File "/srv/aleksis/envs/production/lib/python3.9/site-packages/sentry_sdk/integrations/django/views.py", line 67, in sentry_wrapped_callback    return callback(request, *args, **kwargs)  File "/srv/aleksis/envs/production/lib/python3.9/site-packages/rules/contrib/views.py", line 221, in _wrapped_view    return view_func(request, *args, **kwargs)  File "/srv/aleksis/envs/production/lib/python3.9/site-packages/aleksis/apps/alsijil/views.py", line 296, in register_object    register_object.get_groups().all()[0].pk,  File "/srv/aleksis/envs/production/lib/python3.9/site-packages/django/db/models/query.py", line 300, in __getitem__    return self._result_cache[k] Exception Type: IndexError at /app/alsijil/event/246/ Exception Value: list index out of range Request information: USER: *** GET: No GET data POST: No POST data FILES: No FILES data ```
hansegucker commented 2021-11-17 16:23:22 +01:00 (Migrated from edugit.org)

changed title from {-Fwd: -}IndexError at /app/alsijil/event/246/: list index out of range [Ticket#75576] to IndexError at /app/alsijil/event/246/: list index out of range [Ticket#75576]

changed title from **{-Fwd: -}IndexError at /app/alsijil/event/246/: list index out of range [Ticket#75576]** to **IndexError at /app/alsijil/event/246/: list index out of range [Ticket#75576]**
hansegucker commented 2022-01-27 16:47:26 +01:00 (Migrated from edugit.org)

assigned to @hansegucker

assigned to @hansegucker
hansegucker commented 2022-01-27 16:49:05 +01:00 (Migrated from edugit.org)

changed the description

changed the description
hansegucker commented 2022-01-27 16:49:09 +01:00 (Migrated from edugit.org)

made the issue visible to everyone

made the issue visible to everyone
hansegucker commented 2022-01-27 16:49:17 +01:00 (Migrated from edugit.org)

moved to AlekSIS/official/AlekSIS-App-Alsijil#202

moved to AlekSIS/official/AlekSIS-App-Alsijil#202
hansegucker (Migrated from edugit.org) closed this issue 2022-01-27 16:49:17 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
aleksis/AlekSaaS#20
No description provided.