Error When Opening Chocolatey

Support and questions for using and managing Chocolatey NuGet inside of Labtech
kkevgreen
Posts: 14
Joined: Fri Aug 03, 2018 10:10 am
5

Re: Error When Opening Chocolatey

Post by kkevgreen »

I have now created the tables, but I still receive the original error at the top of this thread.
Is there a way for me to completely remove Chocolatey, and start again from scratch?
Thanks

User avatar
Cubert
Posts: 2453
Joined: Tue Dec 29, 2015 7:57 pm
8
Contact:

Re: Error When Opening Chocolatey

Post by Cubert »

The Chocolatey plugin is a selection of SQL tables, a Script and a Plugin DLL that is loaded into the LT console. Removing all 3 items removes the plugin.

Now if you ignore error and continue does the plugin open up?

If so can you add or change any of the settings? If Yes, then after making all the standard setting changes, if you close and reopen plugin does error return after data is present?

If error still exists, did data save after reopen or is there any missing data anywhere that you had placed there before?

If so send us screenshots of that location in the plugin so we can better understand where your issue is popping up.

kkevgreen
Posts: 14
Joined: Fri Aug 03, 2018 10:10 am
5

Re: Error When Opening Chocolatey

Post by kkevgreen »

The plugin opens up after I click OK on the error, and I can add packages, but once I have added a package, it does not appear in the package list, and nothing that I change within the plugin saves. The error also pops up regularly after I have made any changes.

User avatar
Cubert
Posts: 2453
Joined: Tue Dec 29, 2015 7:57 pm
8
Contact:

Re: Error When Opening Chocolatey

Post by Cubert »

Have a peek at this log on your local workstation, Sort by time stamp to get the very latest log.
Capture.PNG
Capture.PNG (11.4 KiB) Viewed 14281 times

Post that back here, should have SQL errors in it from plugin.

kkevgreen
Posts: 14
Joined: Fri Aug 03, 2018 10:10 am
5

Re: Error When Opening Chocolatey

Post by kkevgreen »

This is the log file from today:
LTClient-Control Center Started v120.404 14/08/2018 08:09:51:::
LTClient-Current LTClient Version: 120.404. Server's desired version: 120.404. v120.404 14/08/2018 08:10:01:::
LTClient-Unable to add command #9876 from LabTech Virtual Monitor SvcCommand. Id already taken. v120.404 14/08/2018 08:10:27:::
LTClient-Unable to add command #1033 from Hyper-V Plugin. Id already taken. v120.404 14/08/2018 08:10:27:::
LTClient-Unable to add command #3240 from ScreenConnect Remote Plugin ISvcCommand. Id already taken. v120.404 14/08/2018 08:10:27:::
LTClient-Unable to add command #160 from Symantec Backup Exec. Id already taken. v120.404 14/08/2018 08:10:27:::
LTClient-Unable to add command #1024 from Active Directory Command v1.6.11003.1. Id already taken. v120.404 14/08/2018 08:10:27:::
LTClient-Unable to add command #3538 from ESET Installation. Id already taken. v120.404 14/08/2018 08:10:27:::
LTClient-Unable to add command #99123321 from APC SmartConnect - Associate Devices Command. Id already taken. v120.404 14/08/2018 08:10:27:::
LTClient-Unable to add command #86224 from Exchange Monitor PluginCommand. Id already taken. v120.404 14/08/2018 08:10:27:::
LTClient-Finished Loading Plugins v120.404 14/08/2018 08:10:27:::
LTClient-ConnectWise Control Plugin: Info: Tabs Initialized v120.404 14/08/2018 08:10:27:::
LTClient-Backup Manager Plugin - Finding Backup Solution names... v120.404 14/08/2018 08:10:29:::
LTClient-Backup Manager Plugin - Initiazlized... v120.404 14/08/2018 08:10:29:::
LTClient-Init Tunnel Handlers v120.404 14/08/2018 08:10:30:::
LTClient-Tunnel Version:Windows x86 1.1.3 v120.404 14/08/2018 08:10:31:::
LTClient-Tunnels Enabled:True v120.404 14/08/2018 08:10:31:::
LTClient-No context menu items loaded for child context menu item provider with Guid 8bbc939c-a64b-49d5-a443-f959472a8424 v120.404 14/08/2018 08:10:31:::
LTClient-No context menu items loaded for child context menu item provider with Guid 1861d96f-1c33-4180-afdb-6caa38f5d28a v120.404 14/08/2018 08:10:32:::
LTClient-Render capability: 2 v120.404 14/08/2018 08:10:32:::
LTClient-Initalize New Plugins Details:
Plugin 'ConnectWise Control Plugin' with Guid '4cb0f665-236c-407b-ae76-f7e31cecd696' took 0.3180764 seconds to return plugin contexts.
Plugin 'Acronis Data Cloud' with Guid 'bde00985-8fe0-4873-aa72-a3110840a782' took 0.1053585 seconds to return plugin contexts.
Plugin 'Intel vPro Integration Plugin' with Guid '6e3fc94b-9401-11e3-88b6-08002788414b' took 0.3465092 seconds to return plugin contexts.

