I have been facing an issue with using Ladybug for a while now. I installed the latest pollination using the installer version 1.65.34. I am running the latest Rhino SR 26.
Whenever I try to open grasshopper I see an error as following :
Priority: CategoryIcon { Call PollinationLogger.LogHelper.OneTimeSetup(ILoggerFactory loggerFactory) to setup global loggerFactory first. (Parameter ‘_loggerFactory’) ArgumentNullException
When I ignore and close the error and I am able to work on grasshopper. As soon as I try to add any ladybug or honeybee component, grasshopper freezes and Rhino crashes. I found the RhinoDotNetCrash.txt and it has the following content :
[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentNullException: Call PollinationLogger.LogHelper.OneTimeSetup(ILoggerFactory loggerFactory) to setup global loggerFactory first. (Parameter ‘_loggerFactory’)
at PollinationLogger.LogHelper.GetLoggerT
at Pollination.GH.LogUtils.GetLoggerT
at Pollination.GH.BaseComponent.get_Logger()
at Pollination.GH.BaseComponent.g__LoginClick|11_0(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(HWND hWnd, MessageId msg, WPARAM wparam, LPARAM lparam)
[END ERROR]
What can be the possible cause for this or a solution?