I had to make some changes to the directories in yate.py (add ../) module to get it going. I seem to be having trouble reading from the data folder in the generate_list.py code.
import glob #These two lines provide error information on the web screen import cgitb cgitb.enable() data_files = glob.glob("../data/*.txt") athletes = athletemodel.put_to_store(data_files) print(yate.start_response()) print(yate.include_header("Coach Kelly's List of Athletes")) print(yate.start_form("generate_timing_data.py")) print(yate.para(str(data_files))) print(yate.para("Select an athlete from the list to work with:"))
I inserted the printing of data_files and as shown on the web it seems to be empty.
Is there something else here that needs to be changed.