Internal Server Error: /events/register/project-froglabs-2018-tuebix
ValueError at /events/register/project-froglabs-2018-tuebix
invalid width -319 (must be > 0)
Request Method: POST
Request URL: https://ticdesk.teckids.org/events/register/project-froglabs-2018-tuebix
Django Version: 1.11.5
Python Executable: /usr/bin/python3
Python Version: 3.5.3
Python Path: ['/srv/www/ticdesk/venv/lib/python35.zip',
'/srv/www/ticdesk/venv/lib/python3.5',
'/srv/www/ticdesk/venv/lib/python3.5/plat-x86_64-linux-gnu',
'/srv/www/ticdesk/venv/lib/python3.5/lib-dynload', '/usr/lib/python3.5',
'/usr/lib/python3.5/plat-x86_64-linux-gnu',
'/srv/www/ticdesk/venv/lib/python3.5/site-packages']
Server time: Mi, 25 Apr 2018 08:21:45 +0200
Installed Applications:
['bootstrap3',
'ticdesk_account.apps.TicdeskAccountConfig',
'ticdesk_org.apps.TicdeskOrgConfig',
'ticdesk_events.apps.TicdeskEventsConfig',
'django_extensions',
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'django_tables2',
'django_cron',
'leaflet']
Installed Middleware:
['django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware']
Traceback:
File "/srv/www/ticdesk/venv/lib/python3.5/site-packages/django/core/handlers/exception.py"
in inner
41. response = get_response(request)
File "/srv/www/ticdesk/venv/lib/python3.5/site-packages/django/core/handlers/base.py" in
_get_response
187. response = self.process_exception_by_middleware(e, request)
File "/srv/www/ticdesk/venv/lib/python3.5/site-packages/django/core/handlers/base.py" in
_get_response
185. response = wrapped_callback(request, *callback_args,
**callback_kwargs)
File "/srv/www/ticdesk/venv/lib/python3.5/site-packages/ticdesk_events/views.py" in
register_event
115. message.body += form_to_text_table(register_form, 78)
File "/srv/www/ticdesk/venv/lib/python3.5/site-packages/ticdesk_events/util.py" in
form_to_text_table
30. lines = wrap(value, max_value)
File "/usr/lib/python3.5/textwrap.py" in wrap
379. return w.wrap(text)
File "/usr/lib/python3.5/textwrap.py" in wrap
354. return self._wrap_chunks(chunks)
File "/usr/lib/python3.5/textwrap.py" in _wrap_chunks
248. raise ValueError("invalid width %r (must be > 0)" % self.width)
Exception Type: ValueError at /events/register/project-froglabs-2018-tuebix
Exception Value: invalid width -319 (must be > 0)