Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New local mode feature throws errors due to missing js directory #55

Closed
kura opened this issue Aug 25, 2022 · 0 comments
Closed

New local mode feature throws errors due to missing js directory #55

kura opened this issue Aug 25, 2022 · 0 comments

Comments

@kura
Copy link
Contributor

kura commented Aug 25, 2022

When enabling the new local mode feature the container fails to start up due to a missing js directory.

[2022-08-25 18:55:04,926] INFO in web_dependencies: Downloading dependency https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js
[2022-08-25 18:55:05,167] INFO in web_dependencies: Writing dependency >>> /app/wikmd/static/js/bootstrap.bundle.min.js
Traceback (most recent call last):
  File "/app/wikmd/wiki.py", line 45, in <module>
    "web_deps": get_web_deps(cfg.local_mode, app.logger)
  File "/app/wikmd/web_dependencies.py", line 74, in get_web_deps
    download_web_deps(logger)
  File "/app/wikmd/web_dependencies.py", line 96, in download_web_deps
    with open(dep_file_path, "wb") as file:
Linbreux added a commit that referenced this issue Aug 25, 2022
Add empty js directory. Fixes #55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant