FFox 57.0.2. I installed textern.py for one user (make install-native USER=1). In ~/.mozilla/native-messaging-hosts/textern.json everything looks ok. I changed shebang line in ~/.local/libexec/textern/textern.py because my python3.5 is not in the PATH. I tested it by running ~/.local/libexec/textern/textern.py — it works.
I added debugging output to textern.py:
if __name__ == "__main__":
with open('/tmp/textern-debug.log', 'at') as debugfp:
debugfp.write("start\n")
and tried to edit a TEXTAREA — the file was not created. I.e., FFox didn't start textern.py at all. When I ran it manually the log file was created.
FFox 57.0.2. I installed
textern.py
for one user (make install-native USER=1
). In~/.mozilla/native-messaging-hosts/textern.json
everything looks ok. I changed shebang line in~/.local/libexec/textern/textern.py
because mypython3.5
is not in the PATH. I tested it by running~/.local/libexec/textern/textern.py
— it works.I added debugging output to
textern.py
:and tried to edit a TEXTAREA — the file was not created. I.e., FFox didn't start
textern.py
at all. When I ran it manually the log file was created.