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

Name error: name "log" is not defined #20

Open
masterrite opened this issue Oct 22, 2024 · 0 comments
Open

Name error: name "log" is not defined #20

masterrite opened this issue Oct 22, 2024 · 0 comments

Comments

@masterrite
Copy link

masterrite commented Oct 22, 2024

I'm trying to convert Simple Mass Downloader, and I get an error:

Changing manifest_version to 3

Changed to chrome.action in manifest.json 

Changed to chrome.action in .js files     

Updating to chrome.scripting.executeScript

Updating to chrome.scripting.executeScript

Adding scripting permission to manifest

Traceback (most recent call last):

  File "C:\Users\Billy\Desktop\extension-manifest-converter-main\emc.py", line 25, in <module>
    main()

  File "C:\Users\Billy\Desktop\extension-manifest-converter-main\emc.py", line 21, in main
    Frontend(args.dict)

  File "C:\Users\Billy\Desktop\extension-manifest-converter-main\src\frontend.py", line 48, in __init__
    worker.work(source)

  File "C:\Users\Billy\Desktop\extension-manifest-converter-main\src\worker.py", line 53, in work
    [modifier.run() for modifier in [

  File "C:\Users\Billy\Desktop\extension-manifest-converter-main\src\worker.py", line 53, in <listcomp>
    [modifier.run() for modifier in [

  File "C:\Users\Billy\Desktop\extension-manifest-converter-main\src\modifiers\Modifier.py", line 25, in run
    self._mv2() if self.wrapper.getManifestVersion() == 2 else self._mv3()

  File "C:\Users\Billy\Desktop\extension-manifest-converter-main\src\modifiers\InsertCssModifier.py", line 33, in _mv3
    log("Changing to chrome.scripting.insertCSS")

NameError: name 'log' is not defined`

Any help is appreciated

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

1 participant