Chocolatey GUI v1.1.2 crashes on launch with Chocolatey GUI Licensed Extension installed #338
Closed
4 tasks done
Labels
5 - Released
The area addressed in the ticket has been released in the product and is generally available.
Bug
Tickets that represent defects/bugs.
ChocolateyGuiExtension
Tickets affecting the Chocolatey GUI Licensed Extension (chocolateygui.extension)
Priority_HIGH
Represents high priority tickets - things that must be addressed soon.
Checklist
What You Are Seeing?
The current version of chocolateygui.extension ( v1.0.1 ) does not appear to be compatible with the recently released version of chocolatey gui ( v1.1.2). When trying to launch the application crashes with a message stating that it can't load the assembly for litedb v5.0.5. According to chocolatey/ChocolateyGUI#985 this assembly was updated to 5.0.15 in chocolatey gui v.1.1.2. Either uninstalling chocolateygui.extension or downgrading chocolatey gui to v.1.1.1 will allow the application to launch.
The error message is as follows:
Failed to start application.\nAn error occurred during the activation of a particular registration. See the inner exception for details.
Registration: Activator = ChocolateyService (ReflectionActivator),
Services = [ChocolateyGui.Common.Services.IChocolateyService],
Lifetime = Autofac.Core.Lifetime. RootScopeLifetime, Sharing = Shared,
Ownership = OwnedByLifetimeScope ---> Could not load file or
assembly 'LiteDB, Version=5.0.5.0, Culture=neutral, PublicKeyToken=4ee40123013c927' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) (See inner exception for details.)n\nMore details available in application logs.
What is Expected?
chocolatey gui launches, and has all business features enabled.
How Did You Get This To Happen?
Chocolatey v1.3.0 Business
Installing the following packages:
chocolateygui
By installing, you accept licenses for the packages.
Progress: Downloading ChocolateyGUI 1.1.1... 100%
ChocolateyGUI v1.1.1 [Approved]
chocolateygui package files install completed. Performing other installation steps.
Installing ChocolateyGUI.msi...
ChocolateyGUI.msi has been installed.
Added C:\ProgramData\chocolatey\bin\chocolateygui.exe shim pointed to 'c:\program files (x86)\chocolatey gui\chocolateygui.exe'.
Added C:\ProgramData\chocolatey\bin\chocolateyguicli.exe shim pointed to 'c:\program files (x86)\chocolatey gui\chocolateyguicli.exe'.
chocolateygui may be able to be automatically uninstalled.
The install of chocolateygui was successful.
Software install location not explicitly set, it could be in package or
default install location of installer.
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
[Application runs as expected. Chocolatey Gui v1.1.1.0 is diplayed in the bottom left corner of the window.]
Chocolatey v1.3.0 Business
Installing the following packages:
chocolateygui.extension
By installing, you accept licenses for the packages.
Progress: Downloading chocolateygui.extension 1.0.1... 100%
chocolateygui.extension v1.0.1
chocolateygui.extension package files install completed. Performing other installation steps.
Installed/updated chocolateygui extensions.
Directory 'C:\ProgramData\chocolatey\lib\chocolateygui.extension\tools' does not exist.
Directory 'C:\ProgramData\chocolatey\lib\chocolateygui.extension\tools' does not exist.
The install of chocolateygui.extension was successful.
Software installed to 'C:\ProgramData\chocolatey\extensions\chocolateygui'
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
[Application runs as expected. Chocolatey GUI v1.1.1.0 Business is displayed in bottom left of the window.]
3. choco install chocolateygui --version 1.1.2
Chocolatey v1.3.0 Business
Installing the following packages:
chocolateygui
By installing, you accept licenses for the packages.
Progress: Downloading ChocolateyGUI 1.1.2... 100%
ChocolateyGUI v1.1.2 [Approved]
chocolateygui package files install completed. Performing other installation steps.
Installing ChocolateyGUI.msi...
ChocolateyGUI.msi has been installed.
Added C:\ProgramData\chocolatey\bin\chocolateygui.exe shim pointed to 'c:\program files (x86)\chocolatey gui\chocolateygui.exe'.
Added C:\ProgramData\chocolatey\bin\chocolateyguicli.exe shim pointed to 'c:\program files (x86)\chocolatey gui\chocolateyguicli.exe'.
chocolateygui may be able to be automatically uninstalled.
The install of chocolateygui was successful.
Software install location not explicitly set, it could be in package or
default install location of installer.
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
[Application crashes on launch.]
4. choco uninstall chocolateygui.extension
Chocolatey v1.3.0 Business
Uninstalling the following packages:
chocolateygui.extension
chocolateygui.extension v1.0.1
Skipping auto uninstaller - No registry snapshot.
Uninstalled chocolateygui extensions.
chocolateygui.extension has been successfully uninstalled.
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
[Application runs as expected. Chocolatey Gui v1.1.2.0 shown in bottom left of the window.]
System Details
Installed Packages
Output Log
Additional Context
No response
┆Issue is synchronized with this Gitlab issue by Unito
┆Milestone: 1.0.2
The text was updated successfully, but these errors were encountered: