NAVADMC / ADSM

A simulation of disease spread in livestock populations. Includes detection and containment simulation.
Other
10 stars 5 forks source link

Missing Field? #984

Closed missyschoenbaum closed 4 years ago

missyschoenbaum commented 4 years ago

I cleared off the version I had on my portable drive, downloaded new version. Getting this.

Request Method: GET

http://127.0.0.1:60045/setup/Scenario/1/ 1.8.2 OperationalError no such column: ScenarioCreator_controlmasterplan.disable_all_controls D:\ADSM_Beta\build\ADSM_Beta.exe 3.4.2 ['D:\ADSM_Beta\build\ADSM_Beta.exe', 'D:\ADSM_Beta\build', 'D:\ADSM_Beta\build\ADSM_Beta.zip', 'D:\ADSM_Beta\build\library.zip', 'D:\ADSM_Beta\build', 'D:\ADSM_Beta\build\bin', 'D:\ADSM_Beta\build\bin\env', 'D:\ADSM_Beta\build'] Tue, 3 Dec 2019 16:38:20 +0000

Request information

GET No GET data POST No POST data FILES No FILES data COOKIES

HTTP_REFERER 'http://127.0.0.1:60045/LoadingScreen/?loading_url=/app/Startup/'
HTTP_CONNECTION 'close'
HTTP_USER_AGENT 'Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like ' 'Gecko) Chrome/39.0.2171.95 Safari/537.36'
wsgi.multithread True
HTTP_X_FORWARDED_FOR '127.0.0.1'
HTTP_X_REAL_IP '127.0.0.1'
wsgi.errors <_io.TextIOWrapper name='' mode='w' encoding='cp437'>
REQUEST_URI '/setup/Scenario/1/'
REMOTE_ADDR '127.0.0.1'
wsgi.url_scheme 'http'
PATH_INFO '/setup/Scenario/1/'
SERVER_PROTOCOL 'HTTP/1.0'
HTTP_ACCEPT 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/;q=0.8'
HTTP_ACCEPT_ENCODING 'gzip, deflate'
wsgi.multiprocess False
wsgi.input <cherrypy.wsgiserver.wsgiserver3.KnownLengthRFile object at 0x000000000B4A46A0>
HTTP_HOST '127.0.0.1:60045'
REMOTE_PORT '60160'
SERVER_SOFTWARE 'CherryPy/3.6.0 Server'
REQUEST_METHOD 'GET'
HTTP_ACCEPT_LANGUAGE 'en-us,en;q=0.8'
SCRIPT_NAME ''
SERVER_PORT '60046'
SERVER_NAME '127.0.0.1'
wsgi.version (1, 0)
ACTUAL_SERVER_PROTOCOL 'HTTP/1.1'
QUERY_STRING ''
wsgi.run_once False

Settings

