Closed soql closed 8 months ago
Hi ! could you provide the log files after a windows restart so I can check what is happening ? https://github.com/SHWotever/SimHub/issues/new?assignees=&labels=triage&projects=&template=bug_report.md&title=
I delete all logs and restart windows - I have simhub in autostart folder and also checked option in settings - it doesn`t run :-( Folder is still empty :-( Other app from autostart folder runs (crewcheif etc). I this it is something with my windows but I dont know how to debug it. When I click simhub icon it run without problems.
There is one warning when I run simhub manually:
[2024-03-26 11:15:51,643] WARN - System.ArgumentException: (13,8):UserId:
at ?.?.?(String Path, ? pDefinition, Int32 , Object , Object , TaskLogonType , Object )
at Microsoft.Win32.TaskScheduler.TaskFolder.RegisterTaskDefinition(String path, TaskDefinition definition, TaskCreation createType, String userId, String password, TaskLogonType logonType, String sddl)
at WoteverCommon.ElevatedRightsManager.Elevate()
at ?.?.
Hi ! Apparently your windows task planner seems corrupted, are you running simhub as administrator, this is what make simhub use the task planner to avoid annoying UAC prompts ? Running simhub should not be required anymore except very rare cases Can you try to disable it ?
Could you also join the full log files in all cases, this can help me getting a better overview.
Still the same. Last log (but it is created when I start manually and simhub work ok):
[2024-03-26 11:23:30,073] WARN - System.ArgumentException: (13,8):UserId:
at ?.?.?(String Path, ? pDefinition, Int32 , Object , Object , TaskLogonType , Object )
at Microsoft.Win32.TaskScheduler.TaskFolder.RegisterTaskDefinition(String path, TaskDefinition definition, TaskCreation createType, String userId, String password, TaskLogonType logonType, String sddl)
at WoteverCommon.ElevatedRightsManager.Elevate()
at ?.?.
Im not sure is "run as admin" work with first time - now I don
t have warning in log but still not auto running :-(
[2024-03-26 11:28:39,386] INFO - Starting SimHub v9.2.7 (build time : 25/03/2024 10:43:42) [2024-03-26 11:28:39,388] INFO - Windows Defender Controlled Folder Access : likely to be disabled [2024-03-26 11:28:39,388] INFO - Administrator privileges : True [2024-03-26 11:28:39,388] INFO - OS version : Microsoft Windows NT 10.0.19045.0, Windows 10.0.19045 [2024-03-26 11:28:39,388] INFO - License status : Licensed (6548fac2-3695-4c17-8c51-e84a01571e3f) [2024-03-26 11:28:39,388] INFO - Process priority : Normal [2024-03-26 11:28:39,404] INFO - Sound card changes notification registered [2024-03-26 11:28:39,405] INFO - Searching for game readers [2024-03-26 11:28:39,440] INFO - Scanning for additional game readers [2024-03-26 11:28:39,468] INFO - 88 game readers loaded [2024-03-26 11:28:39,839] INFO - (Re)Starting AssettoCorsa Game Manager and plugin manager [2024-03-26 11:28:39,840] INFO - Creating Assetto Corsa game manager (ACSharedMemory.ACManager) [2024-03-26 11:28:39,848] INFO - AssettoCorsa game manager created [2024-03-26 11:28:39,855] INFO - Checking configuration status for AssettoCorsa [2024-03-26 11:28:39,855] INFO - Detected install path : C:\Program Files (x86)\Steam\SteamApps\common\assettocorsa [2024-03-26 11:28:39,861] INFO - Configuration status for AssettoCorsa: GameConfigured [2024-03-26 11:28:39,861] INFO - Creating plugin manager with plugins : SerialDashPlugin, AudioControlPlugin, JoystickPlugin, GraphicalDashPlugin, DevicesPlugin, KeyboardEmulatorPlugin, NextionPlugin, ShakeITBSV3Plugin, ShakeITMotorsV3Plugin, LapHitoryPlugin, ThrustmastersPlugin [2024-03-26 11:28:39,871] INFO - Creating SimHub.Plugins.AudioControl.AudioPlayPlugin plugin [2024-03-26 11:28:39,872] INFO - Creating SimHub.Plugins.DataPlugins.SystemInfosProvider plugin [2024-03-26 11:28:39,874] INFO - Creating SimHub.Plugins.DataPlugins.Shell.ShellPlugin plugin [2024-03-26 11:28:39,874] INFO - Creating SimHub.Plugins.DataPlugins.PersistantTracker.PersistantTrackerPlugin plugin [2024-03-26 11:28:39,875] INFO - Creating SimHub.Plugins.DataPlugins.DataCore.DataCorePlugin plugin [2024-03-26 11:28:39,876] INFO - Creating SimHub.Plugins.Web.WebPlugin plugin [2024-03-26 11:28:39,877] INFO - Creating SimHub.Plugins.AudioControl.AudioControlPlugin plugin [2024-03-26 11:28:39,878] INFO - Creating SimHub.Plugins.InputPlugins.JoystickPlugin plugin [2024-03-26 11:28:39,879] INFO - Creating SimHub.Plugins.Devices.DevicesPlugin plugin [2024-03-26 11:28:39,879] INFO - Creating SimHub.Plugins.OutputPlugins.Nextion.NextionPlugin plugin [2024-03-26 11:28:39,884] INFO - Creating SimHub.Plugins.OutputPlugins.Dash.SerialDashPlugin plugin [2024-03-26 11:28:39,885] INFO - Creating SimHub.Plugins.OutputPlugins.GraphicalDash.GraphicalDashPlugin plugin [2024-03-26 11:28:39,885] INFO - Creating SimHub.Plugins.DataPlugins.Thrustmaster.ThrustmastersPlugin plugin [2024-03-26 11:28:39,886] INFO - Creating SimHub.Plugins.DataPlugins.ShakeItV3.ShakeITBSV3Plugin plugin [2024-03-26 11:28:39,886] INFO - Creating SimHub.Plugins.DataPlugins.ShakeItV3.ShakeITMotorsV3Plugin plugin [2024-03-26 11:28:39,887] INFO - Creating SimHub.Plugins.DataPlugins.PersistantTracker.LapHitoryPlugin plugin [2024-03-26 11:28:39,887] INFO - Creating SimHub.Plugins.KeyboardEmulator.KeyboardEmulatorPlugin plugin [2024-03-26 11:28:39,888] INFO - Initializing SimHub.Plugins.DataPlugins.DataCore.DataCorePlugin plugin [2024-03-26 11:28:39,956] INFO - Initializing SimHub.Plugins.DataPlugins.SystemInfosProvider plugin [2024-03-26 11:28:39,963] INFO - Initializing SimHub.Plugins.DataPlugins.PersistantTracker.PersistantTrackerPlugin plugin [2024-03-26 11:28:39,964] INFO - Initializing SimHub.Plugins.AudioControl.AudioControlPlugin plugin [2024-03-26 11:28:39,965] INFO - Initializing SimHub.Plugins.Devices.DevicesPlugin plugin [2024-03-26 11:28:39,989] INFO - Loaded device : Generic Monitor (HDMI, DP ...) (Generic Monitor (HDMI, DP ...), 153CC152-03BF-432B-A1C3-B7496DC6799E) [2024-03-26 11:28:39,989] INFO - Initializing SimHub.Plugins.DataPlugins.Thrustmaster.ThrustmastersPlugin plugin [2024-03-26 11:28:40,150] INFO - Initializing SimHub.Plugins.DataPlugins.ShakeItV3.ShakeITBSV3Plugin plugin [2024-03-26 11:28:40,259] INFO - Initializing SimHub.Plugins.DataPlugins.ShakeItV3.ShakeITMotorsV3Plugin plugin [2024-03-26 11:28:40,285] INFO - Initializing SimHub.Plugins.DataPlugins.PersistantTracker.LapHitoryPlugin plugin [2024-03-26 11:28:40,286] INFO - Initializing SimHub.Plugins.AudioControl.AudioPlayPlugin plugin [2024-03-26 11:28:40,287] INFO - Initializing SimHub.Plugins.DataPlugins.Shell.ShellPlugin plugin [2024-03-26 11:28:40,288] INFO - Initializing SimHub.Plugins.InputPlugins.JoystickPlugin plugin [2024-03-26 11:28:40,295] INFO - Initializing SimHub.Plugins.KeyboardEmulator.KeyboardEmulatorPlugin plugin [2024-03-26 11:28:40,298] INFO - Initializing SimHub.Plugins.OutputPlugins.Nextion.NextionPlugin plugin [2024-03-26 11:28:40,347] INFO - Initializing SimHub.Plugins.OutputPlugins.Dash.SerialDashPlugin plugin [2024-03-26 11:28:40,423] INFO - Starting Arduino in Single USB mode [2024-03-26 11:28:40,425] INFO - Initializing SimHub.Plugins.OutputPlugins.GraphicalDash.GraphicalDashPlugin plugin [2024-03-26 11:28:40,547] INFO - Initializing SimHub.Plugins.Web.WebPlugin plugin [2024-03-26 11:28:40,622] INFO - Web plugin listening to 8888 (User friendly port) [2024-03-26 11:28:40,660] INFO - Web plugin suggested IP :192.168.2.201 [2024-03-26 11:28:40,813] INFO - Plugin manager correctly initialized [2024-03-26 11:28:40,813] INFO - Loading plugins controls [2024-03-26 11:28:40,871] INFO - JoystickManager : Found FANATEC_CSL_Elite_Wheel_Base_PlayStation_4, FANATEC_CSL_Elite_Wheel_Base_PlayStation_4_1, FANATEC_CSL_Elite_Pedals_LC [2024-03-26 11:28:41,061] INFO - Missing ports informations for : COM1 [2024-03-26 11:28:41,061] INFO - Missing ports informations for : COM6 [2024-03-26 11:28:41,061] INFO - Missing ports informations for : COM8 [2024-03-26 11:28:41,061] INFO - Missing ports informations for : COM9 [2024-03-26 11:28:41,167] INFO - Game successfully loaded [2024-03-26 11:28:55,454] INFO - Windows session is ending. [2024-03-26 11:28:55,455] INFO - Application exit [2024-03-26 11:28:55,473] INFO - Stopping game manager [2024-03-26 11:28:55,475] INFO - Disconnecting from AC UDP data [2024-03-26 11:28:55,486] INFO - Stopping plugin manager [2024-03-26 11:28:55,487] INFO - Saving plugin settings SimHub.Plugins.DataPlugins.DataCore.DataCorePlugin [2024-03-26 11:28:55,488] INFO - SimHub.Plugins.DataPlugins.DataCore.DataCorePlugin plugin settings saved [2024-03-26 11:28:55,488] INFO - Saving plugin settings SimHub.Plugins.DataPlugins.SystemInfosProvider [2024-03-26 11:28:55,489] INFO - SimHub.Plugins.DataPlugins.SystemInfosProvider plugin settings saved [2024-03-26 11:28:55,489] INFO - Saving plugin settings SimHub.Plugins.Devices.DevicesPlugin [2024-03-26 11:28:55,492] INFO - SimHub.Plugins.Devices.DevicesPlugin plugin settings saved [2024-03-26 11:28:55,492] INFO - Saving plugin settings SimHub.Plugins.DataPlugins.ShakeItV3.ShakeITBSV3Plugin [2024-03-26 11:28:55,521] INFO - SimHub.Plugins.DataPlugins.ShakeItV3.ShakeITBSV3Plugin plugin settings saved [2024-03-26 11:28:55,521] INFO - Saving plugin settings SimHub.Plugins.DataPlugins.ShakeItV3.ShakeITMotorsV3Plugin [2024-03-26 11:28:55,528] INFO - SimHub.Plugins.DataPlugins.ShakeItV3.ShakeITMotorsV3Plugin plugin settings saved [2024-03-26 11:28:55,528] INFO - Saving plugin settings SimHub.Plugins.InputPlugins.JoystickPlugin [2024-03-26 11:28:55,534] INFO - SimHub.Plugins.InputPlugins.JoystickPlugin plugin settings saved [2024-03-26 11:28:55,534] INFO - Saving plugin settings SimHub.Plugins.OutputPlugins.Nextion.NextionPlugin [2024-03-26 11:28:55,547] INFO - SimHub.Plugins.OutputPlugins.Nextion.NextionPlugin plugin settings saved [2024-03-26 11:28:55,547] INFO - Saving plugin settings SimHub.Plugins.OutputPlugins.Dash.SerialDashPlugin [2024-03-26 11:28:55,559] INFO - SimHub.Plugins.OutputPlugins.Dash.SerialDashPlugin plugin settings saved [2024-03-26 11:28:55,559] INFO - Saving plugin settings SimHub.Plugins.OutputPlugins.GraphicalDash.GraphicalDashPlugin [2024-03-26 11:28:55,563] INFO - SimHub.Plugins.OutputPlugins.GraphicalDash.GraphicalDashPlugin plugin settings saved [2024-03-26 11:28:55,563] INFO - Stopping plugin SimHub.Plugins.Devices.DevicesPlugin [2024-03-26 11:28:55,563] INFO - Finalizing plugin SimHub.Plugins.Devices.DevicesPlugin [2024-03-26 11:28:55,563] INFO - Plugin end SimHub.Plugins.Devices.DevicesPlugin took 0.000s [2024-03-26 11:28:55,563] INFO - Stopping plugin SimHub.Plugins.OutputPlugins.Dash.SerialDashPlugin [2024-03-26 11:28:55,563] INFO - Stopping plugin SimHub.Plugins.DataPlugins.DataCore.DataCorePlugin [2024-03-26 11:28:55,563] INFO - Plugin end SimHub.Plugins.DataPlugins.DataCore.DataCorePlugin took 0.000s [2024-03-26 11:28:55,563] INFO - Stopping plugin SimHub.Plugins.DataPlugins.SystemInfosProvider [2024-03-26 11:28:55,565] INFO - Plugin end SimHub.Plugins.DataPlugins.SystemInfosProvider took 0.001s [2024-03-26 11:28:55,565] INFO - Stopping plugin SimHub.Plugins.DataPlugins.PersistantTracker.PersistantTrackerPlugin [2024-03-26 11:28:55,565] INFO - Plugin end SimHub.Plugins.DataPlugins.PersistantTracker.PersistantTrackerPlugin took 0.000s [2024-03-26 11:28:55,565] INFO - Stopping plugin SimHub.Plugins.AudioControl.AudioControlPlugin [2024-03-26 11:28:55,566] INFO - Plugin end SimHub.Plugins.OutputPlugins.Dash.SerialDashPlugin took 0.003s [2024-03-26 11:28:55,577] INFO - Plugin end SimHub.Plugins.AudioControl.AudioControlPlugin took 0.012s [2024-03-26 11:28:55,577] INFO - Stopping plugin SimHub.Plugins.DataPlugins.Thrustmaster.ThrustmastersPlugin [2024-03-26 11:28:55,578] INFO - Plugin end SimHub.Plugins.DataPlugins.Thrustmaster.ThrustmastersPlugin took 0.001s [2024-03-26 11:28:55,578] INFO - Stopping plugin SimHub.Plugins.DataPlugins.ShakeItV3.ShakeITBSV3Plugin [2024-03-26 11:28:55,578] INFO - Finalizing plugin SimHub.Plugins.DataPlugins.ShakeItV3.ShakeITBSV3Plugin [2024-03-26 11:28:55,578] INFO - Plugin end SimHub.Plugins.DataPlugins.ShakeItV3.ShakeITBSV3Plugin took 0.000s [2024-03-26 11:28:55,578] INFO - Stopping plugin SimHub.Plugins.DataPlugins.ShakeItV3.ShakeITMotorsV3Plugin [2024-03-26 11:28:55,578] INFO - Finalizing plugin SimHub.Plugins.DataPlugins.ShakeItV3.ShakeITMotorsV3Plugin [2024-03-26 11:28:55,578] INFO - Plugin end SimHub.Plugins.DataPlugins.ShakeItV3.ShakeITMotorsV3Plugin took 0.000s [2024-03-26 11:28:55,578] INFO - Stopping plugin SimHub.Plugins.DataPlugins.PersistantTracker.LapHitoryPlugin [2024-03-26 11:28:55,578] INFO - Plugin end SimHub.Plugins.DataPlugins.PersistantTracker.LapHitoryPlugin took 0.000s [2024-03-26 11:28:55,578] INFO - Stopping plugin SimHub.Plugins.AudioControl.AudioPlayPlugin [2024-03-26 11:28:55,578] INFO - Plugin end SimHub.Plugins.AudioControl.AudioPlayPlugin took 0.000s [2024-03-26 11:28:55,578] INFO - Stopping plugin SimHub.Plugins.DataPlugins.Shell.ShellPlugin [2024-03-26 11:28:55,578] INFO - Finalizing plugin SimHub.Plugins.DataPlugins.Shell.ShellPlugin [2024-03-26 11:28:55,578] INFO - Plugin end SimHub.Plugins.DataPlugins.Shell.ShellPlugin took 0.000s [2024-03-26 11:28:55,578] INFO - Stopping plugin SimHub.Plugins.InputPlugins.JoystickPlugin [2024-03-26 11:28:55,591] INFO - Plugin end SimHub.Plugins.InputPlugins.JoystickPlugin took 0.013s [2024-03-26 11:28:55,591] INFO - Stopping plugin SimHub.Plugins.KeyboardEmulator.KeyboardEmulatorPlugin [2024-03-26 11:28:55,592] INFO - Plugin end SimHub.Plugins.KeyboardEmulator.KeyboardEmulatorPlugin took 0.001s [2024-03-26 11:28:55,592] INFO - Stopping plugin SimHub.Plugins.OutputPlugins.Nextion.NextionPlugin [2024-03-26 11:28:55,597] INFO - Plugin end SimHub.Plugins.OutputPlugins.Nextion.NextionPlugin took 0.005s [2024-03-26 11:28:55,597] INFO - Stopping plugin SimHub.Plugins.OutputPlugins.GraphicalDash.GraphicalDashPlugin [2024-03-26 11:28:55,597] INFO - Finalizing plugin SimHub.Plugins.OutputPlugins.GraphicalDash.GraphicalDashPlugin [2024-03-26 11:28:55,597] INFO - Plugin end SimHub.Plugins.OutputPlugins.GraphicalDash.GraphicalDashPlugin took 0.000s [2024-03-26 11:28:55,597] INFO - Stopping plugin SimHub.Plugins.Web.WebPlugin [2024-03-26 11:28:55,597] INFO - Finalizing plugin SimHub.Plugins.Web.WebPlugin [2024-03-26 11:28:55,597] INFO - Plugin end SimHub.Plugins.Web.WebPlugin took 0.000s [2024-03-26 11:28:55,597] INFO - Stopped all plugins [2024-03-26 11:28:55,597] INFO - Performance dump [2024-03-26 11:28:55,597] INFO - SimHub.Plugins.DataPlugins.PersistantTracker.PersistantTrackerPlugin::DataUpdate 855calls 2.314ms 855calls 0.003ms/call [2024-03-26 11:28:55,597] INFO - SimHub.Plugins.OutputPlugins.Dash.SerialDashPlugin::DataUpdate 855calls 10.320ms 855calls 0.012ms/call [2024-03-26 11:28:55,597] INFO - SimHub.Plugins.Devices.DevicesPlugin::DataUpdate 855calls 5.219ms 855calls 0.006ms/call [2024-03-26 11:28:55,597] INFO - SimHub.Plugins.OutputPlugins.GraphicalDash.GraphicalDashPlugin::DataUpdate 855calls 40.128ms 855calls 0.047ms/call [2024-03-26 11:28:55,597] INFO - SimHub.Plugins.DataPlugins.DataCore.DataCorePlugin::DataUpdate 855calls 23.717ms 855calls 0.028ms/call [2024-03-26 11:28:55,597] INFO - SimHub.Plugins.Web.WebPlugin::DataUpdate 855calls 2.920ms 855calls 0.003ms/call [2024-03-26 11:28:55,597] INFO - SimHub.Plugins.AudioControl.AudioControlPlugin::DataUpdate 855calls 21.935ms 855calls 0.026ms/call [2024-03-26 11:28:55,597] INFO - SimHub.Plugins.DataPlugins.SystemInfosProvider::DataUpdate 855calls 5.086ms 855calls 0.006ms/call [2024-03-26 11:28:55,597] INFO - SimHub.Plugins.DataPlugins.PersistantTracker.LapHitoryPlugin::DataUpdate 855calls 0.164ms 855calls 0.000ms/call [2024-03-26 11:28:55,597] INFO - SimHub.Plugins.DataPlugins.ShakeItV3.ShakeITBSV3Plugin::DataUpdate 855calls 41.835ms 855calls 0.049ms/call [2024-03-26 11:28:55,597] INFO - SimHub.Plugins.DataPlugins.ShakeItV3.ShakeITMotorsV3Plugin::DataUpdate 855calls 11.368ms 855calls 0.013ms/call [2024-03-26 11:28:55,597] INFO - SimHub.Plugins.OutputPlugins.Nextion.NextionPlugin::DataUpdate 855calls 0.231ms 855calls 0.000ms/call [2024-03-26 11:28:55,597] INFO - SimHub.Plugins.DataPlugins.Thrustmaster.ThrustmastersPlugin::DataUpdate 855calls 0.198ms 855calls 0.000ms/call [2024-03-26 11:28:55,601] INFO - Final Exit (took 0.14s)
Have you changed directly in file compatibility to run as admin mode that could explain why windows can't "start simhub" during windows startup ? I see that your last log still show administrator privileges, which is not normal.
I`m not remember but i have it done - after remove it works :-)
Thanks for the feedback !
Thanks for help - I think that I have problem when simhub all time ask me about admin privileges on autostart and I add this permission on compatibility mode - now it work also with "run as administrator"
Your task planner is corrupted seeing your logs, so simhub could not run as administrator without "your help" (validating the UAC prompt) But since the main component requiring administrator privileges has been deprecated about one year ago, having admin privileges is really not useful anymore and there is no prompts to enable it anymore.
Describe the bug Autostart not work - I have checked autostart in app and also I put simhub in autostart folder - no one work. How to debug whats going ok ?
Simhub version latest version
Third party plugins no