Love the project and concepts but having a few issues in getting this up and running on windows 11
In window virtual env the executable notebooker-cli is in the script folder so
os .path .join (sys .exec_prefix , "bin" , "notebooker-cli" ),
should be replaced by
os.path.join(sys.exec_prefix, "Scripts", "notebooker-cli")
Babel needs a locale defined
metadata ["time_diff" ] = babel .dates .format_timedelta (datetime .datetime .now () - metadata ["latest_run" ])
should be replaced by
metadata["time_diff"] = babel.dates.format_timedelta(datetime.datetime.now() - metadata["latest_run"], locale = "en")
open statements should include encoding="utf-8")
with open (ipynb_executed_path , "r" ) as f :
with open (ipynb_path , "r" ) as nb_file :
i.e. open(ipynb_path, "r", encoding="utf-8")
this still appears to be an issue with a blank results page output
Results page is empty in Windows 10 #77 (comment)
this returns an empty array
http://127.0.0.1:11828/core/get_all_available_results?limit=100&report_name=sample/plot_random
but this works... it is to do with slashes
http://127.0.0.1:11828/core/get_all_available_results?limit=100&report_name=sample\plot_random
I couldnt work out where best to fix this... any advice.
Love the project and concepts but having a few issues in getting this up and running on windows 11
In window virtual env the executable notebooker-cli is in the script folder so
notebooker/notebooker/execute_notebook.py
Line 522 in d7549c5
should be replaced by
os.path.join(sys.exec_prefix, "Scripts", "notebooker-cli")
Babel needs a locale defined
notebooker/notebooker/utils/results.py
Line 147 in d7549c5
should be replaced by
metadata["time_diff"] = babel.dates.format_timedelta(datetime.datetime.now() - metadata["latest_run"], locale = "en")
open statements should include encoding="utf-8")
notebooker/notebooker/execute_notebook.py
Line 117 in d7549c5
notebooker/notebooker/utils/conversion.py
Line 27 in d7549c5
i.e. open(ipynb_path, "r", encoding="utf-8")
this still appears to be an issue with a blank results page output
Results page is empty in Windows 10 #77 (comment)
this returns an empty array
http://127.0.0.1:11828/core/get_all_available_results?limit=100&report_name=sample/plot_random
but this works... it is to do with slashes
http://127.0.0.1:11828/core/get_all_available_results?limit=100&report_name=sample\plot_random
I couldnt work out where best to fix this... any advice.