SERVER_EMAIL 'server@development.server'
WSGI_APPLICATION 'ADSM.wsgi.application'
EMAIL_HOST_PASSWORD '****'
STATICFILES_DIRS ('D:\ADSM_Beta\build\ADSM\static',)
LOGGING_CONFIG 'logging.config.dictConfig'
LANGUAGES_BIDI ('he', 'ar', 'fa', 'ur')
TIME_INPUT_FORMATS ('%H:%M:%S', '%H:%M:%S.%f', '%H:%M')
DATE_INPUT_FORMATS ('%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y')
PREPEND_WWW False
LANGUAGE_COOKIE_AGE None
DEFAULT_CONTENT_TYPE 'text/html'
SHORT_DATE_FORMAT 'm/d/Y'
SECURE_HSTS_SECONDS 0
EMAIL_SSL_KEYFILE '****'
CSRF_FAILURE_VIEW 'django.views.csrf.csrf_failure'
DATABASE_ROUTERS ['ScenarioCreator.router.ScenarioRouter']
PASSWORD_RESET_TIMEOUT_DAYS '****'
TEMPLATE_LOADERS ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader')
DATETIME_INPUT_FORMATS ('%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y')
MONTH_DAY_FORMAT 'F j'
DB_BASE_DIR 'C:\Users\MeSchoenbaum\Documents\ADSM Beta Workspace\settings'
FIRST_DAY_OF_WEEK 0
LANGUAGES (('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese'), ('zh-tw', 'Traditional Chinese'))
SECURE_PROXY_SSL_HEADER None
DEBUG_PROPAGATE_EXCEPTIONS False
USE_THOUSAND_SEPARATOR False
DEFAULT_FILE_STORAGE 'django.core.files.storage.FileSystemStorage'
ROOT_URLCONF 'ADSM.urls'
NUMBER_GROUPING 0
TEST_RUNNER 'django.test.runner.DiscoverRunner'
CACHE_MIDDLEWARE_SECONDS 600
EXPLORER_CONNECTIONS {'scenario_db': 'scenario_db'}
ALLOWED_INCLUDE_ROOTS ()
AUTHENTICATION_BACKENDS ('django.contrib.auth.backends.ModelBackend',)
STATIC_URL '/static/'
MIGRATION_MODULES {}
SESSION_CACHE_ALIAS 'default'
SHGFP_TYPE_CURRENT 0
SILENCED_SYSTEM_CHECKS []
DEBUG True
THOUSAND_SEPARATOR ','
CSRF_COOKIE_AGE 31449600
EXPLORER_SQL_BLACKLIST ('ALTER', 'RENAME', 'DROP', 'TRUNCATE')
FORCE_SCRIPT_NAME None
STATIC_ROOT 'D:\ADSM_Beta\build\static'
MANAGERS ()
SECURE_HSTS_INCLUDE_SUBDOMAINS False
EMAIL_TIMEOUT None
EMAIL_USE_TLS False
SECURE_BROWSER_XSS_FILTER False
MESSAGE_STORAGE 'django.contrib.messages.storage.fallback.FallbackStorage'
EMAIL_BACKEND 'django.core.mail.backends.console.EmailBackend'
LOGIN_URL '/accounts/login/'
DECIMAL_SEPARATOR '.'
SESSION_COOKIE_HTTPONLY True
PASSWORD_HASHERS '****'
CSRF_COOKIE_DOMAIN None
DEBUG_TOOLBAR_PANELS []
DEFAULT_FROM_EMAIL 'noreply@development.server'
TIME_ZONE 'UTC'
DATABASES {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.sqlite3', 'HOST': '', 'NAME': 'C:\Users\MeSchoenbaum\Documents\ADSM Beta ' 'Workspace\settings\settings.db', 'OPTIONS': {}, 'PASSWORD': '****', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': 'C:\Users\MeSchoenbaum\Documents\ADSM ' 'Beta Workspace\settings\test_settings.db'}, 'TIME_ZONE': 'UTC', 'USER': ''}, 'scenario_db': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.sqlite3', 'HOST': '', 'NAME': 'C:\Users\MeSchoenbaum\Documents\ADSM Beta ' 'Workspace\settings\activeSession.db', 'OPTIONS': {'timeout': 300}, 'PASSWORD': '****', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': 'C:\Users\MeSchoenbaum\Documents\ADSM ' 'Beta ' 'Workspace\settings\test_activeSession.db'}, 'TIME_ZONE': 'UTC', 'USER': ''}}
TEMPLATES [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['D:\ADSM_Beta\build\ADSM\templates', 'D:\ADSM_Beta\build\templates\ScenarioCreator', 'D:\ADSM_Beta\build\templates\Results', 'D:\ADSM_Beta\build\templates\ADSMSettings', 'D:\ADSM_Beta\build\templates\django.contrib.admin', 'D:\ADSM_Beta\build\templates\django.contrib.auth', 'D:\ADSM_Beta\build\templates\floppyforms', 'D:\ADSM_Beta\build\templates\crispy_forms', 'D:\ADSM_Beta\build\templates\explorer', 'D:\ADSM_Beta\build\templates\ADSM'], 'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth', 'django.core.context_processors.debug', 'django.core.context_processors.i18n', 'django.core.context_processors.media', 'django.core.context_processors.static', 'django.core.context_processors.tz', 'django.contrib.messages.context_processors.messages', 'django.core.context_processors.request', 'ADSMSettings.context_processor.adsm_context', 'ScenarioCreator.context_processor.basic_context', 'Results.context_processor.results_context']}}]
EMAIL_PORT 25
EMAIL_SUBJECT_PREFIX '[Django] '
INTERNAL_IPS ('127.0.0.1', '::1')
FILE_UPLOAD_MAX_MEMORY_SIZE 2621440
LANGUAGE_COOKIE_DOMAIN None
EMAIL_SSL_CERTFILE None
IGNORABLE_404_URLS ()
MIDDLEWARE_CLASSES ('django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'ADSMSettings.disable.DisableCSRF')
SETTINGS_MODULE 'ADSM.settings'
SESSION_ENGINE 'django.contrib.sessions.backends.db'
SECURE_SSL_REDIRECT False
FILE_CHARSET 'utf-8'
TEMPLATE_DEBUG True
STATICFILES_STORAGE 'django.contrib.staticfiles.storage.StaticFilesStorage'
PRODUCTION_SETTINGS False
SECRET_KEY '****'
SESSION_COOKIE_DOMAIN None
FILE_UPLOAD_HANDLERS ('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler')
CSRF_COOKIE_HTTPONLY False
WORKSPACE_PATH 'C:\Users\MeSchoenbaum\Documents\ADSM Beta Workspace'
SECURE_CONTENT_TYPE_NOSNIFF False
EXPLORER_DEFAULT_CONNECTION 'scenario_db'
DEFAULT_TABLESPACE ''
CSRF_COOKIE_NAME 'csrftoken'
SCRIPT '.cmd'
DEFAULT_INDEX_TABLESPACE ''
DEBUG_TOOLBAR_PATCH_SETTINGS False
EXPLORER_SCHEMA_EXCLUDE_TABLE_PREFIXES ('auth', 'django', 'south_migrationhistory', 'sqlite_master', 'sqlite_sequence')
LOCALE_PATHS ()
TEST_NON_SERIALIZED_APPS []
SESSION_COOKIE_AGE 1209600
SESSION_SAVE_EVERY_REQUEST False
EMAIL_HOST_USER ''
CSRF_COOKIE_PATH '/'
SECURE_SSL_HOST None
OS_DIR 'windows'
CSRF_COOKIE_SECURE False
STATICFILES_FINDERS ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder')
CACHES {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
EMAIL_USE_SSL False
SHORT_DATETIME_FORMAT 'm/d/Y P'
FILE_UPLOAD_DIRECTORY_PERMISSIONS None
EXTENSION '.exe'
APPEND_SLASH True
DEFAULT_EXCEPTION_REPORTER_FILTER 'django.views.debug.SafeExceptionReporterFilter'
CRISPY_TEMPLATE_PACK 'bootstrap'
SESSION_COOKIE_PATH '/'
SESSION_FILE_PATH None
CSIDL_PERSONAL 5
LANGUAGE_COOKIE_PATH '/'
LOGOUT_URL '/accounts/logout/'
WEBPACK_LOADER {'DEFAULT': {'BUNDLE_DIR_NAME': 'bundles/', 'STATS_FILE': 'D:\ADSM_Beta\build\webpack-stats.json'}}
LANGUAGE_CODE 'en-us'
DATE_FORMAT 'N j, Y'
BASE_DIR 'D:\ADSM_Beta\build'
MEDIA_URL '/media/'
USE_I18N False
USE_L10N True
OVERRIDE_DEBUG False
DISALLOWED_USER_AGENTS ()
X_FRAME_OPTIONS 'SAMEORIGIN'
CACHE_MIDDLEWARE_ALIAS 'default'
TEMPLATE_DIRS ()
SESSION_EXPIRE_AT_BROWSER_CLOSE False
SESSION_SERIALIZER 'django.contrib.sessions.serializers.JSONSerializer'
SIGNING_BACKEND 'django.core.signing.TimestampSigner'
FIXTURE_DIRS ()
DEFAULT_CHARSET 'utf-8'
TIME_FORMAT 'P'
EMAIL_HOST 'localhost'
FILE_UPLOAD_PERMISSIONS None
FILE_UPLOAD_TEMP_DIR None
DEBUG_TOOLBAR_CONFIG {'JQUERY_URL': '', 'SHOW_TOOLBAR_CALLBACK': 'ddt_request_history.panels.request_history.allow_ajax'}
TEMPLATE_CONTEXT_PROCESSORS ('django.contrib.auth.context_processors.auth', 'django.template.context_processors.debug', 'django.template.context_processors.i18n', 'django.template.context_processors.media', 'django.template.context_processors.static', 'django.template.context_processors.tz', 'django.contrib.messages.context_processors.messages')
SESSION_COOKIE_SECURE False
LOGGING {}
AUTH_USER_MODEL 'auth.User'
ALLOWED_HOSTS []
USE_TZ True
CACHE_MIDDLEWARE_KEY_PREFIX '****'
USE_X_FORWARDED_HOST False
SECURE_REDIRECT_EXEMPT []
YEAR_MONTH_FORMAT 'F Y'
EXPLORER_CONNECTION_NAME 'scenario_db'
ADMINS ()
DATETIME_FORMAT 'N j, Y, P'
SESSION_COOKIE_NAME 'sessionid'
FORMAT_MODULE_PATH None
ABSOLUTE_URL_OVERRIDES {}
LANGUAGE_COOKIE_NAME 'django_language'
USE_ETAGS False
LOGIN_REDIRECT_URL '/'
INSTALLED_APPS ('ScenarioCreator', 'Results', 'ADSMSettings', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.humanize', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'floppyforms', 'crispy_forms', 'productionserver', 'webpack_loader', 'explorer')
TEMPLATE_STRING_IF_INVALID ''
MEDIA_ROOT 'D:\ADSM_Beta\build\media'

Yellow_disableallcontrols

BryanHurst commented 4 years ago

I think I'm going to have to push a whole new build to tackle this one.

BryanHurst commented 4 years ago

I've released a new from scratch build that will hopefully fix this issue. You can download it here: https://github.com/NAVADMC/ADSM/releases/download/v3.5.10.11-beta/ADSM_v3.5.10.11-beta_windows.zip

missyschoenbaum commented 4 years ago

Works great!