Plugin context load: 0.3739 milliseconds for Shortcuts, 0.5127 milliseconds for ActionItems, 0.4292 milliseconds for DataTiles. No plugin tiles returned. Plugin Assembly FullName: ScreenConnect_Plugin.Plugin_Classes.ScreenConnectComputerScreenPluginContext
Plugin context load: 0.1762 milliseconds for Shortcuts, 0.1209 milliseconds for ActionItems, 37.2382 milliseconds for DataTiles, 0.9697483 seconds for initializing tile 'Acronis Data Cloud' with Guid f3b4fdd3-438b-4e88-b9ba-e930411e431c
Plugin context load: 44.4617 milliseconds for Shortcuts, 65.5192 milliseconds for ActionItems, 0.145 milliseconds for DataTiles. No plugin tiles returned. Plugin Assembly FullName: vPro.ComputerScreenPluginContext.
Total time for all New Plugins to load and initialize: 1.8983487 seconds. v120.404 14/08/2018 08:47:50:::
LTClient-Database Plugin 14/08/2018 08:47:52 - Database Management Pack: Monitor Edit permissions for this user are True for computer 1384 v120.404 14/08/2018 08:47:52:::
LTClient-PluginExpiry v1 commited an error in .ctor ActiveX control '8856f961-340a-11d0-a96b-00c04fd705a2' cannot be instantiated because the current thread is not in a single-threaded apartment. v120.404 14/08/2018 08:47:52:::
LTClient-Computer screen #1: Render time 0.7465469s. Load time 10.882768s. v120.404 14/08/2018 08:47:58:::
LTClient-Initalize New Plugins Details:
Plugin 'ConnectWise Control Plugin' with Guid '4cb0f665-236c-407b-ae76-f7e31cecd696' took 0.1113326 seconds to return plugin contexts.
Plugin 'Acronis Data Cloud' with Guid 'bde00985-8fe0-4873-aa72-a3110840a782' took 94.6066 milliseconds to return plugin contexts.
Plugin 'Intel vPro Integration Plugin' with Guid '6e3fc94b-9401-11e3-88b6-08002788414b' took 0.3234312 seconds to return plugin contexts.

