https://bugs.winehq.org/show_bug.cgi?id=42400
Bug ID: 42400 Summary: cscript.exe doesn't show errors Product: Wine-gecko Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-gecko-unknown Assignee: jacek@codeweavers.com Reporter: kolan_n@mail.ru Distribution: ---
When there is an error in a script cscript.exe outputs nothing.
https://bugs.winehq.org/show_bug.cgi?id=42400
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|jacek@codeweavers.com |wine-bugs@winehq.org Component|wine-gecko-unknown |-unknown Product|Wine-gecko |Wine
https://bugs.winehq.org/show_bug.cgi?id=42400
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- Please attach a script to reproduce and exact cscript command you use.
https://bugs.winehq.org/show_bug.cgi?id=42400
--- Comment #2 from KOLANICH kolan_n@mail.ru --- Created attachment 57226 --> https://bugs.winehq.org/attachment.cgi?id=57226 test.js
"use strict"; WSH.Echo("1"); throw new Error("A"); WSH.Echo("2"); WSH.Quit();
https://bugs.winehq.org/show_bug.cgi?id=42400
Robert Wilhelm sloper42@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |sloper42@yahoo.com Component|-unknown |wscript Ever confirmed|0 |1
--- Comment #3 from Robert Wilhelm sloper42@yahoo.com --- Confirmed in wine-5.18.
$ wine wscript.exe test.js 0024:fixme:jscript:JScript_SetScriptState unimplemented SCRIPTSTATE_INITIALIZED 1 0024:fixme:wscript:ActiveScriptSite_OnScriptError ()
wine/programs/wscript/main.c:
static HRESULT WINAPI ActiveScriptSite_OnScriptError(IActiveScriptSite *iface, IActiveScriptError *pscripterror) { WINE_FIXME("()\n"); return E_NOTIMPL; }
https://bugs.winehq.org/show_bug.cgi?id=42400
francisdb francisdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |francisdb@gmail.com
--- Comment #4 from francisdb francisdb@gmail.com --- Still broken in 9.0
wine --version
wine-9.0
cat ./test.vbs
Dim a a = CInt("100000000000")
wine cscript test.vbs
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 010c:fixme:wscript:ActiveScriptSite_OnScriptError ()
Now on windows
cscript test.vbs
Microsoft (R) Windows Script Host Version 5.812 Copyright (C) Microsoft Corporation. All rights reserved.
G:\My Drive\vpin\test.vbs(2, 1) Microsoft VBScript runtime error: Overflow: 'CInt'