wudsn/wudsn-ide-install

Installing Eclipse error

witoldsz opened this issue · 3 comments

Windows 10, running wudsn.exe (most recent main, i.e. commit ba44f3a07ecc873630a1f97dabe941a6af5851af).

Checking installation in C:\Users\witoldsz\Downloads.
Starting full installation of stable version from server https://www.wudsn.com.
Installing Tools.
Installing Eclipse.
ERROR: See messages above and in C:\Users\witoldsz\Downloads\wudsn.log.
Press any key to continue . . .
Sun 01/01/2023 
04:28 PM
Checking installation in C:\Users\witoldsz\Downloads. 
Selected install mode is '--install-all-from-server'. 
Starting full installation of stable version from server https://www.wudsn.com. 
Removing folder C:\Users\witoldsz\Downloads\Install. 
Removing folder C:\Users\witoldsz\Downloads\Tools. 
Environment variables: 
ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\witoldsz\AppData\Roaming
b2eincfilepath=C:\Users\witoldsz\DOWNLO~1
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=WIN10
ComSpec=C:\Windows\system32\cmd.exe
DOWNLOADS_URL=https://www.wudsn.com/productions/java/ide/downloads
DriverData=C:\Windows\System32\Drivers\DriverData
ECLIPSE_APP_EXE=C:\Users\witoldsz\Downloads\Tools\IDE\Eclipse\eclipse\Eclipse.exe
ECLIPSE_APP_NAME=Eclipse.exe
ECLIPSE_FILE=eclipse-platform-4.19-win32-x86_64.zip
ECLIPSE_FOLDER=C:\Users\witoldsz\Downloads\Tools\IDE\Eclipse
ECLIPSE_FOLDER_NAME=eclipse
ECLIPSE_RUNTIME_FOLDER=C:\Users\witoldsz\Downloads\Tools\IDE\Eclipse\eclipse
ECLIPSE_URL=https://www.wudsn.com/productions/java/ide/downloads/eclipse-platform-4.19-win32-x86_64.zip
FPS_BROWSER_APP_PROFILE_STRING=Internet Explorer
FPS_BROWSER_USER_PROFILE_STRING=Default
HOMEDRIVE=C:
HOMEPATH=\Users\witoldsz
INSTALL_FOLDER=C:\Users\witoldsz\Downloads\Install
INSTALL_MODE=--install-all-from-server
JRE_FILE=openjdk-16.0.2_windows-x64_bin.zip
JRE_FOLDER_NAME=jdk-16.0.2
JRE_URL=https://www.wudsn.com/productions/java/ide/downloads/openjdk-16.0.2_windows-x64_bin.zip
LOCALAPPDATA=C:\Users\witoldsz\AppData\Local
LOG=C:\Users\witoldsz\Downloads\wudsn.log
LOGONSERVER=\\WIN10
NUMBER_OF_PROCESSORS=16
OneDrive=C:\Users\witoldsz\OneDrive
OS=Windows_NT
Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Users\witoldsz\AppData\Local\Microsoft\WindowsApps;
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=AMD64 Family 23 Model 96 Stepping 1, AuthenticAMD
PROCESSOR_LEVEL=23
PROCESSOR_REVISION=6001
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
PROJECTS_FOLDER=C:\Users\witoldsz\Downloads\Projects
PROMPT=$P$G
PSModulePath=C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules
PUBLIC=C:\Users\Public
SCRIPT_FOLDER=C:\Users\witoldsz\Downloads
SESSIONNAME=Console
SITE_URL=https://www.wudsn.com
SystemDrive=C:
SystemRoot=C:\Windows
TEMP=C:\Users\witoldsz\AppData\Local\Temp
TMP=C:\Users\witoldsz\AppData\Local\Temp
TOOLS_FILE=wudsn-ide-tools-main.zip
TOOLS_FOLDER=C:\Users\witoldsz\Downloads\Tools
TOOLS_URL=https://github.com/peterdell/wudsn-ide-tools/archive/refs/heads/main.zip
UPDATE_URL=https://www.wudsn.com/update/stable
USERDOMAIN=WIN10
USERDOMAIN_ROAMINGPROFILE=WIN10
USERNAME=witoldsz
USERPROFILE=C:\Users\witoldsz
windir=C:\Windows
WORKSPACE_FOLDER=C:\Users\witoldsz\Downloads\Workspace
WORKSPACE_LOCK=C:\Users\witoldsz\Downloads\Workspace\.metadata\.lock
WUDSN_FOLDER=C:\Users\witoldsz\Downloads
WUDSN_VERSION=stable
Installing Tools. 
Downloading repo wudsn-ide-tools to C:\Users\witoldsz\Downloads\Tools. 
Downloading wudsn-ide-tools-main.zip from https://github.com/peterdell/wudsn-ide-tools/archive/refs/heads/main.zip. 
Unpacking wudsn-ide-tools-main.zip to C:\Users\witoldsz\Downloads\Install. 
wudsn-ide-tools-main/ASM/DASM/test/cmdline_defs/declare_var_mac.asm: Can't create '\\\\?\\C:\\Users\\witoldsz\\Downloads\\Install\\wudsn-ide-tools-main\\ASM\\DASM\\test\\cmdline_defs\\declare_var_mac.asm'
wudsn-ide-tools-main/ASM/DASM/test/delete_empty_binary.asm: Can't create '\\\\?\\C:\\Users\\witoldsz\\Downloads\\Install\\wudsn-ide-tools-main\\ASM\\DASM\\test\\delete_empty_binary.asm'
wudsn-ide-tools-main/ASM/DASM/test/m_switch_2.asm: Can't create '\\\\?\\C:\\Users\\witoldsz\\Downloads\\Install\\wudsn-ide-tools-main\\ASM\\DASM\\test\\m_switch_2.asm'
wudsn-ide-tools-main/ASM/DASM/test/m_switch_3.asm: Can't create '\\\\?\\C:\\Users\\witoldsz\\Downloads\\Install\\wudsn-ide-tools-main\\ASM\\DASM\\test\\m_switch_3.asm'
tar: Error exit delayed from previous errors.
Copying files to C:\Users\witoldsz\Downloads\Tools. 
1918 File(s) copied
Removing folder wudsn-ide-tools-main. 
Installing Eclipse. 
Downloading eclipse-platform-4.19-win32-x86_64.zip from https://www.wudsn.com/productions/java/ide/downloads/eclipse-platform-4.19-win32-x86_64.zip. 
Unpacking eclipse-platform-4.19-win32-x86_64.zip to C:\Users\witoldsz\Downloads\Tools\IDE\Eclipse. 
tar: Error opening archive: Unrecognized archive format

The https://www.wudsn.com/productions/java/ide/downloads/eclipse-platform-4.19-win32-x86_64.zip responds with 500 Internal Server Error.

Cool, my first github issue :-). Thanks for reporting it with all required information.
. The problem has been fixed with with
a510e00
Please try with the new EXE.

OK, so I've tried the new .exe but that Windows-thing was removing the file saying it is dangerous (excuse my ignorance, but last time I used Windows, it was XP and now I've installed Windows 10 in virtual machine just to check how does the WUDSN work, waiting for Linux version soon, as promised 😉 )

So, I've tried the .bat version and it worked well. Why the .exe version exists if it's just a problematic way to lunch simple batch files? Or is there some other difference?

If you are a Linux user, scripts are the totally natural way to start a program. CHMOD a+x and there you go. On Windows, it is the opposite. Having the EXE comes with benefits like including icons in different resolutions, publisher information, version information and it is also the only way to associate the application with a file type like ".asm" via the registry.
I didn't expect it to be so much hassle though, because I had released all my other programs as EXE created from Java (jar) files. But since I want to download the JDK/JRE itself, it's not possible. I'm sure I'll find a way to make a EXE that does not result in false positive.
And since now I know that you'd like to try a Linux version, I'm motivated to actually do it.