Plugin context load: 0.0111 milliseconds for Shortcuts, 0.0098 milliseconds for ActionItems, 0.0089 milliseconds for DataTiles. No plugin tiles returned. Plugin Assembly FullName: ScreenConnect_Plugin.Plugin_Classes.ScreenConnectComputerScreenPluginContext
Plugin context load: 0.004 milliseconds for Shortcuts, 0.0022 milliseconds for ActionItems, 19.5376 milliseconds for DataTiles, 0.5350411 seconds for initializing tile 'Acronis Data Cloud' with Guid f3b4fdd3-438b-4e88-b9ba-e930411e431c
Plugin context load: 0.2546165 seconds for Shortcuts, 0.1495605 seconds for ActionItems, 0.0142 milliseconds for DataTiles. No plugin tiles returned. Plugin Assembly FullName: vPro.ComputerScreenPluginContext.
Total time for all New Plugins to load and initialize: 1.4896307 seconds. v120.404 14/08/2018 09:07:37:::
LTClient-Database Plugin 14/08/2018 09:07:38 - Database Management Pack: Monitor Edit permissions for this user are True for computer 1384 v120.404 14/08/2018 09:07:38:::
LTClient-PluginExpiry v1 commited an error in .ctor ActiveX control '8856f961-340a-11d0-a96b-00c04fd705a2' cannot be instantiated because the current thread is not in a single-threaded apartment. v120.404 14/08/2018 09:07:38:::
LTClient-Computer screen #2: Render time 0.6412873s. Load time 8.3595445s. v120.404 14/08/2018 09:07:43:::
LTClient-PluginSurf Log v1.1 commited an error in .ctor ActiveX control '8856f961-340a-11d0-a96b-00c04fd705a2' cannot be instantiated because the current thread is not in a single-threaded apartment. v120.404 14/08/2018 09:07:49:::
LTClient-Computer Screen: Total plugin load time for "SRAMCADF01" (1384): 14.1373847s v120.404 14/08/2018 09:07:49:::
LTClient-Initalize New Plugins Details:
Plugin 'ConnectWise Control Plugin' with Guid '4cb0f665-236c-407b-ae76-f7e31cecd696' took 60.4175 milliseconds to return plugin contexts.
Plugin 'Acronis Data Cloud' with Guid 'bde00985-8fe0-4873-aa72-a3110840a782' took 28.393 milliseconds to return plugin contexts.
Plugin 'Intel vPro Integration Plugin' with Guid '6e3fc94b-9401-11e3-88b6-08002788414b' took 85.0953 milliseconds to return plugin contexts.

Plugin context load: 0 milliseconds for Shortcuts, 0.0044 milliseconds for ActionItems, 0.0004 milliseconds for DataTiles. No plugin tiles returned. Plugin Assembly FullName: ScreenConnect_Plugin.Plugin_Classes.ScreenConnectComputerScreenPluginContext
Plugin context load: 0.0004 milliseconds for Shortcuts, 0.0004 milliseconds for ActionItems, 11.1378 milliseconds for DataTiles, 0.4615937 seconds for initializing tile 'Acronis Data Cloud' with Guid f3b4fdd3-438b-4e88-b9ba-e930411e431c
Plugin context load: 41.1574 milliseconds for Shortcuts, 39.6857 milliseconds for ActionItems, 0.0008 milliseconds for DataTiles. No plugin tiles returned. Plugin Assembly FullName: vPro.ComputerScreenPluginContext.
Total time for all New Plugins to load and initialize: 0.7318265 seconds. v120.404 14/08/2018 09:16:33:::
LTClient-Database Plugin 14/08/2018 09:16:34 - Database Management Pack: Monitor Edit permissions for this user are True for computer 525 v120.404 14/08/2018 09:16:34:::
LTClient-PluginExpiry v1 commited an error in .ctor ActiveX control '8856f961-340a-11d0-a96b-00c04fd705a2' cannot be instantiated because the current thread is not in a single-threaded apartment. v120.404 14/08/2018 09:16:34:::
LTClient-PluginSurf Log v1.1 commited an error in .ctor ActiveX control '8856f961-340a-11d0-a96b-00c04fd705a2' cannot be instantiated because the current thread is not in a single-threaded apartment. v120.404 14/08/2018 09:16:43:::
LTClient-Computer Screen: Total plugin load time for "SR01VALT" (525): 11.5063821s v120.404 14/08/2018 09:16:44:::
LTClient-Initalize New Plugins Details:
Plugin 'ConnectWise Control Plugin' with Guid '4cb0f665-236c-407b-ae76-f7e31cecd696' took 63.177 milliseconds to return plugin contexts.
Plugin 'Acronis Data Cloud' with Guid 'bde00985-8fe0-4873-aa72-a3110840a782' took 30.8352 milliseconds to return plugin contexts.
Plugin 'Intel vPro Integration Plugin' with Guid '6e3fc94b-9401-11e3-88b6-08002788414b' took 92.9685 milliseconds to return plugin contexts.

