Project

General

Profile

Can't install WJ2: Error using waijung_lm.getComputerID

Added by Julian S 7 days ago

Hi everyone,

when trying to install Waijung 2 using MATLAB R2025b according to the install instructions, I cannot open the license manager (step 5).
Running install_waijung2 in MATLAB runs sucessfully with the following output:

Pre-Installation
Host computer: PCWIN64
Operating System:  
Microsoft Windows [Version 10.0.26200.7171] 

Checking previous Waijung2 installation (if any)...
No Waijung2 installation was found in the system
Checking Matlab...
Checking Matlab installed packages ...
Matlab package checking OK
Installing Waijung2_25.4a
Adding paths...
Adding paths... completed!
**********************************************
Installing 'esp32' Target 
**********************************************
Adding path...
updating
target.remove summary:

    The following objects were not removed from the internal database because they are referenced by other objects:
        target.LanguageImplementation    "ESP32LanguageImplementation" 

target.remove summary:

    Objects removed from internal database:
        target.Processor    "Cadence Design Systems (Tensilica)-Espressif Xtensa single-/dual-core 32-bit LX6 microprocessor" 

target.add summary:

    Objects added to internal database, which will persist across MATLAB sessions:
        target.Processor                 "Cadence Design Systems (Tensilica)-Espressif Xtensa single-/dual-core 32-bit LX6 microprocessor" 
    1 object not added because they already exist.

Adding path OK
Install esp32 target speceifics
Validating ESP-IDF path...
ESP32 IDF Path checked OK.
Updating Python Environment config file...
Updating Python Environment config file... done!
Installing ESP32 Drivers...
Using cached directory: C:\ProgramData\Waijung\targets\esp32\setup/tools/idf-driver/silabs-2021-05-03
Ok
Using cached directory: C:\ProgramData\Waijung\targets\esp32\setup/tools/idf-driver/ftdi-2021-05-03
Ok
Using cached directory: C:\ProgramData\Waijung\targets\esp32\setup/tools/idf-driver/idf-driver-esp32-usb-jtag-2021-07-15
Ok
Ok
Requesting elevation of privileges for: C:\ProgramData\Waijung\targets\esp32\setup\idf-env.exe driver install --espressif --ftdi --silabs --no-download 
Exit code: 0x2a
Ok
Checking Antivirus guard...
Windows Defender ditected.
Adding Exclusions to Windows Defender 
Requesting elevation of privileges for: C:\ProgramData\Waijung\targets\esp32\setup\idf-env.exe antivirus exclusion add --all 
Exit code: 0x2a
Ok
Requesting elevation of privileges for: C:\ProgramData\Waijung\targets\esp32\setup\idf-env.exe antivirus exclusion add --path C:\ProgramData\Waijung\targets\esp32\setup 
Exit code: 0x2a
Ok
'esp32' Target installation completed successfully.
**********************************************
Installing 'zynq7000' Target 
**********************************************
Adding path...
updating
target.remove summary:

    The following objects were not removed from the internal database because they are referenced by other objects:
        target.LanguageImplementation    "ESP32LanguageImplementation" 

target.remove summary:

    Objects removed from internal database:
        target.Processor    "Cadence Design Systems (Tensilica)-Espressif Xtensa single-/dual-core 32-bit LX6 microprocessor" 

target.add summary:

    Objects added to internal database, which will persist across MATLAB sessions:
        target.Processor                 "Cadence Design Systems (Tensilica)-Espressif Xtensa single-/dual-core 32-bit LX6 microprocessor" 
    1 object not added because they already exist.

Adding path OK
Install target speceifics
'zynq7000' Target installation completed successfully.
Opening 'Waijung License Manager APP'...
'Waijung2' installation completed successfully!

 Note: If you get an error while using Waijung 2, please follow the steps mentioned below:
      - Update to latest Waijung version from our download page
      - Install all relevant patches if available
      - Go to our forum page to see if someone has already reported the same error as you and if there is a solution provided
      - If none of the above work, please create a new issue on the forum reporting the error you face. This is the best and quickest way to contact us
Installation done! Please open Waijung License Manager App!

When then clicking on the Waijung License Manager app, I'm getting the following error:

Error using waijung_lm.getComputerID
Invalid default value for property 'computerID' in class 'WJLM':
system command error, Please restart matlab.

Error in WaijungManager/startupFcn (line 20)
                WJLM;
                ^^^^^
Error in appdesigner.internal.service.AppManagementService/runStartupFcn (line 27)
    startupFcn(app);
    ^^^^^^^^^^^^^^^^
Error in matlab.apps.AppBase/runStartupFcn (line 60)
            ams.runStartupFcn(app, startfcn);
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in WaijungManager (line 73)
            runStartupFcn(app, @startupFcn)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in WaijungLicenseManagerApp/startApp (line 86)
                obj.AppHandle = eval('WaijungManager');
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in WaijungLicenseManagerApp (line 48)
            startApp(obj)
            ^^^^^^^^^^^^^
Error in appinstall.internal.runapp>execute (line 116)
out = evalin('caller', [script ';']);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in appinstall.internal.runapp>runapp13a (line 95)
outobj = execute(fullfile(appinstalldir, [wrapperfile 'App.m']));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in appinstall.internal.runapp>preamble18b (line 60)
    appobj = runapp13a(appinstalldir);
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in appinstall.internal.runapp (line 13)
    out = preamble18b(appinstalldir);
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in matlab.apputil.run (line 45)
appinstall.internal.runapp(appName, appLocation);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Closing and re-opening MATLAB does not help and delivers the same error message, when clicking on the Waijung License Manager app.