Closed chlor closed 3 months ago
Is it possible to clear it with an upload of testdata under 'data/gemtex_demo_projects'?
This wasn't supposed to be there, it was a hardcoded value for testing purposes, got fixed in #32 Please input the path to the folder where you keep your exported projects yourself.
Describe the bug I have downloaded the project and have tried to start it. Dashboard is started and localhost opened. In the project settings left, there is 'data/gemtex_demo_projects/'. If you klick 'Generate Reports', ther ist an error like:
`FileNotFoundError: [Errno 2] No such file or directory: 'data/gemtex_demo_projects/' Traceback:
File "/home/chlor/PycharmProjects/inception-reporting-dashboard/venv/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 600, in _run_script exec(code, module.dict) File "/home/chlor/PycharmProjects/inception-reporting-dashboard/venv/lib/python3.11/site-packages/inception_reports/generate_reports_manager.py", line 509, in
main()
File "/home/chlor/PycharmProjects/inception-reporting-dashboard/venv/lib/python3.11/site-packages/inception_reports/generate_reports_manager.py", line 499, in main
select_method_to_import_data()
File "/home/chlor/PycharmProjects/inception-reporting-dashboard/venv/lib/python3.11/site-packages/inception_reports/generate_reports_manager.py", line 236, in select_method_to_import_data
st.session_state["projects"] = read_dir(projects_folder)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/chlor/PycharmProjects/inception-reporting-dashboard/venv/lib/python3.11/site-packages/inception_reports/generate_reports_manager.py", line 143, in read_dir
for file_name in os.listdir(dir_path):
^^^^^^^^^^^^^^^^^^^^`
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Error message If applicable, add the error message to help explain your problem.
Screenshots
Please complete the following information:
Additional context