[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Scripting seems broken loading gui
[Thread Prev] | [Thread Next]
- Subject: Re: Scripting seems broken loading gui
- From: Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
- Date: Fri, 11 Apr 2025 23:18:20 +0200
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Le 11/04/2025 à 12:19, Bruce Steers a écrit :
this command...echo -e 'Use "gb.gui"\nDim sRet As String\nShell "gambas3 --system- information" To sRet\nClipBoard.Copy(sRet,"text/plain")' | gbs3this error.[gb.gui.base]._Gui._InitApp.180: #2: Cannot load class 'MMain': File or directory does not exist[gb.gui.base]._Gui._InitApp.180 ? Using "Use "gb.gui" in a script never used to error, now it does. echo -e 'Use "gb.gui"\nMessage("Hi")'|gbs3 -[gb.gui.base]._Gui._InitApp.180: #2: Cannot load class 'MMain': File or directory does not exist[gb.gui.base]._Gui._InitApp.180 ? Respects BruceS
It's 'gb.gui' that wants to print an error message on the standard error output, but it makes the interpreter raising this error instead.
With the last commit, you don't have the interpreter error anymore, just the warning message.
Now I have to understand why this message, whereas if I run the project created by the scripter from the IDE, I don't have it.
By the way, you can now use 'Hash.MD5()' from 'gb.hash' in the scripter, instead of running the 'md5sum' executable, if you want.
Regards, -- Benoît Minisini.
Scripting seems broken loading gui | Bruce Steers <bsteers4@xxxxxxxxx> |