Replying to 4427534f...

I changed the relay class in nostr/relay.py to this and the error is gone... policy: RelayPolicy = field(default_factory=RelayPolicy)

Now it seems it's trying to open a relay with no info. I added a debug printout to the plugin's qt.py:

GET EVENTS RELAY: self.saved_relay=0

ADDING RELAY: url=0 self.message_pool= policy=RelayPolicy(should_read=True, should_write=True) ssl_options=None proxy_config=None

URL IS: 0

It causes this error:

File "/.local/lib/python3.12/site-packages/websocket/_url.py", line 40, in parse_url

if ":" not in url:

^^^^^^^^^^^^^^

TypeError: argument of type 'int' is not iterable

Is there some sort of setup I need to do first?

Avatar
/dev/fd0 1y ago

Did you save a nostr relay in the plugin settings?

Reply to this note

Please Login to reply.

Discussion

No replies yet.