Skip to content

nostr and python 3.8 #4

@jp-bennett

Description

@jp-bennett

podman start -a owntracks_meshtastic-bridge_1
Traceback (most recent call last):
File "./main.py", line 12, in
from plugins import plugins
File "/code/plugins.py", line 542, in
from nostr.relay_manager import RelayManager
File "/usr/local/lib/python3.8/site-packages/nostr/relay_manager.py", line 8, in
from .relay import Relay, RelayPolicy
File "/usr/local/lib/python3.8/site-packages/nostr/relay.py", line 10, in
class RelayPolicy:
File "/usr/local/lib/python3.8/site-packages/nostr/relay.py", line 15, in RelayPolicy
def to_json_object(self) -> dict[str, bool]:
TypeError: 'type' object is not subscriptable
exit code: 1

Was able to fix this by bumping the python package to 3.9 in the Dockerfile.

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