flan: Error on first run
Hi,
I ran make build withour any error. Then i tested make start and got this error :
docker run --name flan_1574936755 -v /tmp/flan/shared:/shared flan_scan
mkdir: can't create directory '/shared/xml_files/2019.11.28-10.25': No such file or directory
/run.sh: line 34: can't open /shared/ips.txt: no such file
Traceback (most recent call last):
File "/output_report.py", line 238, in <module>
main()
File "/output_report.py", line 224, in main
for i, filename in enumerate(os.listdir(dirname)):
FileNotFoundError: [Errno 2] No such file or directory: '/shared/xml_files/2019.11.28-10.25'
sed: /shared/reports/report_2019.11.28-10.25.tex: No such file or directory
sed: /shared/reports/report_2019.11.28-10.25.tex: No such file or directory
sed: /shared/reports/report_2019.11.28-10.25.tex: No such file or directory
sed: /shared/reports/report_2019.11.28-10.25.tex: No such file or directory
About this issue
- Original URL
- State: open
- Created 5 years ago
- Reactions: 1
- Comments: 16 (1 by maintainers)
I’ve found that chmoding with 777 and directories under shared it works, is that the expected behaviour?
Did you use the folder structure provided by ‘shared’-folder in the git to initialize your ‘/tmp/flan/shared’?
If not than that’s the reason because the run logic currently expects that the shared folder has the following content: