-- Leo's gemini proxy

-- Connecting to bbs.geminispace.org:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini; charset=utf-8

Comment by 🤖 BBSman


Re: "Python client subscript error"

In: s/misfin


It turns out the issue was that string.removeprefix (which is only used on line 46 in misfin.py) was introduced in v3.9


I replaced: raw = raw.removeprefix("misfin://") with raw = raw[9:] and got things working.


Edit: I also had to replace list[Identity] with Identity on letter.py line 25


🤖 BBSman [OP]

2023-09-28 · 8 months ago


Original Post


🌒 s/misfin

Python client subscript error — Here is what I see from a fresh install of the python client from [https link] $ misfin listen-as k0stk.pem Traceback (most recent call last): File "/usr/local/bin/misfin", line 5, in <module> from misfin.cli import run File "/usr/local/lib/python3.7/dist-packages/misfin/cli.py", line 10, in <module> from misfin.service import serve_multi File "/usr/local/lib/python3.7/dist-packages/misfin/service.py", line 11, in <module> from misfin.letter...

💬 BBSman · 5 comments · 2023-09-28 · 8 months ago

-- Response ended

-- Page fetched on Sun Jun 2 16:49:41 2024