You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have installed the redis-server, get it running, installed supervisor and run the supervisord.conf file as well. But when I run c7n-salactus --help, I got a syntax error.
What did you expect to happen?
Well, I expect it to give me a help menu.
Cloud Provider
Amazon Web Services (AWS)
Cloud Custodian version and dependency information
0.9.18
Policy
No response
Relevant log/traceback output
Traceback (most recent call last):
File "/home/ubuntu/custodian/bin/c7n-salactus", line 11, in<module>
load_entry_point('c7n-salactus==0.3.0', 'console_scripts', 'c7n-salactus')()
File "/home/ubuntu/custodian/lib/python3.8/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/ubuntu/custodian/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2852, in load_entry_point
returnep.load()
File "/home/ubuntu/custodian/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2443, in load
returnself.resolve()
File "/home/ubuntu/custodian/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2449, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/ubuntu/custodian/lib/python3.8/site-packages/c7n_salactus/cli.py", line 251
def reset(async=None):
^
SyntaxError: invalid syntax
Extra information or context
No response
The text was updated successfully, but these errors were encountered:
Thanks for the report @haiauth 👍 . I'm seeing the same issue installing 0.3.0 from PyPI. Looks like that's dying because in current versions of Python, async is a keyword. However, it looks like #2608 fixed this issue in salactus back in 2018. Salactus isn't part of the set of typical c7n release packages, but this suggests we need to get a new release published. Given the time since last release, I wouldn't be surprised if we find other issues in the process.
Describe the bug
I have installed the redis-server, get it running, installed supervisor and run the
supervisord.conf
file as well. But when I runc7n-salactus --help
, I got a syntax error.What did you expect to happen?
Well, I expect it to give me a help menu.
Cloud Provider
Amazon Web Services (AWS)
Cloud Custodian version and dependency information
0.9.18
Policy
No response
Relevant log/traceback output
Extra information or context
No response
The text was updated successfully, but these errors were encountered: