LBT Raising Warning Message in Grasshopper (Rhino SR17+)

Hi @chris , @mostapha ,

FYI: as of Rhino SR17 (first time I saw it at least…), LBT is causing a warning message to appear when Grasshopper is first started.

When I start GH now, I first get the message:

Priority: CategoryIcon
{
  Method not found: 'Serilog.LoggerConfiguration Serilog.FileLoggerConfigurationExtensions.File(Serilog.Configuration.LoggerSinkConfiguration, System.String, Serilog.Events.LogEventLevel, System.String, System.IFormatProvider, System.Nullable`1<Int64>, Serilog.Core.LoggingLevelSwitch, Boolean, Boolean, System.Nullable`1<System.TimeSpan>, Serilog.RollingInterval, Boolean, System.Nullable`1<Int32>, System.Text.Encoding, Serilog.Sinks.File.FileLifecycleHooks, System.Nullable`1<System.TimeSpan>)'.
  MissingMethodException
}

  • When I do a complete removal of Ladybug from my system, this message does not get raised.
  • When I install LBT, this message gets raised.

System Info:

Note that the LBT components and GH itself appears to work as expected (components load) if you just ignore the message.

See also: https://discourse.mcneel.com/t/error-opening-grasshopper/201281/1

all the best,
@edpmay

Hi @edpmay,

Thank you for letting us know. I’m adding @MingboPeng so he is aware of this case.

Thanks @edpmay, I just updated to SR17. But I cannot recreate it on my side. I suspect that the LBT plugin might be conflicting with another plugin, not the Rhino 8 itself.

Hi @MingboPeng , Interesting, I don’t really have any other plugins installed that I know of? If I run SystemInfo I show only:

Rhino plugins that do not ship with Rhino
  C:\ProgramData\McNeel\Rhinoceros\packages\8.0\Pollination\1.54.16\Pollination.RH.Loader.rhp	"Pollination.RH.Loader"	1.54.16.0
  C:\ProgramData\McNeel\Rhinoceros\packages\8.0\LadybugTools\1.38.257\Ladybug.RH.Loader.rhp	"Ladybug.RH.Loader"	1.38.257.0

Rhino plugins that ship with Rhino
  C:\Program Files\Rhino 8\Plug-ins\Commands.rhp	"Commands"	8.18.25070.14001
  C:\Program Files\Rhino 8\Plug-ins\rdk.rhp	"Renderer Development Kit"	
  C:\Program Files\Rhino 8\Plug-ins\RhinoRenderCycles.rhp	"Rhino Render"	8.18.25070.14001
  C:\Program Files\Rhino 8\Plug-ins\rdk_etoui.rhp	"RDK_EtoUI"	8.18.25070.14001
  C:\Program Files\Rhino 8\Plug-ins\NamedSnapshots.rhp	"Snapshots"	
  C:\Program Files\Rhino 8\Plug-ins\MeshCommands.rhp	"MeshCommands"	8.18.25070.14001
  C:\Program Files\Rhino 8\Plug-ins\IronPython\RhinoDLR_Python.rhp	"IronPython"	8.18.25070.14001
  C:\Program Files\Rhino 8\Plug-ins\RhinoCycles.rhp	"RhinoCycles"	8.18.25070.14001
  C:\Program Files\Rhino 8\Plug-ins\Grasshopper\GrasshopperPlugin.rhp	"Grasshopper"	8.18.25070.14001
  C:\Program Files\Rhino 8\Plug-ins\Toolbars\Toolbars.rhp	"Toolbars"	8.18.25070.14001
  C:\Program Files\Rhino 8\Plug-ins\3dxrhino.rhp	"3Dconnexion 3D Mouse"	
  C:\Program Files\Rhino 8\Plug-ins\Displacement.rhp	"Displacement"	
  C:\Program Files\Rhino 8\Plug-ins\SectionTools.rhp	"SectionTools"	

weird. Though: I am running this on Parallels - so I suppose some conflict might be happening there? An odd one for sure. At least it doesn’t seem to affect anything.

thanks!
@edpmay

Thanks for your information. I have just installed the same version of the Pollination with Ladybug, but still not getting the error. Now I am installing the Rhino 8 SR18. I will keep you posted.

Same in Rhino 8 SR18.
Hi @edpmay are you able to switch to NetFramework within the Parallels environment? If yes, could you please test it?

My guess is the version of Serilog library that we are using is quite old and Rhino 8 on the Parallels of the MacOS might be related with their recent update of the dotNet version. I can go ahead and update all our plugin with a newer version of the Serilog, and you can let us know if it works.

Unfortunately, I don’t have a Mac device to test on my end. I will need your help with this unless someone else has the same issue on a Windows machine as well.

Ah - that makes sense - yes I’d be more than happy to test out any updates on my end! Thats no trouble at all.

@edpmay

Hey @edpmay I just sent you a private message with the new link for the installer. Please keep us posted.