NAVADMC / ADSM

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

Database is locked running portable installation #986

Closed missyschoenbaum closed 4 years ago

missyschoenbaum commented 4 years ago

We have several database lock tickets (#825, #150). This is different than #825. #150 was too technical for me to understand if same issue. Also, doesn't shut down completely. Leaves CMD open. CloseApp

Steps Open Sample Scenario Save as new name (TestInstall) Validate scenario Run scenario Seems to run very slow, then stopped at iteration 6. App did manage shutdown in a graceful manner. Databaselockday6 Databaselockday6_2

missyschoenbaum commented 4 years ago

I was able to recreate.

BryanHurst commented 4 years ago

I just grabbed a clean install and workspace and tried the steps above with no issues.

Can you ensure that only one copy of ADSM is running and that you don't have any database tools looking at the database?

Also, out of curiosity, are your ADSM Program and ADSM Workspace on the same D: drive?

missyschoenbaum commented 4 years ago

OK, I will check those things. I am running a portable install with a program folder and a Workspace folder. MissyDDrive

missyschoenbaum commented 4 years ago

Don't act yet on this image - I am testing what happens if I have File Explorer open at the same time as the app. I just don't want to lose the message.

Request Method: GET

http://127.0.0.1:63357/setup/Scenario/1/ 1.8.2 OperationalError database is locked D:\ADSM_BETA\ADSM_Beta.exe 3.4.2 ['D:\ADSM_BETA\ADSM_Beta.exe', 'D:\ADSM_BETA', 'D:\ADSM_BETA\ADSM_Beta.zip', 'D:\ADSM_BETA\library.zip', 'D:\ADSM_BETA', 'D:\ADSM_BETA\bin', 'D:\ADSM_BETA\bin\env', 'D:\ADSM_BETA'] Thu, 5 Dec 2019 20:41:22 +0000

SERVER_PROTOCOL 'HTTP/1.0'
HTTP_UPGRADE_INSECURE_REQUESTS '1'
wsgi.input <cherrypy.wsgiserver.wsgiserver3.KnownLengthRFile object at 0x000000000B985C50>
wsgi.url_scheme 'http'
HTTP_X_FORWARDED_FOR '127.0.0.1'
wsgi.version (1, 0)
HTTP_ACCEPT 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3'
SERVER_NAME '127.0.0.1'
wsgi.multithread True
PATH_INFO '/setup/Scenario/1/'
HTTP_HOST '127.0.0.1:63357'
HTTP_REFERER 'http://127.0.0.1:63357/setup/Scenario/1/'
HTTP_CACHE_CONTROL 'max-age=0'
HTTP_X_REAL_IP '127.0.0.1'
REQUEST_METHOD 'GET'
wsgi.multiprocess False
HTTP_USER_AGENT 'Mozilla/5.0 (Windows NT 6.2; Win64; x64) AppleWebKit/537.36 (KHTML, like ' 'Gecko) Chrome/75.0.3770.100 Safari/537.36'
REQUEST_URI '/setup/Scenario/1/'
SCRIPT_NAME ''
HTTP_CONNECTION 'close'
wsgi.errors <_io.TextIOWrapper name='' mode='w' encoding='cp437'>
SERVER_SOFTWARE 'CherryPy/3.6.0 Server'
ACTUAL_SERVER_PROTOCOL 'HTTP/1.1'
HTTP_ACCEPT_ENCODING 'gzip, deflate, br'
QUERY_STRING ''
wsgi.run_once False
SERVER_PORT '63358'
REMOTE_ADDR '127.0.0.1'
HTTP_ACCEPT_LANGUAGE 'en-US,en;q=0.9'
REMOTE_PORT '63460'
missyschoenbaum commented 4 years ago

Don't act on this yet, just capturing message. Steps Closed file explorer that had ADSM Workspace open. Opened app opened sample did save as in new scenario, attempted to delete results and apply changes hit button twice before any response third time, got delete in CMD, but no delete on screen when to copy image, and yellow screen happened testinstall4_yellow

Request Method: GET

http://127.0.0.1:65111/setup/OutputSettings/1/ 1.8.2 OperationalError database is locked D:\ADSM_BETA\ADSM_Beta.exe 3.4.2 ['D:\ADSM_BETA\ADSM_Beta.exe', 'D:\ADSM_BETA', 'D:\ADSM_BETA\ADSM_Beta.zip', 'D:\ADSM_BETA\library.zip', 'D:\ADSM_BETA', 'D:\ADSM_BETA\bin', 'D:\ADSM_BETA\bin\env', 'D:\ADSM_BETA'] Thu, 5 Dec 2019 21:01:49 +0000

wsgi.multiprocess False
wsgi.errors <_io.TextIOWrapper name='' mode='w' encoding='cp437'>
ACTUAL_SERVER_PROTOCOL 'HTTP/1.1'
SERVER_NAME '127.0.0.1'
HTTP_X_FORWARDED_FOR '127.0.0.1'
HTTP_ACCEPT_LANGUAGE 'en-US,en;q=0.9'
wsgi.run_once False
HTTP_X_REAL_IP '127.0.0.1'
HTTP_USER_AGENT 'Mozilla/5.0 (Windows NT 6.2; Win64; x64) AppleWebKit/537.36 (KHTML, like ' 'Gecko) Chrome/75.0.3770.100 Safari/537.36'
REQUEST_URI '/setup/OutputSettings/1/'
HTTP_ACCEPT 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3'
QUERY_STRING ''
SERVER_PORT '65112'
HTTP_HOST '127.0.0.1:65111'
HTTP_CONNECTION 'close'
REMOTE_PORT '50065'
wsgi.version (1, 0)
HTTP_UPGRADE_INSECURE_REQUESTS '1'
wsgi.url_scheme 'http'
SCRIPT_NAME ''
SERVER_PROTOCOL 'HTTP/1.0'
HTTP_CACHE_CONTROL 'max-age=0'
SERVER_SOFTWARE 'CherryPy/3.6.0 Server'
REQUEST_METHOD 'GET'
wsgi.multithread True
HTTP_REFERER 'http://127.0.0.1:65111/setup/OutputSettings/1/'
wsgi.input <cherrypy.wsgiserver.wsgiserver3.KnownLengthRFile object at 0x0000000009F80048>
HTTP_ACCEPT_ENCODING 'gzip, deflate, br'
REMOTE_ADDR '127.0.0.1'
PATH_INFO '/setup/OutputSettings/1/'
missyschoenbaum commented 4 years ago

Theory - Could it be than my read/write on to the flash drive slows things down so much that I am overloading the database? I know this is possible if I hit keys too fast.

Trying again. no action yet.

missyschoenbaum commented 4 years ago

got one scenario to work, going very slowly.

missyschoenbaum commented 4 years ago

Don't act on this, just capturing message closed everything, start from scratch Open sample scenario do file save as to new scenario name. Not hitting buttons, moving very slow to allow app to write all to drive. According to CMD, save as successful "Copying database to testinstall5 Done Copying database to D:/ADSM Workspace\testinstall5\testinstall5.db" yellow screen opens instead of app

Request Method: GET

http://127.0.0.1:51863/setup/Scenario/1/ 1.8.2 OperationalError database is locked D:\ADSM_BETA\ADSM_Beta.exe 3.4.2 ['D:\ADSM_BETA\ADSM_Beta.exe', 'D:\ADSM_BETA', 'D:\ADSM_BETA\ADSM_Beta.zip', 'D:\ADSM_BETA\library.zip', 'D:\ADSM_BETA', 'D:\ADSM_BETA\bin', 'D:\ADSM_BETA\bin\env', 'D:\ADSM_BETA'] Thu, 5 Dec 2019 21:28:48 +0000

REMOTE_PORT '51983'
wsgi.version (1, 0)
HTTP_REFERER 'http://127.0.0.1:51863/setup/Scenario/1/'
wsgi.run_once False
REMOTE_ADDR '127.0.0.1'
HTTP_HOST '127.0.0.1:51863'
SERVER_PORT '51864'
SERVER_PROTOCOL 'HTTP/1.0'
HTTP_CONNECTION 'close'
HTTP_ACCEPT 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3'
wsgi.multiprocess False
HTTP_CACHE_CONTROL 'max-age=0'
SCRIPT_NAME ''
HTTP_ACCEPT_ENCODING 'gzip, deflate, br'
wsgi.errors <_io.TextIOWrapper name='' mode='w' encoding='cp437'>
REQUEST_METHOD 'GET'
HTTP_X_FORWARDED_FOR '127.0.0.1'
ACTUAL_SERVER_PROTOCOL 'HTTP/1.1'
QUERY_STRING ''
SERVER_NAME '127.0.0.1'
wsgi.multithread True
REQUEST_URI '/setup/Scenario/1/'
PATH_INFO '/setup/Scenario/1/'
HTTP_UPGRADE_INSECURE_REQUESTS '1'
wsgi.url_scheme 'http'
HTTP_X_REAL_IP '127.0.0.1'
HTTP_ACCEPT_LANGUAGE 'en-US,en;q=0.9'
wsgi.input <cherrypy.wsgiserver.wsgiserver3.KnownLengthRFile object at 0x000000000B248080>
HTTP_USER_AGENT 'Mozilla/5.0 (Windows NT 6.2; Win64; x64) AppleWebKit/537.36 (KHTML, like ' 'Gecko) Chrome/75.0.3770.100 Safari/537.36'
SERVER_SOFTWARE 'CherryPy/3.6.0 Server'
CSRF_COOKIE_HTTPONLY False
LOCALE_PATHS ()
EXPLORER_SQL_BLACKLIST ('ALTER', 'RENAME', 'DROP', 'TRUNCATE')
DEBUG True
EXPLORER_DEFAULT_CONNECTION 'scenario_db'
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')
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')
OS_DIR 'windows'
PREPEND_WWW False
EMAIL_USE_TLS False
CSRF_COOKIE_AGE 31449600
SECURE_CONTENT_TYPE_NOSNIFF False
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'))
ROOT_URLCONF 'ADSM.urls'
TIME_ZONE 'UTC'
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')
LANGUAGE_CODE 'en-us'
LOGIN_REDIRECT_URL '/'
CSRF_FAILURE_VIEW 'django.views.csrf.csrf_failure'
LANGUAGE_COOKIE_AGE None
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')
IGNORABLE_404_URLS ()
CRISPY_TEMPLATE_PACK 'bootstrap'
FILE_UPLOAD_HANDLERS ('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler')
SESSION_COOKIE_DOMAIN None
SESSION_COOKIE_PATH '/'
BASE_DIR 'D:\ADSM_BETA'
AUTH_USER_MODEL 'auth.User'
FILE_CHARSET 'utf-8'
CACHES {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
LANGUAGES_BIDI ('he', 'ar', 'fa', 'ur')
SECURE_PROXY_SSL_HEADER None
INSTALL_SETTINGS_FILE 'D:\ADSM_BETA\workspace.ini'
DB_BASE_DIR 'D:/ADSM Workspace\settings'
EMAIL_HOST_PASSWORD '****'
EXPLORER_CONNECTIONS {'scenario_db': 'scenario_db'}
DEBUG_TOOLBAR_PANELS []
MONTH_DAY_FORMAT 'F j'
CACHE_MIDDLEWARE_ALIAS 'default'
CSRF_COOKIE_PATH '/'
SESSION_SERIALIZER 'django.contrib.sessions.serializers.JSONSerializer'
MEDIA_ROOT 'D:\ADSM_BETA\media'
DEFAULT_EXCEPTION_REPORTER_FILTER 'django.views.debug.SafeExceptionReporterFilter'
SETTINGS_MODULE 'ADSM.settings'
USE_X_FORWARDED_HOST False
SESSION_FILE_PATH None
OVERRIDE_DEBUG False
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')
DEFAULT_FILE_STORAGE 'django.core.files.storage.FileSystemStorage'
ALLOWED_INCLUDE_ROOTS ()
MEDIA_URL '/media/'
STATICFILES_FINDERS ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder')
SESSION_CACHE_ALIAS 'default'
TEST_NON_SERIALIZED_APPS []
EMAIL_PORT 25
DEFAULT_TABLESPACE ''
FILE_UPLOAD_DIRECTORY_PERMISSIONS None
USE_TZ True
SESSION_SAVE_EVERY_REQUEST False
CSRF_COOKIE_DOMAIN None
DATETIME_FORMAT 'N j, Y, P'
FILE_UPLOAD_MAX_MEMORY_SIZE 2621440
SERVER_EMAIL 'server@development.server'
TEMPLATES [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['D:\ADSM_BETA\ADSM\templates', 'D:\ADSM_BETA\templates\ScenarioCreator', 'D:\ADSM_BETA\templates\Results', 'D:\ADSM_BETA\templates\ADSMSettings', 'D:\ADSM_BETA\templates\django.contrib.admin', 'D:\ADSM_BETA\templates\django.contrib.auth', 'D:\ADSM_BETA\templates\floppyforms', 'D:\ADSM_BETA\templates\crispy_forms', 'D:\ADSM_BETA\templates\explorer', 'D:\ADSM_BETA\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']}}]
SECURE_REDIRECT_EXEMPT []
PRODUCTION_SETTINGS False
SCRIPT '.cmd'
CSRF_COOKIE_NAME 'csrftoken'
SESSION_COOKIE_NAME 'sessionid'
DEFAULT_INDEX_TABLESPACE ''
INTERNAL_IPS ('127.0.0.1', '::1')
EMAIL_SSL_KEYFILE '****'
EMAIL_BACKEND 'django.core.mail.backends.console.EmailBackend'
NUMBER_GROUPING 0
CACHE_MIDDLEWARE_KEY_PREFIX '****'
WSGI_APPLICATION 'ADSM.wsgi.application'
X_FRAME_OPTIONS 'SAMEORIGIN'
LANGUAGE_COOKIE_DOMAIN None
STATIC_URL '/static/'
EMAIL_HOST 'localhost'
FIRST_DAY_OF_WEEK 0
EMAIL_SSL_CERTFILE None
USE_THOUSAND_SEPARATOR False
STATIC_ROOT 'D:\ADSM_BETA\static'
CACHE_MIDDLEWARE_SECONDS 600
AUTHENTICATION_BACKENDS ('django.contrib.auth.backends.ModelBackend',)
SESSION_EXPIRE_AT_BROWSER_CLOSE False
SECURE_SSL_REDIRECT False
TEMPLATE_DEBUG True
STATICFILES_DIRS ('D:\ADSM_BETA\ADSM\static',)
FILE_UPLOAD_TEMP_DIR None
MESSAGE_STORAGE 'django.contrib.messages.storage.fallback.FallbackStorage'
FILE_UPLOAD_PERMISSIONS None
FORMAT_MODULE_PATH None
USE_I18N False
STATICFILES_STORAGE 'django.contrib.staticfiles.storage.StaticFilesStorage'
ABSOLUTE_URL_OVERRIDES {}
ADMINS ()
SHORT_DATE_FORMAT 'm/d/Y'
SECRET_KEY '****'
SESSION_COOKIE_HTTPONLY True
DEBUG_PROPAGATE_EXCEPTIONS False
DISALLOWED_USER_AGENTS ()
TEMPLATE_LOADERS ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader')
WORKSPACE_PATH 'D:/ADSM Workspace'
MIGRATION_MODULES {}
TIME_INPUT_FORMATS ('%H:%M:%S', '%H:%M:%S.%f', '%H:%M')
LANGUAGE_COOKIE_NAME 'django_language'
THOUSAND_SEPARATOR ','
DECIMAL_SEPARATOR '.'
APPEND_SLASH True
CSRF_COOKIE_SECURE False
DEFAULT_FROM_EMAIL 'noreply@development.server'
SESSION_COOKIE_AGE 1209600
FORCE_SCRIPT_NAME None
EXPLORER_CONNECTION_NAME 'scenario_db'
EMAIL_HOST_USER ''
USE_ETAGS False
WEBPACK_LOADER {'DEFAULT': {'BUNDLE_DIR_NAME': 'bundles/', 'STATS_FILE': 'D:\ADSM_BETA\webpack-stats.json'}}
SESSION_COOKIE_SECURE False
TEMPLATE_DIRS ()
LOGGING_CONFIG 'logging.config.dictConfig'
DATABASES {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.sqlite3', 'HOST': '', 'NAME': 'D:/ADSM Workspace\settings\settings.db', 'OPTIONS': {}, 'PASSWORD': '****', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': 'D:/ADSM ' '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': 'D:/ADSM Workspace\settings\activeSession.db', 'OPTIONS': {'timeout': 300}, 'PASSWORD': '****', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': 'D:/ADSM ' 'Workspace\settings\test_activeSession.db'}, 'TIME_ZONE': 'UTC', 'USER': ''}}
EMAIL_TIMEOUT None
YEAR_MONTH_FORMAT 'F Y'
TEMPLATE_STRING_IF_INVALID ''
LANGUAGE_COOKIE_PATH '/'
DATABASE_ROUTERS ['ScenarioCreator.router.ScenarioRouter']
EMAIL_USE_SSL False
SECURE_BROWSER_XSS_FILTER False
USE_L10N True
DEBUG_TOOLBAR_CONFIG {'JQUERY_URL': '', 'SHOW_TOOLBAR_CALLBACK': 'ddt_request_history.panels.request_history.allow_ajax'}
EXTENSION '.exe'
MANAGERS ()
EXPLORER_SCHEMA_EXCLUDE_TABLE_PREFIXES ('auth', 'django', 'south_migrationhistory', 'sqlite_master', 'sqlite_sequence')
PASSWORD_HASHERS '****'
SHORT_DATETIME_FORMAT 'm/d/Y P'
SESSION_ENGINE 'django.contrib.sessions.backends.db'
LOGOUT_URL '/accounts/logout/'
SILENCED_SYSTEM_CHECKS []
EMAIL_SUBJECT_PREFIX '[Django] '
SIGNING_BACKEND 'django.core.signing.TimestampSigner'
TIME_FORMAT 'P'
DEFAULT_CONTENT_TYPE 'text/html'
SECURE_HSTS_INCLUDE_SUBDOMAINS False
DEFAULT_CHARSET 'utf-8'
ALLOWED_HOSTS []
LOGIN_URL '/accounts/login/'
TEST_RUNNER 'django.test.runner.DiscoverRunner'
LOGGING {}
DATE_FORMAT 'N j, Y'
SECURE_HSTS_SECONDS 0
SECURE_SSL_HOST None
FIXTURE_DIRS ()
DEBUG_TOOLBAR_PATCH_SETTINGS False
PASSWORD_RESET_TIMEOUT_DAYS '****'
missyschoenbaum commented 4 years ago

Since I am having a cascade of problem, I am going to give this a break today and review again tomorrow.

missyschoenbaum commented 4 years ago

Next day...I have deleted the version I had, and reinstalled it. I rebooted my PC to ensure I don't have any unknown connections. I have not touched things to make sure they are finished installing, copying etc. I closed all file explorer windows. I had to run npu to make sure it included latest update. I made a shortcut on my desktop so I can close the folder, but I must have fail to. Open app switch to Sample Scenario Save as to new name (testinstall_12-6-1st validate and run 3 iterations completed out of 10 expected CMD_afterinstall_1st Going to try making sure window is closed.

missyschoenbaum commented 4 years ago

Round 2 - I made a shortcut on my desktop so I can close the folder, but I must have fail to. Open app making sure file explorer is closed switch to Sample Scenario Save as to new name (testinstall_12-6-2nd) changed run count to 9 to delete resutls and apply) hit apply, did not take, sent me back to 10 iterations, changed again and hit apply worked 2nd time validate (ensure that C Engine Exit Code 0 has returned) and run failed at IT 7 CMD_afterinstall_2nd I notice that I see all 4 running exe here and don't recall that from before. Also, every move is slow, but could be expected when running from portal drive. 4_exe_running_looks_different

