Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Error - Troubles with start #70

Open
azariallev opened this issue Jun 7, 2024 · 6 comments
Open

Error - Troubles with start #70

azariallev opened this issue Jun 7, 2024 · 6 comments

Comments

@azariallev
Copy link

Activating virtual environment...
Starting the bot...
Traceback (most recent call last):
File "d:\TGScripts\TapSwapBot-main\main.py", line 4, in
from bot.utils.launcher import process
File "d:\TGScripts\TapSwapBot-main\bot\utils_init_.py", line 2, in
from . import launcher
File "d:\TGScripts\TapSwapBot-main\bot\utils\launcher.py", line 12, in
from bot.core.tapper import run_tapper
File "d:\TGScripts\TapSwapBot-main\bot\core\tapper.py", line 7, in
from aiocfscrape import CloudflareScraper
File "d:\TGScripts\TapSwapBot-main\venv\Lib\site-packages\aiocfscrape_init_.py", line 8, in
import js2py
File "d:\TGScripts\TapSwapBot-main\venv\Lib\site-packages\js2py_init_.py", line 72, in
from .base import PyJsException
File "d:\TGScripts\TapSwapBot-main\venv\Lib\site-packages\js2py\base.py", line 2965, in
@js
^^
File "d:\TGScripts\TapSwapBot-main\venv\Lib\site-packages\js2py\base.py", line 165, in Js
return PyJsFunction(val, FunctionPrototype)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "d:\TGScripts\TapSwapBot-main\venv\Lib\site-packages\js2py\base.py", line 1377, in init
cand = fix_js_args(func)
^^^^^^^^^^^^^^^^^
File "d:\TGScripts\TapSwapBot-main\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:\TGScripts\TapSwapBot-main\venv\Lib\site-packages\js2py\utils\injector.py", line 121, in append_arguments
arg = name_translations[inst.arg]
~~~~~~~~~~~~~~~~~^^^^^^^^^^
KeyError: 3
Для продолжения нажмите любую клавишу . . .

@azariallev
Copy link
Author

Несколько раз переустанавливал, удалял, запускал - уткнулся в ошибку, никак разобраться не могу

@borcrypto
Copy link

Same issue

@stebashaDM
Copy link

same issue

@Savata-Rayma
Copy link

js2py is not supported in Python 3.12, I recommend installing Python 3.11.9.

@azariallev
Copy link
Author

On board 3.12.4 ...

js2py is not supported in Python 3.12, I recommend installing Python 3.11.9.

@azariallev
Copy link
Author

oy, I understand

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants