https://bugs.winehq.org/show_bug.cgi?id=50723
Bug ID: 50723 Summary: Can't recognize ... as an internal or external command, or batch script Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: cmd Assignee: wine-bugs@winehq.org Reporter: vladimir.kokovic@gmail.com Distribution: ---
Created attachment 69476 --> https://bugs.winehq.org/attachment.cgi?id=69476 Linux shell
As I had trouble starting the icedtea-web in the wine git version, I asked for help from the icedtea-web staff and some guy sent me a command to perform to determine what it was all about.
The original command is: "d:\jdk-10-oracle\bin\java -splash: d:\icedtea-web-image-1.8.4.win\share/icedtea-web\javaws_splash.png @d:\icedtea-web-image-1.8.4.win\bin\itw-modularjdk.args --patch-module=jdk.jsobject=d:\icedtea-web-image-1.8.4.win\share/icedtea-web\jsobject.jar -Xbootclasspath /a:d:\icedtea-web-image-1.8.4.win\share/icedtea-web\javaws.jar;d:\icedtea-web-image-1.8.4.win\share/icedtea-web\plugin.jar;d:\icedtea-web-image-1.8.4.win\share /icedtea-web\jsobject.jar;d:\icedtea-web-image-1.8.4.win\win-deps-runtime\js.jar;d:\icedtea-web-image-1.8.4.win\win-deps-runtime\tagsoup.jar;d:\icedtea-web-image-1.8.4.win\win-deps-runtime\mslinks.jar;d:\jdk-10-oracle\lib\ext\nashorn.jar; -classpath d:\jdk-10-oracle\lib\rt.jar;d:\jdk-10-oracle\lib\ext\jfxrt.jar; -Dicedtea-web.bin.name=itweb-settings.exe -Dicedtea-web.bin.location=d:\icedtea-web-image-1.8.4.win\bin\itweb-settings.exe net.sourceforge.jnlp.controlpanel.CommandLine -verbose"
Based on it, I created a linux script to determine if that command works or not. However, although in my opinion the script command is correct, wine reports that it is incorrect.
Vladimir Koković, DP senior(70), Serbia, Belgrade, 25.February 2021
https://bugs.winehq.org/show_bug.cgi?id=50723
--- Comment #1 from Vladimir Koković vladimir.kokovic@gmail.com --- Created attachment 69477 --> https://bugs.winehq.org/attachment.cgi?id=69477 Generated bat file
https://bugs.winehq.org/show_bug.cgi?id=50723
--- Comment #2 from Vladimir Koković vladimir.kokovic@gmail.com --- Created attachment 69478 --> https://bugs.winehq.org/attachment.cgi?id=69478 Log file
https://bugs.winehq.org/show_bug.cgi?id=50723
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox.xerox2000x@gmail.com
--- Comment #3 from Louis Lenders xerox.xerox2000x@gmail.com --- Created attachment 69479 --> https://bugs.winehq.org/attachment.cgi?id=69479 simple test program
Hi, I have a similar problem with another program. I attach simple test executable to reproduce problem that does not work anymore in current git; it works on windows and in wine-(staging)-6.2. It should print user info using whoami, but currently gives:
"Can't recognize 'whoami' as an internal or external command, or batch script."
In wine-6.2 it gives: DEBIAN\louis
This regresssion is caused by:
Commit: 0d3972ce8ab4a5f7db4ba97161cc6c4c3fdd19f2
Author: Alexandre Julliard <julliard at winehq.org> Date: Mon Feb 15 12:30:28 2021 +0100 ntdll: Allocate the initial process parameters on the Unix side.
@Reporter of bug: could you check if your problem is caused by same commit? Regards
simple test exe
#include <windows.h> #include <wchar.h>
int __cdecl wmain(int argc, WCHAR *argv[]) { const WCHAR *new_args[3];
new_args[0] = L"cmd.exe"; new_args[1] = L"/c whoami"; new_args[2] = NULL; _wspawnv(2, L"c:\windows\system32\cmd.exe", new_args); }
https://bugs.winehq.org/show_bug.cgi?id=50723
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED Fixed by SHA1| |4dad4315d52d6125991bdd14d0a | |6c0ad71e7c24d
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- It should be fixed by 4dad4315d52d6125991bdd14d0a6c0ad71e7c24d.
https://bugs.winehq.org/show_bug.cgi?id=50723
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.3.
https://bugs.winehq.org/show_bug.cgi?id=50723
--- Comment #6 from Vladimir Koković vladimir.kokovic@gmail.com --- (In reply to Alexandre Julliard from comment #5)
Closing bugs fixed in 6.3.
I wouldn't say it's fixed, it's the same thing again: WINEPREFIX=/mnt/WD-Elements-25A1/src/wine-git/install64 WINESERVER=/mnt/WD-Elements-25A1/src/wine-git/install64/bin/wineserver WINELOADER=/mnt/WD-Elements-25A1/src/wine-git/install64/bin/wine64 WINEDLLPATH=/mnt/WD-Elements-25A1/src/wine-git/install64/lib64/wine LD_LIBRARY_PATH=/mnt/WD-Elements-25A1/src/wine-git/install64/lib64/wine: PATH=/mnt/WD-Elements-25A1/src/wine-git/install64/bin:/root/.cargo/bin:/mnt/sdd1/home/src/postgresql-devel/20210205/bin:/root/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin WINEARCH=win64 WINEPATH=/usr/x86_64-w64-mingw32/bin wine64 version=wine-5.17-3391-g0f972e22479 ... Can't recognize '"d:\jdk-10-oracle\bin\java.exe" "-splash:d:\icedtea-web-image-1.8.4.win\share/icedtea-web\javaws_splash.png" "@d:\icedtea-web-image-1.8.4.win\bin\itw-modularjdk.args" "--patch-module=jdk.jsobject=d:\icedtea-web-image-1.8.4.win\share/icedtea-web\jsobject.jar" "-Xbootclasspath/a:d:\icedtea-web-image-1.8.4.win\share/icedtea-web\javaws.jar;d:\icedtea-web-image-1.8.4.win\share/icedtea-web\plugin.jar;d:\icedtea-web-image-1.8.4.win\share/icedtea-web\jsobject.jar;d:\icedtea-web-image-1.8.4.win\win-deps-runtime\js.jar;d:\icedtea-web-image-1.8.4.win\win-deps-runtime\tagsoup.jar;d:\icedtea-web-image-1.8.4.win\win-deps-runtime\mslinks.jar;d:\jdk-10-oracle\lib\ext\nashorn.jar;" "-classpath d:\jdk-10-oracle\lib\rt.jar;d:\jdk-10-oracle\lib\ext\jfxrt.jar;" "-Dicedtea-web.bin.name=itweb-settings.exe" "-Dicedtea-web.bin.location=d:\icedtea-web-image-1.8.4.win\bin\itweb-settings.exe" "net.sourceforge.jnlp.controlpanel.CommandLine" "-verbose" ' as an internal or external command, or batch script.
https://bugs.winehq.org/show_bug.cgi?id=50723
--- Comment #7 from Vladimir Koković vladimir.kokovic@gmail.com --- (In reply to Vladimir Koković from comment #6)
(In reply to Alexandre Julliard from comment #5)
Closing bugs fixed in 6.3.
I wouldn't say it's fixed, it's the same thing again: WINEPREFIX=/mnt/WD-Elements-25A1/src/wine-git/install64 WINESERVER=/mnt/WD-Elements-25A1/src/wine-git/install64/bin/wineserver WINELOADER=/mnt/WD-Elements-25A1/src/wine-git/install64/bin/wine64 WINEDLLPATH=/mnt/WD-Elements-25A1/src/wine-git/install64/lib64/wine LD_LIBRARY_PATH=/mnt/WD-Elements-25A1/src/wine-git/install64/lib64/wine: PATH=/mnt/WD-Elements-25A1/src/wine-git/install64/bin:/root/.cargo/bin:/mnt/ sdd1/home/src/postgresql-devel/20210205/bin:/root/.local/bin:/usr/local/sbin: /usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin WINEARCH=win64 WINEPATH=/usr/x86_64-w64-mingw32/bin wine64 version=wine-5.17-3391-g0f972e22479 ... Can't recognize '"d:\jdk-10-oracle\bin\java.exe" "-splash:d:\icedtea-web-image-1.8.4.win\share/icedtea-web\javaws_splash.png" "@d:\icedtea-web-image-1.8.4.win\bin\itw-modularjdk.args" "--patch-module=jdk.jsobject=d:\icedtea-web-image-1.8.4.win\share/icedtea- web\jsobject.jar" "-Xbootclasspath/a:d:\icedtea-web-image-1.8.4.win\share/icedtea-web\javaws. jar;d:\icedtea-web-image-1.8.4.win\share/icedtea-web\plugin.jar;d:\icedtea- web-image-1.8.4.win\share/icedtea-web\jsobject.jar;d:\icedtea-web-image-1.8. 4.win\win-deps-runtime\js.jar;d:\icedtea-web-image-1.8.4.win\win-deps- runtime\tagsoup.jar;d:\icedtea-web-image-1.8.4.win\win-deps-runtime\mslinks. jar;d:\jdk-10-oracle\lib\ext\nashorn.jar;" "-classpath d:\jdk-10-oracle\lib\rt.jar;d:\jdk-10-oracle\lib\ext\jfxrt.jar;" "-Dicedtea-web.bin.name=itweb-settings.exe" "-Dicedtea-web.bin.location=d:\icedtea-web-image-1.8.4.win\bin\itweb- settings.exe" "net.sourceforge.jnlp.controlpanel.CommandLine" "-verbose" ' as an internal or external command, or batch script.
The same thing again: wine64 version=wine-5.17-3433-g3c2db20f668
https://bugs.winehq.org/show_bug.cgi?id=50723
Vladimir Koković vladimir.kokovic@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |--- Status|CLOSED |UNCONFIRMED
--- Comment #8 from Vladimir Koković vladimir.kokovic@gmail.com --- (In reply to Vladimir Koković from comment #7)
(In reply to Vladimir Koković from comment #6)
(In reply to Alexandre Julliard from comment #5)
Closing bugs fixed in 6.3.
I wouldn't say it's fixed, it's the same thing again: WINEPREFIX=/mnt/WD-Elements-25A1/src/wine-git/install64 WINESERVER=/mnt/WD-Elements-25A1/src/wine-git/install64/bin/wineserver WINELOADER=/mnt/WD-Elements-25A1/src/wine-git/install64/bin/wine64 WINEDLLPATH=/mnt/WD-Elements-25A1/src/wine-git/install64/lib64/wine LD_LIBRARY_PATH=/mnt/WD-Elements-25A1/src/wine-git/install64/lib64/wine: PATH=/mnt/WD-Elements-25A1/src/wine-git/install64/bin:/root/.cargo/bin:/mnt/ sdd1/home/src/postgresql-devel/20210205/bin:/root/.local/bin:/usr/local/sbin: /usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin WINEARCH=win64 WINEPATH=/usr/x86_64-w64-mingw32/bin wine64 version=wine-5.17-3391-g0f972e22479 ... Can't recognize '"d:\jdk-10-oracle\bin\java.exe" "-splash:d:\icedtea-web-image-1.8.4.win\share/icedtea-web\javaws_splash.png" "@d:\icedtea-web-image-1.8.4.win\bin\itw-modularjdk.args" "--patch-module=jdk.jsobject=d:\icedtea-web-image-1.8.4.win\share/icedtea- web\jsobject.jar" "-Xbootclasspath/a:d:\icedtea-web-image-1.8.4.win\share/icedtea-web\javaws. jar;d:\icedtea-web-image-1.8.4.win\share/icedtea-web\plugin.jar;d:\icedtea- web-image-1.8.4.win\share/icedtea-web\jsobject.jar;d:\icedtea-web-image-1.8. 4.win\win-deps-runtime\js.jar;d:\icedtea-web-image-1.8.4.win\win-deps- runtime\tagsoup.jar;d:\icedtea-web-image-1.8.4.win\win-deps-runtime\mslinks. jar;d:\jdk-10-oracle\lib\ext\nashorn.jar;" "-classpath d:\jdk-10-oracle\lib\rt.jar;d:\jdk-10-oracle\lib\ext\jfxrt.jar;" "-Dicedtea-web.bin.name=itweb-settings.exe" "-Dicedtea-web.bin.location=d:\icedtea-web-image-1.8.4.win\bin\itweb- settings.exe" "net.sourceforge.jnlp.controlpanel.CommandLine" "-verbose" ' as an internal or external command, or batch script.
The same thing again: wine64 version=wine-5.17-3433-g3c2db20f668
The same thing again: wine64 version=wine-5.17-3485-g7fa74fa78e2
https://bugs.winehq.org/show_bug.cgi?id=50723
Christian Costa titan.costa@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |titan.costa@gmail.com
--- Comment #9 from Christian Costa titan.costa@gmail.com --- wine-5.17? The bug is supposed to be fixed in wine-6.3.
https://bugs.winehq.org/show_bug.cgi?id=50723
--- Comment #10 from Christian Costa titan.costa@gmail.com --- Forget it! The commit ids in the version numbers match 6.3 and later. I wonder why wine-5.17 is taken as a reference to make the version numbers. oO
https://bugs.winehq.org/show_bug.cgi?id=50723
--- Comment #11 from Austin English austinenglish@gmail.com --- (In reply to Christian Costa from comment #10)
Forget it! The commit ids in the version numbers match 6.3 and later. I wonder why wine-5.17 is taken as a reference to make the version numbers. oO
Probably tags weren't fetched (i.e., run `git fetch --tags`)
https://bugs.winehq.org/show_bug.cgi?id=50723
--- Comment #12 from Christian Costa titan.costa@gmail.com --- (In reply to Austin English from comment #11)
(In reply to Christian Costa from comment #10)
Forget it! The commit ids in the version numbers match 6.3 and later. I wonder why wine-5.17 is taken as a reference to make the version numbers. oO
Probably tags weren't fetched (i.e., run `git fetch --tags`)
Ah yeah indeed, makes sense thanks.
https://bugs.winehq.org/show_bug.cgi?id=50723
--- Comment #13 from Vladimir Koković vladimir.kokovic@gmail.com --- (In reply to Christian Costa from comment #12)
(In reply to Austin English from comment #11)
(In reply to Christian Costa from comment #10)
Forget it! The commit ids in the version numbers match 6.3 and later. I wonder why wine-5.17 is taken as a reference to make the version numbers. oO
Probably tags weren't fetched (i.e., run `git fetch --tags`)
Ah yeah indeed, makes sense thanks.
And now with a correct tag, again the same thing: wine64 version=wine-6.3-139-g6d5659103f4
https://bugs.winehq.org/show_bug.cgi?id=50723
--- Comment #14 from Vladimir Koković vladimir.kokovic@gmail.com --- (In reply to Vladimir Koković from comment #13)
(In reply to Christian Costa from comment #12)
(In reply to Austin English from comment #11)
(In reply to Christian Costa from comment #10)
Forget it! The commit ids in the version numbers match 6.3 and later. I wonder why wine-5.17 is taken as a reference to make the version numbers. oO
Probably tags weren't fetched (i.e., run `git fetch --tags`)
Ah yeah indeed, makes sense thanks.
And now with a correct tag, again the same thing: wine64 version=wine-6.3-139-g6d5659103f4
The same thing again: wine64 version=wine-6.4
https://bugs.winehq.org/show_bug.cgi?id=50723
--- Comment #15 from Vladimir Koković vladimir.kokovic@gmail.com --- (In reply to Vladimir Koković from comment #14)
(In reply to Vladimir Koković from comment #13)
(In reply to Christian Costa from comment #12)
(In reply to Austin English from comment #11)
(In reply to Christian Costa from comment #10)
Forget it! The commit ids in the version numbers match 6.3 and later. I wonder why wine-5.17 is taken as a reference to make the version numbers. oO
Probably tags weren't fetched (i.e., run `git fetch --tags`)
Ah yeah indeed, makes sense thanks.
And now with a correct tag, again the same thing: wine64 version=wine-6.3-139-g6d5659103f4
The same thing again: wine64 version=wine-6.4
I don't understand what the difference between Manjaro wine where ITW command works (wine-6.4) and wine git version 6.4-118-G2828D0820A1 Where ITW command do not work ?
https://bugs.winehq.org/show_bug.cgi?id=50723
--- Comment #16 from Vladimir Koković vladimir.kokovic@gmail.com --- (In reply to Vladimir Koković from comment #15)
(In reply to Vladimir Koković from comment #14)
(In reply to Vladimir Koković from comment #13)
(In reply to Christian Costa from comment #12)
(In reply to Austin English from comment #11)
(In reply to Christian Costa from comment #10)
Forget it! The commit ids in the version numbers match 6.3 and later. I wonder why wine-5.17 is taken as a reference to make the version numbers. oO
Probably tags weren't fetched (i.e., run `git fetch --tags`)
Ah yeah indeed, makes sense thanks.
And now with a correct tag, again the same thing: wine64 version=wine-6.3-139-g6d5659103f4
The same thing again: wine64 version=wine-6.4
I don't understand what the difference between Manjaro wine where ITW command works (wine-6.4) and wine git version 6.4-118-G2828D0820A1 Where ITW command do not work ?
The same thing again: wine64 version=wine-6.4-269-gf69c8f01818
https://bugs.winehq.org/show_bug.cgi?id=50723
--- Comment #17 from Vladimir Koković vladimir.kokovic@gmail.com --- (In reply to Vladimir Koković from comment #16)
(In reply to Vladimir Koković from comment #15)
(In reply to Vladimir Koković from comment #14)
(In reply to Vladimir Koković from comment #13)
(In reply to Christian Costa from comment #12)
(In reply to Austin English from comment #11)
(In reply to Christian Costa from comment #10) > Forget it! The commit ids in the version numbers match 6.3 and later. I > wonder why wine-5.17 is taken as a reference to make the version numbers. oO
Probably tags weren't fetched (i.e., run `git fetch --tags`)
Ah yeah indeed, makes sense thanks.
And now with a correct tag, again the same thing: wine64 version=wine-6.3-139-g6d5659103f4
The same thing again: wine64 version=wine-6.4
I don't understand what the difference between Manjaro wine where ITW command works (wine-6.4) and wine git version 6.4-118-G2828D0820A1 Where ITW command do not work ?
The same thing again: wine64 version=wine-6.4-269-gf69c8f01818
Finally with version of wine-6.4-319-g12cfe882677 no longer "Can't recognize ..."!
https://bugs.winehq.org/show_bug.cgi?id=50723
Vijay Kamuju infyquest@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |infyquest@gmail.com Resolution|--- |FIXED
--- Comment #18 from Vijay Kamuju infyquest@gmail.com --- This is actually fixed in wine-6.4-319-g12cfe882677, dont know why its kept open till now.
https://bugs.winehq.org/show_bug.cgi?id=50723
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #19 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 9.12.