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

Autocomplete failed after installing plugin #1045

Closed
CodeWithEmad opened this issue Apr 20, 2024 · 1 comment
Closed

Autocomplete failed after installing plugin #1045

CodeWithEmad opened this issue Apr 20, 2024 · 1 comment

Comments

@CodeWithEmad
Copy link
Member

I followed here to write a simple plugin to modify the repository of "authn" in tutor-mfe.

import os

from tutor import hooks
from tutormfe.hooks import MFE_APPS


@MFE_APPS.add()
def _add_edspirit_mfes(mfes):

    mfes.update(
        {
            "authn": {
                "repository": "https://github.com/edspirit/frontend-app-authn.git",
                "port": 1999,
            },
        }
    )
    return mfes

after enabling the plugin, autocomplete will fail:

# here, I pressed tab after tutor plu
tutor pluError applying action: func=<function discover_module.<locals>.load at 0x70777fa22f80> contexts=['plugins']'
gins enable my-mfe

Disabling the plugin will fix the issue.

tutor version 17.0.4
Ubuntu 22.04

@CodeWithEmad
Copy link
Member Author

CodeWithEmad commented Apr 22, 2024

I'll close this since we couldn't reproduce it on Kyle`s machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Won't fix
Development

No branches or pull requests

1 participant