Issue Summary

      Discovery.exe is not running on Linux using mono

      Steps to Reproduce

      • Download the assets-discovery-7 zip file
      • Extract it in a linux env
      • install msitools
      • install mono-complete
      • use msitools to extract the mis file (misextract Discovery_Tools_Setup.msi)
      • use mono to try to run the executable (mono Discovery.exe -s)

      Expected Results

      Discovery is running

      Actual Results

      Discovery cannot be opened. The following exception is visible.

      mono Discovery.exe -s
      02/15/2024 15:46:20: [Error] Error getting service list for: Discovery-Service
      02/15/2024 15:46:20: [Normal] Exceptions:
      02/15/2024 15:46:20: [Normal] The method or operation is not implemented.
        at System.ServiceProcess.UnixServiceController.GetServices () [0x00000] in <85f85c62798846499fb4593b001935e9>:0 
        at System.ServiceProcess.ServiceController.GetServices (System.String machineName) [0x00018] in <85f85c62798846499fb4593b001935e9>:0 
        at System.ServiceProcess.ServiceController.GetServices () [0x00000] in <85f85c62798846499fb4593b001935e9>:0 
        at Insight.Discovery.Tools.ServiceHelper.GetListOfServices (System.String serviceNameStartsWith, System.String executablePath) [0x0000f] in <38bff65bc7894d1398c03a6d547df5de>:0 
      02/15/2024 15:46:20: [Error] Error checking service installed status: Discovery-Service-6B554
      02/15/2024 15:46:20: [Normal] Exceptions:
      02/15/2024 15:46:20: [Normal] The method or operation is not implemented.
        at System.ServiceProcess.UnixServiceController.GetServices () [0x00000] in <85f85c62798846499fb4593b001935e9>:0 
        at System.ServiceProcess.ServiceController.GetServices (System.String machineName) [0x00018] in <85f85c62798846499fb4593b001935e9>:0 
        at System.ServiceProcess.ServiceController.GetServices () [0x00000] in <85f85c62798846499fb4593b001935e9>:0 
        at Insight.Discovery.Tools.ServiceHelper.IsServiceInstalled (System.String serviceName) [0x0000f] in <38bff65bc7894d1398c03a6d547df5de>:0 
      Show Setting Dialog...
      Gtk-Message: 15:46:20.341: Failed to load module "canberra-gtk-module"
      libgluezilla not found. To have webbrowser support, you need libgluezilla installed
      02/15/2024 15:46:20: [Error] Error opening the Discovery configuration
      02/15/2024 15:46:20: [Normal] Exceptions:
      02/15/2024 15:46:20: [Normal] FlatStyle cannot be set to Popup in this control.
        at System.Windows.Forms.DataGridViewCheckBoxCell.set_FlatStyle (System.Windows.Forms.FlatStyle value) [0x00026] in <25c2bdf9d79a43a599eb46bd15cd77fb>:0 
        at System.Windows.Forms.DataGridViewCheckBoxColumn.set_FlatStyle (System.Windows.Forms.FlatStyle value) [0x00019] in <25c2bdf9d79a43a599eb46bd15cd77fb>:0 
        at Insight.Discovery.Forms.frmSettings.InitializeComponent () [0x01ed3] in <083ea4a1004d4113a3031a7f749870a3>:0 
        at Insight.Discovery.Forms.frmSettings..ctor () [0x00058] in <083ea4a1004d4113a3031a7f749870a3>:0 
        at (wrapper remoting-invoke-with-check) Insight.Discovery.Forms.frmSettings..ctor()
        at Insight.Discovery.CommandLineLogic.CommandClasses.SettingsCommand.ShowSettingsDialog () [0x0000a] in <083ea4a1004d4113a3031a7f749870a3>:0 
        at Insight.Discovery.CommandLineLogic.CommandClasses.SettingsCommand.ExecuteCommand () [0x00000] in <083ea4a1004d4113a3031a7f749870a3>:0 
      

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

          Form Name

            [JSDSERVER-15133] Discovery is not running on Linux

            There are no comments yet on this issue.

              11507b174037 Zakhar Listiev
              9f03f4114502 Pablo Bartolome
              Affected customers:
              0 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: