Skip to content

python Debugger: Exception has occurred: NameError name 'me_translations' is not defined #330

@LJC8888888888

Description

@LJC8888888888

When importing js2py.

Traceback (most recent call last):
File "C:...\Python312\site-packages\js2py\utils\injector.py", line 121, in append_arguments
arg = name_translations[inst.arg]
~~~~~~~~~~~~~~~~~^^^^^^^^^^
KeyError: 3

Then I use Python Debugger : Exception has occurred: NameError name 'me_translations' is not defined.

Steps to Reproduce:

import js2py

Environment:

Operating System: win11
Python Version: 3.12.4
js2py Version: 0.74 (latest as of the issue date)

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