missyschoenbaum commented 4 years ago

@BryanHurst previous comments include my steps. Any other suggestions of what I could have done wrong? ADSM Workspace does create in the correct place, after I install and run npu.

BryanHurst commented 4 years ago

I'm able to replicate these issues when I run an old USB 2.0 drive. I do not have the issue when I run in a new USB 3.0 drive.

This leads me to believe that the problem is read and write speed performance on the portable drive that you're using.

It might work on a faster USB 2.0 drive, but 3.0 is going to be the safest route. This wouldn't be an easy fix if we wanted to pursue. The best thing would be to put a known bug and suggest using USB 3.0 devices if keeping the installation on portable media. As a workaround, you can copy the installation to your desktop before running.

On Fri, Dec 6, 2019, 11:22 AM Missy Schoenbaum notifications@github.com wrote:

@BryanHurst https://github.com/BryanHurst previous comments include my steps. Any other suggestions of what I could have done wrong? ADSM Workspace does create in the correct place, after I install and run npu.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/NAVADMC/ADSM/issues/986?email_source=notifications&email_token=AAJAWBLVVIUDJHNBZYJ5WBLQXKJ6ZA5CNFSM4JV6KH32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGE6AZA#issuecomment-562684004, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJAWBPNRONLGC6SQGIHYCLQXKJ6ZANCNFSM4JV6KH3Q .

missyschoenbaum commented 4 years ago

I'm using a USB 3.0. I suspect you are correct that it is a speed of writing issue. I wonder why it wasn't a problem the first few times I tested it. I was going to try putting either app or Workspace local and try that.

missyschoenbaum commented 4 years ago

Missy testing app on desktop, ADSM Workspace on portal. Will see how this works.

missyschoenbaum commented 4 years ago

I had to run npu to make sure it included latest update. Open app switch to Sample Scenario Save as to new name (testinstall_12-10-2019 validate and run first round worked like a charm. Round 2 switch to Sample Scenario Save as to new name (testinstall_12-10-2019_round2 validate and run second round worked like a charm.

missyschoenbaum commented 4 years ago

Missy, run through this again to make sure all is well and known bug is written.