Plugin context load: 0.0004 milliseconds for Shortcuts, 0.0058 milliseconds for ActionItems, 0.0004 milliseconds for DataTiles. No plugin tiles returned. Plugin Assembly FullName: ScreenConnect_Plugin.Plugin_Classes.ScreenConnectComputerScreenPluginContext
Plugin context load: 0.0008 milliseconds for Shortcuts, 0.0004 milliseconds for ActionItems, 19.3962 milliseconds for DataTiles, 0.5090613 seconds for initializing tile 'Acronis Data Cloud' with Guid f3b4fdd3-438b-4e88-b9ba-e930411e431c
Plugin context load: 41.4595 milliseconds for Shortcuts, 43.6268 milliseconds for ActionItems, 0.0008 milliseconds for DataTiles. No plugin tiles returned. Plugin Assembly FullName: vPro.ComputerScreenPluginContext.
Total time for all New Plugins to load and initialize: 0.8022266 seconds. v120.404 14/08/2018 09:17:08:::
LTClient-Database Plugin 14/08/2018 09:17:09 - Database Management Pack: Monitor Edit permissions for this user are True for computer 1384 v120.404 14/08/2018 09:17:09:::
LTClient-PluginExpiry v1 commited an error in .ctor ActiveX control '8856f961-340a-11d0-a96b-00c04fd705a2' cannot be instantiated because the current thread is not in a single-threaded apartment. v120.404 14/08/2018 09:17:09:::
LTClient-Computer screen #3: Render time 0.6327385s. Load time 4.0409651s. v120.404 14/08/2018 09:17:11:::
LTClient-PluginSurf Log v1.1 commited an error in .ctor ActiveX control '8856f961-340a-11d0-a96b-00c04fd705a2' cannot be instantiated because the current thread is not in a single-threaded apartment. v120.404 14/08/2018 09:17:18:::
LTClient-Computer Screen: Total plugin load time for "SRAMCADF01" (1384): 11.3656975s v120.404 14/08/2018 09:17:18:::
LTClient-ComputerScreen Error in NetworkProbeMaximizedTile.SetProperties: An item with the same key has already been added. v120.404 14/08/2018 09:24:11:::
LTClient-ComputerScreen Error in NetworkProbeMaximizedTile.SetProperties: An item with the same key has already been added. v120.404 14/08/2018 09:24:12:::
LTClient-Control Center Started v120.404 14/08/2018 10:04:32:::
LTClient-Current LTClient Version: 120.404. Server's desired version: 120.404. v120.404 14/08/2018 10:04:42:::
LTClient-Unable to add command #9876 from LabTech Virtual Monitor SvcCommand. Id already taken. v120.404 14/08/2018 10:05:07:::
LTClient-Unable to add command #1033 from Hyper-V Plugin. Id already taken. v120.404 14/08/2018 10:05:07:::
LTClient-Unable to add command #3240 from ScreenConnect Remote Plugin ISvcCommand. Id already taken. v120.404 14/08/2018 10:05:07:::
LTClient-Unable to add command #160 from Symantec Backup Exec. Id already taken. v120.404 14/08/2018 10:05:07:::
LTClient-Unable to add command #1024 from Active Directory Command v1.6.11003.1. Id already taken. v120.404 14/08/2018 10:05:07:::
LTClient-Unable to add command #3538 from ESET Installation. Id already taken. v120.404 14/08/2018 10:05:07:::
LTClient-Unable to add command #99123321 from APC SmartConnect - Associate Devices Command. Id already taken. v120.404 14/08/2018 10:05:07:::
LTClient-Unable to add command #86224 from Exchange Monitor PluginCommand. Id already taken. v120.404 14/08/2018 10:05:07:::
LTClient-Finished Loading Plugins v120.404 14/08/2018 10:05:07:::
LTClient-ConnectWise Control Plugin: Info: Tabs Initialized v120.404 14/08/2018 10:05:08:::
LTClient-Backup Manager Plugin - Finding Backup Solution names... v120.404 14/08/2018 10:05:09:::
LTClient-Backup Manager Plugin - Initiazlized... v120.404 14/08/2018 10:05:09:::
LTClient-Init Tunnel Handlers v120.404 14/08/2018 10:05:10:::
LTClient-Tunnel Version:Windows x86 1.1.3 v120.404 14/08/2018 10:05:10:::
LTClient-Tunnels Enabled:True v120.404 14/08/2018 10:05:10:::
LTClient-No context menu items loaded for child context menu item provider with Guid 8bbc939c-a64b-49d5-a443-f959472a8424 v120.404 14/08/2018 10:05:11:::
LTClient-No context menu items loaded for child context menu item provider with Guid 1861d96f-1c33-4180-afdb-6caa38f5d28a v120.404 14/08/2018 10:05:11:::
LTClient-Render capability: 2 v120.404 14/08/2018 10:05:12:::
LTClient-Observed unhandled dispatcher exception: mscorlib ThrowInvalidOperationException Collection was modified; enumeration operation may not execute. Collection was modified; enumeration operation may not execute. v120.404 14/08/2018 12:13:19:::
LTClient-Dispatcher Exception: Collection was modified; enumeration operation may not execute.
Stacktrace:
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
at System.Collections.Generic.List`1.Enumerator.MoveNext()
at LTClient.Commands.Script.DuplicateScriptCommand.Execute(Object parameter)
at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
v120.404 14/08/2018 12:13:19:::
LTClient-Expiry AD ISync Scanning -> ComputerID 721 v120.404 14/08/2018 12:17:00:::
LTClient-Error in psGetValuesForView: Index was outside the bounds of the array. v120.404 14/08/2018 12:17:25:::
LTClient-Error in frmGroups_Load. Message: An item with the same key has already been added. v120.404 14/08/2018 12:21:57:::
LTClient-Error in frmGroups_Load. Message: An item with the same key has already been added. v120.404 14/08/2018 12:25:20:::
LTClient-Verifying License mode v120.404 14/08/2018 14:19:33:::
LTClient-Verifying License mode v120.404 14/08/2018 14:19:39:::
LTClient-Verifying License mode v120.404 14/08/2018 14:19:43:::
LTClient-Verifying License mode v120.404 14/08/2018 14:21:21:::
LTClient-Verifying License mode v120.404 14/08/2018 14:22:01:::
LTClient-Verifying License mode v120.404 14/08/2018 14:33:25:::
LTClient-Verifying License mode v120.404 14/08/2018 14:34:12:::
LTClient-Verifying License mode v120.404 14/08/2018 14:37:44:::
LTClient-Verifying License mode v120.404 14/08/2018 14:38:03:::
LTClient-Verifying License mode v120.404 14/08/2018 14:38:05:::
LTClient-Verifying License mode v120.404 14/08/2018 14:38:31:::
LTClient-Control Center Started v120.404 14/08/2018 15:07:56:::

kkevgreen
Posts: 14
Joined: Fri Aug 03, 2018 10:10 am
5

Re: Error When Opening Chocolatey

Post by kkevgreen »

So it looks like anything I do with the Chocolatey plugin results in these entries in the log:

LTClient-Verifying License mode v120.404 31/08/2018 11:22:08:::
LTClient-Verifying License mode v120.404 31/08/2018 11:23:17:::
LTClient-Verifying License mode v120.404 31/08/2018 11:23:21:::

Any ideas where I go next with this?
All help appreciated!

User avatar
Cubert
Posts: 2453
Joined: Tue Dec 29, 2015 7:57 pm
8
Contact:

Re: Error When Opening Chocolatey

Post by Cubert »

OK, let's drop all SQL tables starting with plugin_sw_chocolatey, restart the DBagent on LT host and allow it to recreate the tables.

Relaunch the plugin and see if the errors remain or do we get the issue back that it can't rebuild tables?

kkevgreen
Posts: 14
Joined: Fri Aug 03, 2018 10:10 am
5

Re: Error When Opening Chocolatey

Post by kkevgreen »

Sorry, should have posted last week. I already did exactly that, and it seems to have done the trick.

Thanks for all your help!

Post Reply

Return to “Chocolatey For Labtech”