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

[bug][Windows OS] init-server.py http-host-static #58

Open
joetex opened this issue Jan 25, 2025 · 0 comments
Open

[bug][Windows OS] init-server.py http-host-static #58

joetex opened this issue Jan 25, 2025 · 0 comments

Comments

@joetex
Copy link

joetex commented Jan 25, 2025

The file at ./modules/http_host/http_host_lib/shared.py has a single line with ../../tile_gen/tile_gen_lib/shared.py.

This causes an error to occur:

Command failed: sudo -S -p '[sudo] password: ' bash -c "/data/ofm/venv/bin/python -u /data/ofm/http_host/bin/http_host.py sync --force"
Error: Traceback (most recent call last):
 File "/data/ofm/http_host/bin/http_host.py", line 8, in <module>
   from http_host_lib.btrfs import (
 File "/data/ofm/http_host/bin/http_host_lib/btrfs.py", line 6, in <module>
   from http_host_lib.shared import get_versions_for_area
 File "/data/ofm/http_host/bin/http_host_lib/shared.py", line 1
   ../../tile_gen/tile_gen_lib/shared.py
   ^
SyntaxError: invalid syntax

The fix:
Copy shared.py from the modules/tile_gen/tile_gen_lib folder on your local and overwrite shared.py in modules/http_host/http_host_lib.

Other issues:

  • I had to re-run the script several times as it failed on installing stuff. Luckily it installed what failed before on the subsequent run.
@joetex joetex changed the title [bug][Windows OS] init-server.py http-host-static | bug [bug][Windows OS] init-server.py http-host-static Jan 25, 2025
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