Wireless-Innovation-Forum / Citizens-Broadband-Radio-Service-Device

Apache License 2.0
32 stars 19 forks source link

<Branch: bug-fixes-2018-February> Not able to proceed to start server as it is not able to read csv file #112

Closed pawan25062 closed 6 years ago

pawan25062 commented 6 years ago

hi,

We are not able to proceed to start server as it is not able to read csv file. Following error is observed while starting server:

2018-02-27T09:36:25.595Z - INFO - Please enter a csv file path that include the test you request to run (pay attention insert the csv file without the csv suffix) , type quit and press ctrl+c to close 2018-02-27T09:38:01.058Z - INFO - the file C:\testFiles\WINNF.FT.C.REG.3 or the jsons file inside the csv rows not found 2018-02-27T09:38:01.059Z - INFO - Please enter a csv file path that include the test you request to run (pay attention insert the csv file without the csv suffix) , type quit and press ctrl+c to close 2018-02-27T09:40:42.026Z - INFO - the file C:\testFiles\WINNF.FT.C.REG.8 or the jsons file inside the csv rows not found 2018-02-27T09:40:42.028Z - INFO - Please enter a csv file path that include the test you request to run (pay attention insert the csv file without the csv suffix) , type quit and press ctrl+c to close

Could you please check this issue?

cwilliams-ericsson commented 6 years ago

Hi Pawan,

From your log, I notice:

2018-02-27T09:38:01.058Z - INFO - the file C:\testFiles\WINNF.FT.C.REG.3 or the jsons file inside the csv rows not found

It is looking for the test file in "C:\testFiles directory". I think this means that your conf.xml file is not correct. Since the os-independent changes, there should be no "/" leading the file paths in that file. If there is, the program will assume the directory is in the root directory (i.e. C:). So, please have a look at your conf.xml file and ensure it has this format:

jsonExpectedFolder testFiles 127.0.0.1 5000 30 certificates/flaskcert1.pem certificates/flaskcbsdiot.key certificates/cacertidan1.pem certificates/cpi_ca.crt

Please let me know if I am wrong and you still have the problem. Otherwise, I am able to run the scripts so there must be some other setup issue.

cwilliams-ericsson commented 6 years ago

sorry, some GitHub formatting issues. Here is the example file I meant to include...

conf.zip

pawan25062 commented 6 years ago

issue resolved after updating conf file