Skip to content

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

@Victorious-man

Description

@Victorious-man

(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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions