Closed pymenow closed 6 years ago
`Environment:
Request Method: GET Request URL: http://website.in/scripts/scanreport/jobs/38
Django Version: 1.9.13 Python Version: 3.6.5 Installed Applications: ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'wooey', 'django_celery_results', 'kombu.transport.filesystem'] 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.auth.middleware.SessionAuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'AMS.middleware.ProcessExceptionMiddleware', 'AMS.middleware.ProcessExceptionMiddleware']
Traceback:
File "/opt/anaconda/anaconda3/lib/python3.6/site-packages/django/core/handlers/base.py" in get_response
File "/opt/anaconda/anaconda3/lib/python3.6/site-packages/django/core/handlers/base.py" in get_response
File "/opt/anaconda/anaconda3/lib/python3.6/site-packages/django/views/generic/base.py" in view
File "/opt/anaconda/anaconda3/lib/python3.6/site-packages/django/views/generic/base.py" in dispatch
File "/opt/anaconda/anaconda3/lib/python3.6/site-packages/django/views/generic/detail.py" in get
File "/opt/anaconda/anaconda3/lib/python3.6/site-packages/wooey/views/views.py" in get_context_data
File "/opt/anaconda/anaconda3/lib/python3.6/site-packages/wooey/backend/utils.py" in get_form_groups
File "/opt/anaconda/anaconda3/lib/python3.6/site-packages/wooey/forms/factory.py" in get_group_forms
File "/opt/anaconda/anaconda3/lib/python3.6/site-packages/wooey/forms/factory.py" in get_field
Exception Type: TypeError at /scripts/scanreport/jobs/38 Exception Value: append() takes exactly one argument (0 given) `
@Chris7 any feedback on this one .
Thanks for your report and sorry for the delay (I need to start making filters in my inbox for github things!). This is definitely a bug. I'm making a test case to ensure this piece of code is covered. In the interrim, if you are comfortable, removing _initial.append()
from line 109 should fix it.
@Chris7 done , with just that change have it working as intended for clone !
Fixed via #255. Thanks for reporting.
http://website.in/scripts/scanreport/jobs/38 1.9.13 TypeError append() takes exactly one argument (0 given) /opt/anaconda/anaconda3/lib/python3.6/site-packages/wooey/forms/factory.py in get_field, line 109 /opt/anaconda/anaconda3/bin/python 3.6.5 ['/home/adminindia/AMS', '/opt/anaconda/anaconda3/lib/python36.zip', '/opt/anaconda/anaconda3/lib/python3.6', '/opt/anaconda/anaconda3/lib/python3.6/lib-dynload', '/opt/anaconda/anaconda3/lib/python3.6/site-packages', '/home/adminindia/AMS'] Tue, 12 Jun 2018 03:18:18 +0000