Skip to content

Notebooker Windows Issues #174

Description

@beebeed

Love the project and concepts but having a few issues in getting this up and running on windows 11

  1. 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")

  2. 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")

  3. 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")

  4. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions