Skip to content

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

Open
@joetex

Description

@joetex

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions