jeffdapaz / VisualChatGPTStudio

Add chatGPT functionalities directly on Visual Studio
https://marketplace.visualstudio.com/items?itemName=jefferson-pires.VisualChatGPTStudio
MIT License
186 stars 48 forks source link

安装》使用报错:未能正确加载***包 #56

Closed kwonganding closed 7 months ago

kwonganding commented 7 months ago

Installed For VS 2022

image

image

补充说明

ActivityLog.xml 中的异常信息

SetSite failed for package [VisuallChatGPTStudioPackage]Source: 'VisualChatGPTStudio' Description: 未将对象引用设置到对象的实例。 System.NullReferenceException: 未将对象引用设置到对象的实例。 在 JeffPires.VisualChatGPTStudio.Utils.ChatRepository.GetChats() 位置 C:\TFS_GitHub\jeffdapaz\VisualChatGPTStudio\VisualChatGPTStudioShared\Utils\ChatRepository.cs:行号 93 在 JeffPires.VisualChatGPTStudio.ToolWindows.Turbo.TerminalWindowTurboControl.StartControl(OptionPageGridGeneral options, Package package) 位置 C:\TFS_GitHub\jeffdapaz\VisualChatGPTStudio\VisualChatGPTStudioShared\ToolWindows\Turbo\TerminalWindowTurboControl.xaml.cs:行号 98 在 JeffPires.VisualChatGPTStudio.Commands.TerminalWindowTurboCommand.d12.MoveNext() 位置 C:\TFS_GitHub\jeffdapaz\VisualChatGPTStudio\VisualChatGPTStudioShared\Commands\TerminalWindowTurboCommand.cs:行号 108 --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 JeffPires.VisualChatGPTStudio.Commands.TerminalWindowTurboCommand.d__10.MoveNext() 位置 C:\TFS_GitHub\jeffdapaz\VisualChatGPTStudio\VisualChatGPTStudioShared\Commands\TerminalWindowTurboCommand.cs:行号 78 --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 JeffPires.VisualChatGPTStudio.VisuallChatGPTStudioPackage.d8.MoveNext() 位置 C:\TFS_GitHub\jeffdapaz\VisualChatGPTStudio\VisualChatGPTStudioShared\VisuallChatGPTStudioPackage.cs:行号 64 --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 Microsoft.VisualStudio.Shell.AsyncPackage.<>c__DisplayClass21_0.<b__1>d.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 Microsoft.VisualStudio.Services.VsTask.RethrowException(AggregateException e) 在 Microsoft.VisualStudio.Services.VsTask.InternalGetResult(Boolean ignoreUIThreadCheck)

wang20150419 commented 7 months ago

visual studio 官方 安装,也出现同样的报错。

jeffdapaz commented 7 months ago

@kwonganding , thanks for the feedback!

I will analyse this error and provider a fix as soon as I can.

jeffdapaz commented 7 months ago

@kwonganding and @wang20150419 ,

I already published a new version with fix.

Let me know if the issue was resolved.

kwonganding commented 7 months ago

@jeffdapaz It's been fixed. 👍👍👍

wang20150419 commented 7 months ago

@kwonganding and @wang20150419 ,

I already published a new version with fix.

Let me know if the issue was resolved.

This bug has been fixed and it is now working properly. Thank you!

jeffdapaz commented 7 months ago

Thanks for the feedback!