Page 1 of 2

Issue launching GSmartControl on Installed WinRE

Posted: Thu Aug 29, 2024 11:01 pm
by Mr.X
Firstly, I don't know whether this issue is caused by TBLauncher or is a GSmartControl bug or a RE bug.

If I launch GSmartControl from TBLauncher menu
01.jpg
01.jpg (174.08 KiB) Viewed 3502 times


See next post...

Re: Issue launching GSmartControl on Installed WinRE

Posted: Thu Aug 29, 2024 11:03 pm
by Mr.X
I get
02.jpg
02.jpg (165.19 KiB) Viewed 3503 times
03.jpg
03.jpg (177.55 KiB) Viewed 3502 times
04.jpg
04.jpg (158.78 KiB) Viewed 3501 times


See next post...

Re: Issue launching GSmartControl on Installed WinRE

Posted: Thu Aug 29, 2024 11:05 pm
by Mr.X
When I launch it from the main executable browsing to the path using Explorer++, it launches just fine
05.jpg
05.jpg (176.39 KiB) Viewed 3501 times
06.jpg
06.jpg (148.59 KiB) Viewed 3501 times

Re: Issue launching GSmartControl on Installed WinRE

Posted: Thu Aug 29, 2024 11:14 pm
by TeraByte Support
if you go back after it ran without a message, does it do the same thing ? Could it be the current directory it needs?

Re: Issue launching GSmartControl on Installed WinRE

Posted: Thu Aug 29, 2024 11:40 pm
by Mr.X
Go back?
Current directory?
Not sure what you mean with both questions. Sorry.

Re: Issue launching GSmartControl on Installed WinRE

Posted: Thu Aug 29, 2024 11:53 pm
by TeraByte Support
try launching it again after you've launch again after launched successful.

to test current dir, open command prompt, try running the exit via a full path "c:\program files\xyz\abc.exe" .. then change to that directory, try launching abc.exe .. if difference, it's the current directory that needs to be set.

Re: Issue launching GSmartControl on Installed WinRE

Posted: Fri Aug 30, 2024 12:21 am
by TeraByte Support(PP)
If it needs it, you can set the WorkingDir value for the TBLauncher menu item.

Re: Issue launching GSmartControl on Installed WinRE

Posted: Fri Aug 30, 2024 11:36 pm
by Mr.X
TeraByte Support wrote: Thu Aug 29, 2024 11:53 pm try launching it again after you've launch again after launched successful.
Didn't work.
TeraByte Support wrote: Thu Aug 29, 2024 11:53 pm to test current dir, open command prompt, try running the exit via a full path "c:\program files\xyz\abc.exe" .. then change to that directory, try launching abc.exe .. if difference, it's the current directory that needs to be set.
I've got this

Code: Select all

X:\Program Files\GSmartControl>gsmartcontrol.exe

X:\Program Files\GSmartControl>
<dump>  [app] Application options:
<dump>  [app]   locale: 1
<dump>  [app]   version: 0
<dump>  [app]   hide_tabs: 1
<dump>  [app]   scan: 1
<dump>  [app]   arg_add_virtual: [empty]
<dump>  [app]   arg_add_device: [empty]
<dump>  [app]   arg_gdk_scale: nan
<dump>  [app]   arg_gdk_dpi_scale: nan
<dump>  [app] LibDebug options:
<dump>  [app]   levels_enabled: 11111
<dump>  [app]   debug_colorize: false
<dump>  [app] {anonymous}::app_init_config(): Global config file: "gsmartcontrol.conf"
<dump>  [app] {anonymous}::app_init_config(): Local config file: "X:\windows\system32\config\systemprofile\AppData\Roaming\gsmartcontrol\gsmartcontrol.conf"
<dump>  [app] {anonymous}::app_init_config(): Old local config file: "\gsmartcontrol.conf"
<info>  [rmn] Loading under "/config" from file "X:\windows\system32\config\systemprofile\AppData\Roaming\gsmartcontrol\gsmartcontrol.conf".
<dump>  [rconfig] /                    [3] /
config               [4] /config
gui                  [3] /config/gui
main_window          [3] /config/gui/main_window
default_size_w       [3] /config/gui/main_window/default_size_w 560
default_size_h       [3] /config/gui/main_window/default_size_h 450
default_pos_x        [3] /config/gui/main_window/default_pos_x 623
default_pos_y        [3] /config/gui/main_window/default_pos_y 179
default              [4] /default
<info>  [rconfig] Setting autosave config file to "X:\windows\system32\config\systemprofile\AppData\Roaming\gsmartcontrol\gsmartcontrol.conf"
<info>  [rconfig] Starting config autosave with 180 sec. interval.
<info>  [app] Current C locale: C
<info>  [app] Current C++ locale: C
<dump>  [gtk] _g_io_module_get_default: Found default implementation winhttp (GWinHttpVfs) for ÔÇÿgio-vfsÔÇÖ
<dump>  [app] Current GTK theme: Adwaita

(gsmartcontrol.exe:2448): Gdk-WARNING **: 11:01:23.489: ../gtk/gdk/win32/gdkwindow-win32.c:527: DwmEnableBlurBehindWindow (00000000000900fe) failed: 80263001
<info>  [app] get_smartctl_binary(): Smartmontools installation not found in "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\smartmontools\InstallLocation".
<dump>  [default] ENTER: "Cmdex::execute()"
<info>  [app] Cmdex::execute(): Executing "'smartctl-nc.exe' -V".
<dump>  [default] EXIT:  "Cmdex::execute()"

(gsmartcontrol.exe:2448): Gdk-WARNING **: 11:01:25.574: ../gtk/gdk/win32/gdkwindow-win32.c:527: DwmEnableBlurBehindWindow (00000000000500a8) failed: 80263001
<info>  [app] bool CmdexSync::execute(): execute_tick slot returned false, trying to stop the program.
<dump>  [default] ENTER: "Cmdex::try_stop()"
<error> [hz] Error: errno: Operation not permitted
<dump>  [default] EXIT:  "Cmdex::try_stop()"
<warn>  [app] bool CmdexSync::execute(): cmdex_.try_stop() returned false.
<dump>  [default] ENTER: "Cmdex::set_stop_timeouts()"
<dump>  [default] ENTER: "Cmdex::unset_stop_timeouts()"
<dump>  [default] EXIT:  "Cmdex::unset_stop_timeouts()"
<dump>  [default] EXIT:  "Cmdex::set_stop_timeouts()"
<dump>  [default] ENTER: "cmdex_on_kill_timeout()"
<dump>  [default] ENTER: "Cmdex::try_stop()"
<error> [hz] Error: errno: No such process
<dump>  [default] EXIT:  "Cmdex::try_stop()"

Re: Issue launching GSmartControl on Installed WinRE

Posted: Sat Aug 31, 2024 12:37 am
by TeraByte Support
did it start or complain? There shouldn't be any other difference starting it any other way.

Re: Issue launching GSmartControl on Installed WinRE

Posted: Sat Aug 31, 2024 1:35 am
by Mr.X
Watch the video please. Hopefully it describes what's going on...
https://youtu.be/7nQZ-FCtsvc