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

eror #180

Open
ilhamrobbss opened this issue Sep 19, 2024 · 1 comment
Open

eror #180

ilhamrobbss opened this issue Sep 19, 2024 · 1 comment

Comments

@ilhamrobbss
Copy link

import js2py
File "D:\Airdrop bot\MemeFiBot-main\MemeFiBot-main\venv\Lib\site-packages\js2py_init_.py", line 72, in
from .base import PyJsException
File "D:\Airdrop bot\MemeFiBot-main\MemeFiBot-main\venv\Lib\site-packages\js2py\base.py", line 2965, in
@js
^^
File "D:\Airdrop bot\MemeFiBot-main\MemeFiBot-main\venv\Lib\site-packages\js2py\base.py", line 165, in Js
return PyJsFunction(val, FunctionPrototype)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Airdrop bot\MemeFiBot-main\MemeFiBot-main\venv\Lib\site-packages\js2py\base.py", line 1377, in init
cand = fix_js_args(func)
^^^^^^^^^^^^^^^^^
File "D:\Airdrop bot\MemeFiBot-main\MemeFiBot-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:\Airdrop bot\MemeFiBot-main\MemeFiBot-main\venv\Lib\site-packages\js2py\utils\injector.py", line 121, in append_arguments
arg = name_translations[inst.arg]
~~~~~~~~~~~~~~~~~^^^^^^^^^^
KeyError: 3

@ShiSheng
Copy link

python version

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