You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the Source.code.zip file contents are moved to a new directory, the code currently cannot handle directory names with spaces in them. If spaces exist, the following error occurs (in this case, parent directory was named "BETTER Source Code - CERC"):
Traceback (most recent call last):
File "demo.py", line 157, in
main()
File "demo.py", line 151, in main
run_single(bldg_id=18, saving_target=2, cached_weather=False)
File "demo.py", line 104, in run_single
report_building.generate_building_report_beta(report_path)
File "<C:\Users\31335\Desktop\BETTER Source Code - CERC\better\report.py>", line 121, in generate_building_report_beta
with open(report_file, 'w', encoding="utf-8") as report_html:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\31335\Desktop\BETTER_Source_Code_-_CERC/outputs/18
_Beijing_Office_18_report.html'
Renaming directory to "BETTER_Source_Code-CERC" solved the issue. Would be good if code could be modified to accommodate this so other users do not run into same issue.
The text was updated successfully, but these errors were encountered:
If the Source.code.zip file contents are moved to a new directory, the code currently cannot handle directory names with spaces in them. If spaces exist, the following error occurs (in this case, parent directory was named "BETTER Source Code - CERC"):
Traceback (most recent call last):
File "demo.py", line 157, in
main()
File "demo.py", line 151, in main
run_single(bldg_id=18, saving_target=2, cached_weather=False)
File "demo.py", line 104, in run_single
report_building.generate_building_report_beta(report_path)
File "<C:\Users\31335\Desktop\BETTER Source Code - CERC\better\report.py>", line 121, in generate_building_report_beta
with open(report_file, 'w', encoding="utf-8") as report_html:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\31335\Desktop\BETTER_Source_Code_-_CERC/outputs/18
_Beijing_Office_18_report.html'
Renaming directory to "BETTER_Source_Code-CERC" solved the issue. Would be good if code could be modified to accommodate this so other users do not run into same issue.
The text was updated successfully, but these errors were encountered: