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

Error while runing #45

Closed
bittee opened this issue Oct 31, 2024 · 2 comments
Closed

Error while runing #45

bittee opened this issue Oct 31, 2024 · 2 comments

Comments

@bittee
Copy link

bittee commented Oct 31, 2024

Activating virtual environment...
Dependencies already installed, skipping installation.
Skipping .env copying
Starting the bot...
Traceback (most recent call last):
File "/root/MemeFiBot/main.py", line 4, in
from bot.utils.launcher import process
File "/root/MemeFiBot/bot/utils/init.py", line 2, in
from . import launcher
File "/root/MemeFiBot/bot/utils/launcher.py", line 16, in
from bot.core.tapper import run_tapper
File "/root/MemeFiBot/bot/core/tapper.py", line 9, in
from aiocfscrape import CloudflareScraper
File "/root/MemeFiBot/venv/lib/python3.12/site-packages/aiocfscrape/init.py", line 8, in
import js2py
File "/root/MemeFiBot/venv/lib/python3.12/site-packages/js2py/init.py", line 72, in
from .base import PyJsException File "/root/MemeFiBot/venv/lib/python3.12/site-packages/js2py/base.py", line 2965, in
@js
^^
File "/root/MemeFiBot/venv/lib/python3.12/site-packages/js2py/base.py", line 165, in Js
return PyJsFunction(val, FunctionPrototype)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/MemeFiBot/venv/lib/python3.12/site-packages/js2py/base.py", line 1377, in init
cand = fix_js_args(func)
^^^^^^^^^^^^^^^^^
File "/root/MemeFiBot/venv/lib/python3.12/site-packages/js2py/utils/injector.py", line 27, in fix_js_args
code = append_arguments(six.get_function_code(func), ('this', 'arguments'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/MemeFiBot/venv/lib/python3.12/site-packages/js2py/utils/injector.py", line 121, in append_arguments
arg = name_translations[inst.arg]
~~~~~~~~~~~~~~~~~^^^^^^^^^^
KeyError: 3
done
PLEASE EDIT .ENV FILE

@sirbiprod
Copy link
Owner

/python3.12

@bittee
Copy link
Author

bittee commented Oct 31, 2024

thanks

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