-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
SyntaxError: invalid syntax #121
Comments
When I reset to commit b126142, it works. What's wrong with the newest version? |
same problem with new code. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've deployed by docker, and had error below:
srcbot | starting Bot ~@DroneBots
srcbot | Traceback (most recent call last):
srcbot | File "/usr/local/lib/python3.9/runpy.py", line 197, in _run_module_as_main
srcbot | return _run_code(code, main_globals, None,
srcbot | File "/usr/local/lib/python3.9/runpy.py", line 87, in _run_code
srcbot | exec(code, run_globals)
srcbot | File "/app/main/main.py", line 16, in
srcbot | load_plugins(plugin_name.replace(".py", ""))
srcbot | File "/app/main/utils.py", line 12, in load_plugins
srcbot | spec.loader.exec_module(load)
srcbot | File "", line 786, in exec_module
srcbot | File "", line 923, in get_code
srcbot | File "", line 853, in source_to_code
srcbot | File "", line 228, in _call_with_frames_removed
srcbot | File "main/plugins/pyroplug.py", line 209
srcbot | await client.copy_message(sender, chat, msg_id)
srcbot | ^
srcbot | SyntaxError: invalid syntax
srcbot exited with code 1
What's going on here?
The text was updated successfully, but these errors were encountered: