Skip to content
This repository has been archived by the owner on Oct 12, 2020. It is now read-only.

Issues with Python3 #1

Open
gmoisio opened this issue May 23, 2019 · 0 comments
Open

Issues with Python3 #1

gmoisio opened this issue May 23, 2019 · 0 comments

Comments

@gmoisio
Copy link

gmoisio commented May 23, 2019

Hi, using Salt with Python3, it looks that there is issues with junos_syslog.py.
First of all with string.uppercase and string.lowercase that must be replace with string.ascii_uppercase and string.ascii_lowercase.

[CRITICAL] Engine 'junos_syslog' could not be started! Traceback (most recent call last): File "/usr/lib/python3/dist-packages/salt/engines/__init__.py", line 132, in run self.engine[self.fun](**kwargs) File "/usr/lib/python3/dist-packages/salt/engines/junos_syslog.py", line 394, in start reactor.listenUDP(port, _SyslogServerFactory(kwargs)) File "/usr/lib/python3/dist-packages/salt/engines/junos_syslog.py", line 246, in __init__ self.obj = _Parser() File "/usr/lib/python3/dist-packages/salt/engines/junos_syslog.py", line 147, in __init__ month = Word(string.uppercase, string.lowercase, exact=3) AttributeError: module 'string' has no attribute 'uppercase'

In addition, it looks that there is also an error with twisted when receiving message on the event bus.
Thanks

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

No branches or pull requests

1 participant