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

I have this error when i try to start bot with run.bat. I've edited ,env file as instruction says so i don't know where this error comes from #5

Open
Victorious-man opened this issue Aug 7, 2024 · 2 comments

Comments

@Victorious-man
Copy link

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

@Desamod
Copy link
Owner

Desamod commented Aug 19, 2024

Python version?

@AKa0258
Copy link

AKa0258 commented Sep 28, 2024

same error here idk why

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

3 participants