NAVADMC / ADSM

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

Function Import feedback #1016

Closed missyschoenbaum closed 4 years ago

missyschoenbaum commented 4 years ago

This is major wish list at the point.

Can the Function import stamp into CMD when it starts and ends?

ConradSelig commented 4 years ago

I believe I wrote the function import and export code, so I'll take this one. @missyschoenbaum would you like exports to do the same?

ConradSelig commented 4 years ago

If Missy doesn't want exporter outputs then move to testing.

missyschoenbaum commented 4 years ago

@ConradSelig Exports would be nice also if you have time

missyschoenbaum commented 4 years ago

Export worked fine. On import I am getting fail to convert

Request Method: GET

http://127.0.0.1:63213/setup/ImportFunctions/rel 1.8.2 ValueError could not convert string to float: '¿0.0¿' C:\Users\MeSchoenbaum\Desktop\ADSM_9_16\ADSM_Beta.exe 3.4.2 ['C:\Users\MeSchoenbaum\Desktop\ADSM_9_16\ADSM_Beta.exe', 'C:\Users\MeSchoenbaum\Desktop\ADSM_9_16', 'C:\Users\MeSchoenbaum\Desktop\ADSM_9_16\ADSM_Beta.zip', 'C:\Users\MeSchoenbaum\Desktop\ADSM_9_16\library.zip', 'C:\Users\MeSchoenbaum\Desktop\ADSM_9_16', 'C:\Users\MeSchoenbaum\Desktop\ADSM_9_16\bin', 'C:\Users\MeSchoenbaum\Desktop\ADSM_9_16\bin\env', 'C:\Users\MeSchoenbaum\Desktop\ADSM_9_16'] Wed, 5 Aug 2020 18:59:28 +0000

Variable Value
QUERY_STRING ''
SERVER_PROTOCOL 'HTTP/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'
wsgi.errors <_io.TextIOWrapper name='' mode='w' encoding='cp437'>
HTTP_X_REAL_IP '127.0.0.1'
HTTP_CONNECTION 'close'
HTTP_REFERER 'http://127.0.0.1:63213/LoadingScreen/?loading_url=/setup/ImportFunctions/rel'
wsgi.multithread True
HTTP_ACCEPT_LANGUAGE 'en-US,en;q=0.9'
REQUEST_METHOD 'GET'
HTTP_HOST '127.0.0.1:63213'
REMOTE_PORT '49952'
HTTP_UPGRADE_INSECURE_REQUESTS '1'
SERVER_PORT '63214'
wsgi.input <cherrypy.wsgiserver.wsgiserver3.KnownLengthRFile object at 0x0000000015AE1160>
SERVER_SOFTWARE 'CherryPy/3.6.0 Server'
REMOTE_ADDR '127.0.0.1'
wsgi.version (1, 0)
SERVER_NAME '127.0.0.1'
wsgi.multiprocess False
SCRIPT_NAME ''
PATH_INFO '/setup/ImportFunctions/rel'
wsgi.run_once 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'
ACTUAL_SERVER_PROTOCOL 'HTTP/1.1'
HTTP_ACCEPT_ENCODING 'gzip, deflate, br'
wsgi.url_scheme 'http'
HTTP_X_FORWARDED_FOR '127.0.0.1'
REQUEST_URI '/setup/ImportFunctions/rel'
missyschoenbaum commented 4 years ago

As far at the messages go, they worked. PDF's throw error as well.

missyschoenbaum commented 4 years ago

Forgot to check export file. It looks fine on both PDF and REL. Export_PDF_no_issues

BryanHurst commented 4 years ago

@missyschoenbaum it looks like we may have an incompatible issue between some exports using code from earlier in the beta to the most recent code.

Try testing only importing files that were recently (in the last two weeks) exported.
Since the export code in question hasn't hit the Production release, I'm not too concerned about this breaking change.

missyschoenbaum commented 4 years ago

OK, I must have been in the wrong universe. Works in Beta on fresh export