tailon icon indicating copy to clipboard operation
tailon copied to clipboard

Not compatible with Python 3.10

Open titus-kruse opened this issue 2 years ago • 2 comments

Just installed Python 3 on Ubuntu Linux 22. Installed Tailon with pip and tried to tail syslog:

$ pip install tailon

$ tailon -f /var/log/syslog Traceback (most recent call last): File "/usr/local/bin/tailon", line 5, in from tailon.main import main File "/usr/local/lib/python3.10/dist-packages/tailon/main.py", line 16, in from tornado import ioloop, httpserver File "/usr/local/lib/python3.10/dist-packages/tornado/httpserver.py", line 34, in from tornado.http1connection import HTTP1ServerConnection, HTTP1ConnectionParameters File "/usr/local/lib/python3.10/dist-packages/tornado/http1connection.py", line 29, in from tornado import httputil File "/usr/local/lib/python3.10/dist-packages/tornado/httputil.py", line 106, in class HTTPHeaders(collections.MutableMapping): AttributeError: module 'collections' has no attribute 'MutableMapping'

Any idea to work around this issue?

titus-kruse avatar Aug 11 '23 11:08 titus-kruse

Hi Titus, If you haven't resolved it, you should be able to enable the following to get the missing attribute. https://docs.python.org/3.10/library/collections.abc.html#collections.abc.MutableMapping

Hope this helps.

FxProgrm avatar Nov 30 '23 19:11 FxProgrm