Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not compatible with Python 3.10 #62

Open
titus-kruse opened this issue Aug 11, 2023 · 1 comment
Open

Not compatible with Python 3.10 #62

titus-kruse opened this issue Aug 11, 2023 · 1 comment

Comments

@titus-kruse
Copy link

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?

@FxProgrm
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants