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

loading the package Bug! #620

Open
ArchiBC opened this issue Dec 16, 2023 · 5 comments
Open

loading the package Bug! #620

ArchiBC opened this issue Dec 16, 2023 · 5 comments
Labels
Area: Interactive The issue is related to the AngouriMath.Interactive package Bug A serious math/runtime error

Comments

@ArchiBC
Copy link

ArchiBC commented Dec 16, 2023

**The version I use **: 1.3.0 &1.4.0-1.4.0-preview.3

Unexpected behaviour or bug:
The following error was encountered while loading the package。

Error: Microsoft.DotNet.Interactive.KernelExtensionLoadException: Failure loading Kernel Extension
---> System.MissingMethodException: Method not found: 'Microsoft.DotNet.Interactive.DisplayedValue Microsoft.DotNet.Interactive.KernelInvocationContextExtensions.Display(Microsoft.DotNet.Interactive.KernelInvocationContext, System.Object, System.String)'.
at AngouriMath.InteractiveExtension.KernelExtension.Microsoft.DotNet.Interactive.IKernelExtension.OnLoadAsync(Kernel _arg1)
at Microsoft.DotNet.Interactive.App.PackageDirectoryExtensionLoader.LoadFromAssemblyFile(FileInfo assemblyFile, Kernel kernel, KernelInvocationContext context) in D:\a_work\1\s\src\dotnet-interactive\PackageDirectoryExtensionLoader.cs:line 124
--- End of inner exception stack trace ---

image

@WhiteBlackGoose
Copy link
Member

.NET Interactive wasn't stable back when that package was released, I don't know the state of things as of right now. It could be that they changed the API (at least as far as I see in the error). One solution would be to install the .NET Interactive of the suitable version or adjust AngouriMath.Interactive's code.

@WhiteBlackGoose WhiteBlackGoose added Bug A serious math/runtime error Area: Interactive The issue is related to the AngouriMath.Interactive package labels Dec 17, 2023
@ArchiBC
Copy link
Author

ArchiBC commented Dec 18, 2023

I tried setting the .net interactive version, but it doesn't seem to work, it still shows the same error.
It's a bit too hard for me to change the code.
image

@WhiteBlackGoose
Copy link
Member

Well, did you set it to the relevant version? Here is where versions are defined. You can probably try 1.0.0-beta.21606.1, but no idea if it'd work

@ArchiBC
Copy link
Author

ArchiBC commented Dec 19, 2023

Nothing is useful after trying. Looks like I need to look into how to update the code.

@ArchiBC
Copy link
Author

ArchiBC commented Dec 21, 2023

I tried updating the dependent version and now it works successfully。I submitted a pull request to the main branch。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Interactive The issue is related to the AngouriMath.Interactive package Bug A serious math/runtime error
Projects
None yet
Development

No branches or pull requests

2 participants