JerryI / wolfram-js-frontend

Dynamic Notebook Environment for Wolfram Language written in Javascript
https://jerryi.github.io/wljs-docs/
GNU General Public License v3.0
308 stars 14 forks source link

Unable to install on Windows - Failed to load some of the packages #220

Closed ducbadatcs closed 4 months ago

ducbadatcs commented 4 months ago

Hi! I am curently attempting to install this on Windows, but to no avail. I tried both installers (minimal + standard), but nothing seems to work. Here is the log if you are interested:

checking the installation folder...
C:\Users\minhduc\AppData\Roaming\wljs-notebook

Current version: 2.4.4
You are using the latest release

Starting wolframscript by path: wolframscript

Wolfram Language 14.0.0 Engine for Microsoft Windows (64-bit)
Copyright 1988-2023 Wolfram Research, Inc.

In[1]:= 
>> LPM >> project directory >> C:\Users\minhduc\AppData\Roaming\wljs-notebook

>> LPM >> last updated >> Wed 26 Jun 2024 12:04:36

>> CSockets >> Windows >> Windows-x86-64

>> CSockets >> Windows >> Loading library... LLink JustTryToFind

>> CSockets >> Windows >> Succesfully loaded! LLink 7

Get::noopen: Cannot open JerryI`WSP`.

Needs::nocont: Context JerryI`WSP` was not created when Needs was evaluated.

Get::noopen: Cannot open KirillBelov`WebSocketHandler`.

Added new!
StandardEvaluator[JerryI`Notebook`Evaluator`StandardEvaluator`$11]

Get::noopen: Cannot open KirillBelov`WebSocketHandler`.

General::stop: Further output of Get::noopen
     will be suppressed during this calculation.

Needs::nocont: Context KirillBelov`WebSocketHandler`
     was not created when Needs was evaluated.

Caching is not enabled! Type JerryI`WLX`Importer`CacheControl[True] to set it\

>   for all IO operations

Offload::shdw: Symbol Offload appears in multiple contexts 
    {JerryI`WLX`WLJS`, JerryI`Misc`WLJS`Transport`}; definitions in context 
    JerryI`WLX`WLJS` may shadow or be shadowed by other definitions.

Needs::nocont: Context KirillBelov`WebSocketHandler`
     was not created when Needs was evaluated.

General::stop: Further output of Needs::nocont
     will be suppressed during this calculation.

End::argr: End called with 1 argument; 0 arguments are expected.

>> >> Starting local LTP server ...

Initializing WordData indices ....

Staring HTTP server...

>> Command line: 
>> Rest[{}]

Part::partw: Part 2 of Rest[{}] does not exist.

Rest::normal: Nonatomic expression expected at position 1 in Rest[Null].
>> Loading packages: FRONTEND
>> Failed to load some of the packages (see logs)

Other information: WolframScript version: 14.0.0 Windows Version: Windows 10 22H2 - Build 19045.4529

If you require more information, I can provide it to you. Thanks for supporting!

JerryI commented 4 months ago

I see a problem. It looks it tried to fetch some packages, failed and managed for some reason to write to a file telling that it worked well...

I would suggest to locate an installation folder (typically one can click on a button in the launcher's window) and remove folder/files

OR just remove an entire AppData/wljs-notebook and start this app again

PS: We definitely need to reconsider the setup procedure...

ducbadatcs commented 4 months ago

The issues persist even when I delete the AppData/wljs-notebook folder entirely, and the issue seems to be identical...

checking the installation folder...
C:\Users\minhduc\AppData\Roaming\wljs-notebook

Current version: 2.4.4
You are using the latest release

Starting wolframscript by path: wolframscript

Wolfram Language 14.0.0 Engine for Microsoft Windows (64-bit)
Copyright 1988-2023 Wolfram Research, Inc.

In[1]:= 
>> LPM >> project directory >> C:\Users\minhduc\AppData\Roaming\wljs-notebook

>> LPM >> last updated >> Thu 27 Jun 2024 18:57:13

Get::noopen: Cannot open KirillBelov`CSockets`.

Get::noopen: Cannot open JerryI`WSP`.

Needs::nocont: Context JerryI`WSP` was not created when Needs was evaluated.

Get::noopen: Cannot open KirillBelov`WebSocketHandler`.

General::stop: Further output of Get::noopen
     will be suppressed during this calculation.

Added new!
StandardEvaluator[JerryI`Notebook`Evaluator`StandardEvaluator`$11]

Needs::nocont: Context KirillBelov`WebSocketHandler`
     was not created when Needs was evaluated.

Needs::nocont: Context KirillBelov`CSockets`
     was not created when Needs was evaluated.

General::stop: Further output of Needs::nocont
     will be suppressed during this calculation.

Caching is not enabled! Type JerryI`WLX`Importer`CacheControl[True] to set it\

>   for all IO operations

Offload::shdw: Symbol Offload appears in multiple contexts 
    {JerryI`WLX`WLJS`, JerryI`Misc`WLJS`Transport`}; definitions in context 
    JerryI`WLX`WLJS` may shadow or be shadowed by other definitions.

End::argr: End called with 1 argument; 0 arguments are expected.

>> >> Starting local LTP server ...

Initializing WordData indices ....

Staring HTTP server...

>> Command line: 
>> Rest[{}]

Part::partw: Part 2 of Rest[{}] does not exist.

Rest::normal: Nonatomic expression expected at position 1 in Rest[Null].
>> Loading packages: FRONTEND

>> Failed to load some of the packages (see logs)
JerryI commented 4 months ago

This is weird... I have updated a binary for windows. Here is a new link, now it does reinstallation automatically.

I would suggest to do the following

  1. install a new version by a link
  2. click on Reinstall when a log window shows up
  3. after that it will close automatically a window (after you click ok), then will shortly open again
  4. click on Debug in this window, it will carefully record all logs
  5. if it fail again, please, close an app normally. Since now it will be in Debug mode, it generates a log file on exit, which you can forward to me (dm, here or krikus.ms@gmail.com). Please check it beforehand, if it has any private information, which you don't want to disclose.

Hope it will help us to resolve your issue ❤️

ducbadatcs commented 4 months ago

I let it run overnight and it's stuck in "Autotest start!"...

How long is that supposed to take? Can I skip it? Thanks in advance!

JerryI commented 4 months ago

oh jeez. It is too long for sure ;) A typical start time is less than a minute

I think you can just close an app normally and it will give you log file.

ducbadatcs commented 4 months ago

Here is the log if you are interested. I have no idea what is happening but it seems we are making progress.

checking the installation folder...
C:\Users\minhduc\AppData\Roaming\wljs-notebook

Current version: 2.4.4
You are using the latest release

Starting wolframscript by path: wolframscript

Wolfram Language 14.0.0 Engine for Microsoft Windows (64-bit)
Copyright 1988-2023 Wolfram Research, Inc.

In[1]:= 
>> LPM >> project directory >> C:\Users\minhduc\AppData\Roaming\wljs-notebook

>> LPM >> last updated >> Sat 29 Jun 2024 01:12:39

>> CSockets >> Windows >> Windows-x86-64

>> CSockets >> Windows >> Loading library... LLink JustTryToFind

>> CSockets >> Windows >> Succesfully loaded! LLink 7

Get::noopen: Cannot open KirillBelov`HTTPHandler`.

Get::noopen: Cannot open KirillBelov`HTTPHandler`Extensions`.

Get::noopen: Cannot open KirillBelov`WebSocketHandler`.

General::stop: Further output of Get::noopen
     will be suppressed during this calculation.

Needs::nocont: Context KirillBelov`HTTPHandler`Extensions`
     was not created when Needs was evaluated.

Added new!
StandardEvaluator[JerryI`Notebook`Evaluator`StandardEvaluator`$11]

Needs::nocont: Context KirillBelov`WebSocketHandler`
     was not created when Needs was evaluated.

Caching is not enabled! Type JerryI`WLX`Importer`CacheControl[True] to set it\

>   for all IO operations

Offload::shdw: Symbol Offload appears in multiple contexts 
    {JerryI`WLX`WLJS`, JerryI`Misc`WLJS`Transport`}; definitions in context 
    JerryI`WLX`WLJS` may shadow or be shadowed by other definitions.

Needs::nocont: Context KirillBelov`WebSocketHandler`
     was not created when Needs was evaluated.

General::stop: Further output of Needs::nocont
     will be suppressed during this calculation.

End::argr: End called with 1 argument; 0 arguments are expected.

Github::shdw: Symbol Github appears in multiple contexts 
    {JerryI`WLJSPM`, JerryI`LPM`}; definitions in context JerryI`WLJSPM`
     may shadow or be shadowed by other definitions.

>> WLJS::PM >> project directory >>\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook

>> WLJS::PM >> last updated >> Sat 29 Jun 2024 01:13:27
>> WLJS::PM >> fetching paclet infos...
>> WLJS::PM >> passive mode
>> WLJS::PM >> checking cached

>> WLJS::PM >> using stored data

>> >> Starting local LTP server ...

Initializing WordData indices ....

Staring HTTP server...

>> Command line: 
>> Rest[{}]

Rest::norest: Cannot take Rest of expression {} with length zero.

Rest::argx: Rest called with 0 arguments; 1 argument is expected.

Part::partw: Part 1 of Rest[] does not exist.
>> {} -> Rest[][[1]]

Rest::normal: Nonatomic expression expected at position 1 in Rest[Null].
>> ENV
>> <|"host" -> "127.0.0.1", "http" -> 20560, "ws" -> 20559, "jtp" -> 20562,\

>    "ws2" -> 20563, "docs" -> 20540, {} -> Rest[][[1]]|>
>> Loading packages: FRONTEND

OptionValue::nodef: Unknown option Data for Component$19058.

OptionValue::nodef: Unknown option Size for Component$19058.

OptionValue::nodef: Unknown option Data for Component$19058.

General::stop: Further output of OptionValue::nodef
     will be suppressed during this calculation.

Added new!
StandardEvaluator[JerryI`Notebook`Evaluator`StandardEvaluator`$14]

Added new!
StandardEvaluator[JerryI`Notebook`Evaluator`StandardEvaluator`$15]

Added new!
StandardEvaluator[JerryI`Notebook`Evaluator`StandardEvaluator`$16]

Added new!
StandardEvaluator[JerryI`Notebook`Evaluator`StandardEvaluator`$17]

Added new!
StandardEvaluator[JerryI`Notebook`Evaluator`StandardEvaluator`$18]

Added new!
StandardEvaluator[JerryI`Notebook`Evaluator`StandardEvaluator`$19]

Added new!
StandardEvaluator[JerryI`Notebook`Evaluator`StandardEvaluator`$20]

Added new!
StandardEvaluator[JerryI`Notebook`Evaluator`StandardEvaluator`$21]

Added new!
StandardEvaluator[JerryI`Notebook`Evaluator`StandardEvaluator`$22]

Added new!
StandardEvaluator[JerryI`Notebook`Evaluator`StandardEvaluator`$23]

>> DecoderLoaded!
>> Notebook`Editor`ExportDecoder`Internal`check

>> Snippets >> Library loading...

>> Snippets >> Loading >>\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wljs_packages\wljs-snippe\

>    ts\library\camera.wln

>> Snippets >> Loading >>\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wljs_packages\wljs-snippe\

>    ts\library\datascii.wln

>> Snippets >> Loading >>\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wljs_packages\wljs-snippe\

>    ts\library\dyntable.wln

>> Snippets >> Loading >>\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wljs_packages\wljs-snippe\

>    ts\library\formatter.wln

>> Snippets >> Loading >>\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wljs_packages\wljs-snippe\

>    ts\library\matrix.wln

>> Snippets >> Loading >>\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wljs_packages\wljs-snippe\

>    ts\library\placement-joystick.wln

>> Snippets >> Loading >>\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wljs_packages\wljs-snippe\

>    ts\library\placement-slider.wln

>> Snippets >> Loading >>\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wljs_packages\wljs-snippe\

>    ts\library\placement.wln

>> Snippets >> Loading >>\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wljs_packages\wljs-snippe\

>    ts\library\showopts.wln

First::nofirst: {} has zero length and no first element.

First::nofirst: {} has zero length and no first element.

First::nofirst: {} has zero length and no first element.

General::stop: Further output of First::nofirst
     will be suppressed during this calculation.

>> Snippets >> Loading >>\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wljs_packages\wljs-snippe\

>    ts\library\textformat.wln

>> Snippets >> Loading >>\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wljs_packages\wljs-snippe\

>    ts\library\upload.wln

>> LPM >> project directory >>\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wljs_packages\wljs-snippe\

>    ts

>> LPM >> last updated >> Sat 29 Jun 2024 01:13:36

StringJoin::string: 
   String expected at position 2 in 
    /<>FileNameToURLPath[wljs-interpreter\src\interpreter.js].

StringJoin::string: 
   String expected at position 2 in 
    /<>FileNameToURLPath[wljs-interpreter\src\core.js].

StringJoin::string: 
   String expected at position 2 in 
    /<>FileNameToURLPath[wljs-interpreter\src\settings.js].

General::stop: Further output of StringJoin::string
     will be suppressed during this calculation.

Part::partd: Part specification initialValues[[1]]
     is longer than depth of object.

Part::partd: Part specification initialValues[[2]]
     is longer than depth of object.

Part::partd: Part specification initialValues[[3]]
     is longer than depth of object.

General::stop: Further output of Part::partd
     will be suppressed during this calculation.

>> HTTPHandler[]

>> Snippets >> AI loading...

Starting HTTP server for docs...

Staring WS/HTTP server...

Test Loaded!
>> Downloads module was attached

Settings Loaded!

Window Loaded!

>> Swizzle!!!!
>> Views\Notebook\Components\CellSubgroup.wlx

>> Swizzle!!!!
>> Views\Notebook\Components\Controls.wlx

Syntax::com: Warning: comma encountered with no adjacent expression. The
     expression will be treated as Null. .

Global`$DefaultSerializer::shdw: 
   Symbol $DefaultSerializer appears in multiple contexts 
    {Global`, JerryI`WLX`WebUI`Private`}; definitions in context Global`
     may shadow or be shadowed by other definitions.

App Loaded!
Autolaunch!

>> >> Starting using path: "C:/Program Files/Wolfram Research/Wolfram\

>    Engine/14.0/wolfram.exe" -wstp

JerryI`Notebook`LocalKernel`Private`LocalKernelObject[JerryI`Notebook`LocalKe\

>    rnel`Private`LocalKernelObject`$26]

Done?

>> Autotest start!
JerryI commented 4 months ago

thanks for a log file! :)

Aha. Have you clicked ’reinstall’ before going to debug mode? It looks like it did not do anything according to the log.

JerryI commented 4 months ago

https://github.com/JerryI/wolfram-js-frontend/assets/4111822/bf77a6b6-9d8b-45c8-9917-b2b03a33cfeb

here is an example.

  1. reinstall
  2. then immediately press Debug
  3. after you close an app (doesn't matter if it stuck or not) it will generate a log file
ducbadatcs commented 4 months ago

ok, got this log and now I am even more confused. Like I do have a license for this and I was using the shell itself normally.

checking the installation folder...
C:\Users\minhduc\AppData\Roaming\wljs-notebook
System folder is empty! Starting installation...
Downloading .zip archive to C:\Users\minhduc\AppData\Roaming\wljs-notebook...
+ | 2026
...
+ | 225138164
+ | 225167988
+ | 225238643
+ | 225308539
+ | 225379249
+ | 225450515
+ | 225521234
+ | 225596886
+ | 225695190
+ | 225795114
+ | 225865964
+ | 225889457
+ | 225993233
+ | 226064217
+ | 226135483
+ | 226206249
+ | 226233580
File succesfully downloaded
Unzipping...
1400
Extracted
JerryI-wolfram-js-frontend-f301d94
`.git` was removed
Copying new data...
Done
Cache reset
Done
Temporal folders were cleaned up

Starting wolframscript by path: wolframscript

Wolfram Language 14.0.0 Engine for Microsoft Windows (64-bit)
Copyright 1988-2023 Wolfram Research, Inc.

In[1]:= 
>> LPM >> project directory >> C:\Users\minhduc\AppData\Roaming\wljs-notebook
>> LPM >> fetching paclet infos...

>> LPM >> fetching info by KirillBelovTest/Objects on a Github...

First::normal: Nonatomic expression expected at position 1 in First[Null].

Join::incpt: Incompatible elements in 
    Join[<|key -> 
       Github -> https://github.com/KirillBelovTest/Objects -> master|>, 
     First[Null], <|git-url -> KirillBelovTest/Objects|>] cannot be joined.

>> LPM >> fetching info by JerryI/Internal on a Github...

>> LPM >> fetching info by JerryI/TCPServer on a Github...

>> LPM >> fetching info by JerryI/HTTPHandler on a Github...

>> LPM >> fetching info by JerryI/WebSocketHandler on a Github...

>> LPM >> fetching info by JerryI/CSocketListener on a Github...

First::normal: Nonatomic expression expected at position 1 in First[Null].

Join::incpt: Incompatible elements in 
    Join[<|key -> 
       Github -> https://github.com/JerryI/CSocketListener -> dev2024|>, 
     First[Null], <|git-url -> JerryI/CSocketListener|>] cannot be joined.
>> LPM >> fetching info by JerryI/wl-wlx on a Github...

>> LPM >> fetching info by JerryI/wl-misc on a Github...

>> LPM >> fetching info by JerryI/wl-wljs-packages on a Github...

>> LPM >> checking cached

>> LPM >> fetching a zip archive from the master branch...

>> LPM >> extracting...

>> LPM >> copying... from\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\___temp\JerryI-Internal-f\

>    f70670\ to\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wl_packages\KirillBelov_I\

>    nternal

LPM >> finished!
>> LPM >> fetching a zip archive from the master branch...

>> LPM >> extracting...

>> LPM >> copying... from\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\___temp\JerryI-TCPServer-\

>    d6b9ced\ to\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wl_packages\KirillBelov_T\

>    CPServer

LPM >> finished!

>> LPM >> fetching a zip archive from the master branch...

>> LPM >> extracting...

>> LPM >> copying... from\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\___temp\JerryI-HTTPHandle\

>    r-9d8b836\ to\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wl_packages\KirillBelov_H\

>    TTPHandler

LPM >> finished!
>> LPM >> fetching a zip archive from the master branch...

>> LPM >> extracting...

>> LPM >> copying... from\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\___temp\JerryI-WebSocketH\

>    andler-2ed4dd1\ to\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wl_packages\KirillBelov_W\

>    ebSocketHandler

LPM >> finished!

>> LPM >> fetching a zip archive from the master branch...

>> LPM >> extracting...

>> LPM >> copying... from\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\___temp\JerryI-wl-wlx-c39\

>    f997\ to\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wl_packages\JerryI_WLX

LPM >> finished!

>> LPM >> fetching a zip archive from the master branch...

>> LPM >> extracting...

>> LPM >> copying... from\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\___temp\JerryI-wl-misc-58\

>    242e7\ to\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wl_packages\JerryI_Misc

LPM >> finished!

>> LPM >> fetching a zip archive from the master branch...

>> LPM >> extracting...

>> LPM >> copying... from\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\___temp\JerryI-wl-wljs-pa\

>    ckages-b0c3e16\ to\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wl_packages\JerryI_WLJSPM

LPM >> finished!

Get::noopen: Cannot open KirillBelov`CSockets`.

Get::noopen: Cannot open KirillBelov`Objects`.

Get::noopen: Cannot open KirillBelov`Objects`.

General::stop: Further output of Get::noopen
     will be suppressed during this calculation.

Needs::nocont: Context KirillBelov`Objects`
     was not created when Needs was evaluated.

Needs::nocont: Context JerryI`WSP` was not created when Needs was evaluated.

Added new!
StandardEvaluator[JerryI`Notebook`Evaluator`StandardEvaluator`$11]

Needs::nocont: Context KirillBelov`CSockets`
     was not created when Needs was evaluated.

General::stop: Further output of Needs::nocont
     will be suppressed during this calculation.

Caching is not enabled! Type JerryI`WLX`Importer`CacheControl[True] to set it\

>   for all IO operations

Offload::shdw: Symbol Offload appears in multiple contexts 
    {JerryI`WLX`WLJS`, JerryI`Misc`WLJS`Transport`}; definitions in context 
    JerryI`WLX`WLJS` may shadow or be shadowed by other definitions.

End::argr: End called with 1 argument; 0 arguments are expected.

Github::shdw: Symbol Github appears in multiple contexts 
    {JerryI`WLJSPM`, JerryI`LPM`}; definitions in context JerryI`WLJSPM`
     may shadow or be shadowed by other definitions.

>> WLJS::PM >> project directory >>\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook

>> WLJS::PM >> fetching paclet infos...
>> WLJS::PM >> fetching info by JerryI/wljs-editor on a Github...

>> WLJS::PM >> fetching info by JerryI/Mathematica-ThreeJS-graphics-engine on\

>    a Github...

>> WLJS::PM >> fetching info by JerryI/wljs-sharedlib-d3 on a Github...

>> WLJS::PM >> fetching info by JerryI/wljs-sharedlib-mk on a Github...

>> WLJS::PM >> fetching info by JerryI/wljs-graphics-d3 on a Github...

>> WLJS::PM >> fetching info by JerryI/wljs-html-support on a Github...

>> WLJS::PM >> fetching info by JerryI/wljs-inputs on a Github...

>> WLJS::PM >> fetching info by JerryI/wljs-interpreter on a Github...

>> WLJS::PM >> fetching info by JerryI/wljs-js-support on a Github...

>> WLJS::PM >> fetching info by JerryI/wljs-markdown-support on a Github...

>> WLJS::PM >> fetching info by JerryI/wljs-magic-support on a Github...

>> WLJS::PM >> fetching info by JerryI/wljs-plotly on a Github...

>> WLJS::PM >> fetching info by JerryI/wljs-cells on a Github...

>> WLJS::PM >> fetching info by JerryI/wljs-revealjs on a Github...

>> WLJS::PM >> fetching info by JerryI/wljs-wlx-support on a Github...

>> WLJS::PM >> fetching info by JerryI/wljs-mermaid-support on a Github...

>> WLJS::PM >> fetching info by JerryI/wljs-snippets on a Github...

>> WLJS::PM >> fetching info by JerryI/wljs-alt-cell-controls on a Github...

>> WLJS::PM >> fetching info by JerryI/wljs-print-redirect-fix on a Github...

>> WLJS::PM >> fetching info by JerryI/wljs-export-html on a Github...

>> WLJS::PM >> fetching info by JerryI/wljs-manipulate on a Github...

>> WLJS::PM >> fetching info by JerryI/wljs-sound on a Github...

>> WLJS::PM >> fetching info by JerryI/wljs-video on a Github...

>> WLJS::PM >> checking cached

>> WLJS::PM >> fetching a zip archive from the branch...

>> WLJS::PM >> extracting...

>> WLJS::PM >> copying... from\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\___temp\JerryI-wljs-edito\

>    r-ba490f5\ to\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wljs_packages\wljs-editor

WLJS::PM >> finished!
>> WLJS::PM >> fetching a zip archive from the branch...

>> WLJS::PM >> extracting...

>> WLJS::PM >> copying... from\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\___temp\JerryI-Mathematic\

>    a-ThreeJS-graphics-engine-b2dbc41\ to\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wljs_packages\wljs-graphi\

>    cs3d-threejs

WLJS::PM >> finished!

>> WLJS::PM >> fetching a zip archive from the branch...

>> WLJS::PM >> extracting...

>> WLJS::PM >> copying... from\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\___temp\JerryI-wljs-share\

>    dlib-d3-3ae121d\ to\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wljs_packages\wljs-shared\

>    lib-d3

WLJS::PM >> finished!
>> WLJS::PM >> fetching a zip archive from the branch...

>> WLJS::PM >> extracting...

>> WLJS::PM >> copying... from\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\___temp\JerryI-wljs-share\

>    dlib-mk-e745dea\ to\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wljs_packages\wljs-shared\

>    lib-mk

WLJS::PM >> finished!

>> WLJS::PM >> fetching a zip archive from the branch...

>> WLJS::PM >> extracting...

>> WLJS::PM >> copying... from\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\___temp\JerryI-wljs-graph\

>    ics-d3-e7a079b\ to\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wljs_packages\wljs-graphi\

>    cs-d3

WLJS::PM >> finished!

>> WLJS::PM >> fetching a zip archive from the branch...

>> WLJS::PM >> extracting...

>> WLJS::PM >> copying... from\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\___temp\JerryI-wljs-html-\

>    support-eaa437f\ to\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wljs_packages\wljs-html-s\

>    upport

WLJS::PM >> finished!
>> WLJS::PM >> fetching a zip archive from the branch...

>> WLJS::PM >> extracting...

>> WLJS::PM >> copying... from\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\___temp\JerryI-wljs-input\

>    s-ce79713\ to\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wljs_packages\wljs-inputs

WLJS::PM >> finished!

>> WLJS::PM >> fetching a zip archive from the branch...

>> WLJS::PM >> extracting...

>> WLJS::PM >> copying... from\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\___temp\JerryI-wljs-inter\

>    preter-6810555\ to\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wljs_packages\wljs-interp\

>    reter

WLJS::PM >> finished!
>> WLJS::PM >> fetching a zip archive from the branch...

>> WLJS::PM >> extracting...

>> WLJS::PM >> copying... from\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\___temp\JerryI-wljs-js-su\

>    pport-7b726e4\ to\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wljs_packages\wljs-js-sup\

>    port

WLJS::PM >> finished!

>> WLJS::PM >> fetching a zip archive from the branch...

>> WLJS::PM >> extracting...

>> WLJS::PM >> copying... from\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\___temp\JerryI-wljs-markd\

>    own-support-0250799\ to\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wljs_packages\wljs-markdo\

>    wn-support

WLJS::PM >> finished!

>> WLJS::PM >> fetching a zip archive from the branch...

>> WLJS::PM >> extracting...

>> WLJS::PM >> copying... from\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\___temp\JerryI-wljs-magic\

>    -support-7b883c2\ to\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wljs_packages\wljs-magic-\

>    support

WLJS::PM >> finished!

>> WLJS::PM >> fetching a zip archive from the branch...

>> WLJS::PM >> extracting...

>> WLJS::PM >> copying... from\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\___temp\JerryI-wljs-plotl\

>    y-37815dc\ to\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wljs_packages\wljs-plotly

WLJS::PM >> finished!

>> WLJS::PM >> fetching a zip archive from the branch...

>> WLJS::PM >> extracting...

>> WLJS::PM >> copying... from\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\___temp\JerryI-wljs-cells\

>    -445aded\ to\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wljs_packages\wljs-cells

WLJS::PM >> finished!

>> WLJS::PM >> fetching a zip archive from the branch...

>> WLJS::PM >> extracting...

>> WLJS::PM >> copying... from\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\___temp\JerryI-wljs-revea\

>    ljs-1016254\ to\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wljs_packages\wljs-reveal\

>    js

WLJS::PM >> finished!
>> WLJS::PM >> fetching a zip archive from the branch...

>> WLJS::PM >> extracting...

>> WLJS::PM >> copying... from\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\___temp\JerryI-wljs-wlx-s\

>    upport-ea52278\ to\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wljs_packages\wljs-wlx-su\

>    pport

WLJS::PM >> finished!

>> WLJS::PM >> fetching a zip archive from the branch...

>> WLJS::PM >> extracting...

>> WLJS::PM >> copying... from\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\___temp\JerryI-wljs-merma\

>    id-support-c37a68a\ to\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wljs_packages\wljs-mermai\

>    d-support

WLJS::PM >> finished!

>> WLJS::PM >> fetching a zip archive from the branch...

>> WLJS::PM >> extracting...

>> WLJS::PM >> copying... from\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\___temp\JerryI-wljs-snipp\

>    ets-34dced3\ to\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wljs_packages\wljs-snippe\

>    ts

WLJS::PM >> finished!

>> WLJS::PM >> fetching a zip archive from the branch...

>> WLJS::PM >> extracting...

>> WLJS::PM >> copying... from\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\___temp\JerryI-wljs-alt-c\

>    ell-controls-24e78db\ to\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wljs_packages\wljs-alt-ce\

>    ll-controls

WLJS::PM >> finished!

>> WLJS::PM >> fetching a zip archive from the branch...

>> WLJS::PM >> extracting...

>> WLJS::PM >> copying... from\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\___temp\JerryI-wljs-print\

>    -redirect-fix-d7c14f8\ to\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wljs_packages\wljs-print-\

>    redirect-fix

WLJS::PM >> finished!

>> WLJS::PM >> fetching a zip archive from the branch...

>> WLJS::PM >> extracting...

>> WLJS::PM >> copying... from\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\___temp\JerryI-wljs-expor\

>    t-html-7202ab6\ to\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wljs_packages\wljs-export\

>    -html

WLJS::PM >> finished!
>> WLJS::PM >> fetching a zip archive from the branch...

>> WLJS::PM >> extracting...

>> WLJS::PM >> copying... from\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\___temp\JerryI-wljs-manip\

>    ulate-36fb769\ to\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wljs_packages\wljs-manipu\

>    late

WLJS::PM >> finished!

>> WLJS::PM >> fetching a zip archive from the branch...

>> WLJS::PM >> extracting...

>> WLJS::PM >> copying... from\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\___temp\JerryI-wljs-sound\

>    -f27baa6\ to\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wljs_packages\wljs-sound

WLJS::PM >> finished!

>> WLJS::PM >> fetching a zip archive from the branch...

>> WLJS::PM >> extracting...

>> WLJS::PM >> copying... from\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\___temp\JerryI-wljs-video\

>    -2724260\ to\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wljs_packages\wljs-video

WLJS::PM >> finished!

>> >> Starting local LTP server ...

Initializing WordData indices ....

Staring HTTP server...

>> Command line: 
>> Rest[{}]

Rest::norest: Cannot take Rest of expression {} with length zero.

Rest::argx: Rest called with 0 arguments; 1 argument is expected.

Part::partw: Part 1 of Rest[] does not exist.
>> {} -> Rest[][[1]]

Rest::normal: Nonatomic expression expected at position 1 in Rest[Null].
>> ENV
>> <|"host" -> "127.0.0.1", "http" -> 20560, "ws" -> 20559, "jtp" -> 20562,\

>    "ws2" -> 20563, "docs" -> 20540, {} -> Rest[][[1]]|>
>> Loading packages: FRONTEND

OptionValue::nodef: Unknown option Data for Component$32960.

OptionValue::nodef: Unknown option Size for Component$32960.

OptionValue::nodef: Unknown option Data for Component$32960.

General::stop: Further output of OptionValue::nodef
     will be suppressed during this calculation.

Added new!
StandardEvaluator[JerryI`Notebook`Evaluator`StandardEvaluator`$13]

Added new!
StandardEvaluator[JerryI`Notebook`Evaluator`StandardEvaluator`$14]

Added new!
StandardEvaluator[JerryI`Notebook`Evaluator`StandardEvaluator`$15]

Added new!
StandardEvaluator[JerryI`Notebook`Evaluator`StandardEvaluator`$16]

Added new!
StandardEvaluator[JerryI`Notebook`Evaluator`StandardEvaluator`$17]

Added new!
StandardEvaluator[JerryI`Notebook`Evaluator`StandardEvaluator`$18]

Added new!
StandardEvaluator[JerryI`Notebook`Evaluator`StandardEvaluator`$19]

Added new!
StandardEvaluator[JerryI`Notebook`Evaluator`StandardEvaluator`$20]

Added new!
StandardEvaluator[JerryI`Notebook`Evaluator`StandardEvaluator`$21]

Added new!
StandardEvaluator[JerryI`Notebook`Evaluator`StandardEvaluator`$22]

>> DecoderLoaded!
>> Notebook`Editor`ExportDecoder`Internal`check

>> Snippets >> Library loading...

>> Snippets >> Loading >>\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wljs_packages\wljs-snippe\

>    ts\library\camera.wln

>> Snippets >> Loading >>\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wljs_packages\wljs-snippe\

>    ts\library\datascii.wln

>> Snippets >> Loading >>\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wljs_packages\wljs-snippe\

>    ts\library\dyntable.wln

>> Snippets >> Loading >>\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wljs_packages\wljs-snippe\

>    ts\library\formatter.wln

>> Snippets >> Loading >>\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wljs_packages\wljs-snippe\

>    ts\library\matrix.wln

>> Snippets >> Loading >>\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wljs_packages\wljs-snippe\

>    ts\library\placement-joystick.wln

>> Snippets >> Loading >>\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wljs_packages\wljs-snippe\

>    ts\library\placement-slider.wln

>> Snippets >> Loading >>\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wljs_packages\wljs-snippe\

>    ts\library\placement.wln

>> Snippets >> Loading >>\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wljs_packages\wljs-snippe\

>    ts\library\showopts.wln

First::nofirst: {} has zero length and no first element.

First::nofirst: {} has zero length and no first element.

First::nofirst: {} has zero length and no first element.

General::stop: Further output of First::nofirst
     will be suppressed during this calculation.

>> Snippets >> Loading >>\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wljs_packages\wljs-snippe\

>    ts\library\specialchars.wln

>> Snippets >> Loading >>\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wljs_packages\wljs-snippe\

>    ts\library\textformat.wln

>> Snippets >> Loading >>\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wljs_packages\wljs-snippe\

>    ts\library\upload.wln

>> LPM >> project directory >>\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wljs_packages\wljs-snippe\

>    ts
>> LPM >> fetching paclet infos...

>> LPM >> fetching releases info by JerryI/GPTLink on a Github...

Releases are not available for now... taking a master branch
>> LPM >> fetching info by JerryI/GPTLink on a Github...

>> LPM >> checking cached

>> LPM >> Releases are not available for now... taking a master branch

>> LPM >> fetching a zip archive from the master branch...

>> LPM >> extracting...

>> LPM >> copying... from\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wljs_packages\wljs-snippe\

>    ts\___temp\JerryI-GPTLink-377440e\ to\

>    C:\Users\minhduc\AppData\Roaming\wljs-notebook\wljs_packages\wljs-snippe\

>    ts\wl_packages\KirillBelov_GPTLink

LPM >> finished!

Part::partd: Part specification initialValues[[1]]
     is longer than depth of object.

Part::partd: Part specification initialValues[[2]]
     is longer than depth of object.

Part::partd: Part specification initialValues[[3]]
     is longer than depth of object.

General::stop: Further output of Part::partd
     will be suppressed during this calculation.

>> HTTPHandler[KirillBelov`HTTPHandler`HTTPHandler`$12]

>> Snippets >> AI loading...

Starting HTTP server for docs...

Staring WS/HTTP server...

Test Loaded!
>> Downloads module was attached

Settings Loaded!

Window Loaded!

>> Swizzle!!!!
>> Views\Notebook\Components\CellSubgroup.wlx

>> Swizzle!!!!
>> Views\Notebook\Components\Controls.wlx

Syntax::com: Warning: comma encountered with no adjacent expression. The
     expression will be treated as Null. .

Global`$DefaultSerializer::shdw: 
   Symbol $DefaultSerializer appears in multiple contexts 
    {Global`, JerryI`WLX`WebUI`Private`}; definitions in context Global`
     may shadow or be shadowed by other definitions.

App Loaded!
Autolaunch!

>> >> Starting using path: "C:/Program Files/Wolfram Research/Wolfram\

>    Engine/14.0/wolfram.exe" -wstp

JerryI`Notebook`LocalKernel`Private`LocalKernelObject[JerryI`Notebook`LocalKe\

>    rnel`Private`LocalKernelObject`$25]

Done?

>> Autotest start!

URLFetch::invhttp: 
   A library error occurred. The raw details are: "libcurl error (7): 
    Failed to connect to 127.0.0.1 port 20560 after 2023 ms: Couldn't connect
     to server"

>> Autotest failed!
>> $Failed

The Wolfram Engine exited because of a license error.
JerryI commented 4 months ago

Thank you, @ducbadatchem ! Don't be confused by a license error. Wolfram Engine shows this message as a reaction on any other errors occur in the process (it is not written in official docs, we have figured it out in a hard way ;)

So, your logs provided very important information

>> LPM >> fetching info by KirillBelovTest/Objects on a Github...

First::normal: Nonatomic expression expected at position 1 in First[Null].

Join::incpt: Incompatible elements in 
    Join[<|key -> 
       Github -> https://github.com/KirillBelovTest/Objects -> master|>, 
     First[Null], <|git-url -> KirillBelovTest/Objects|>] cannot be joined.

this is the main problem. We have never seen such behavior, but it looks like this happens in our package manager LPM on those lines

    Echo["LPM >> fetching info by "<>repo<>" on a Github..."];

    (* here we FETCH PACLETINFO.WL file and use its metadata *)
    data = Check[Get["https://raw.githubusercontent.com/"<>repo<>"/"<>ToLowerCase[branch]<>"/PacletInfo.wl"], $Failed];

    Join[a, data//First, <|"git-url"->repo|>]

and for some reason data is Null, which is not possible to have as output from Get function here. Do you have any firewall in your network..? Probably not, since you are writing me on Github with no issues I guess.

I have no better idea, rather than to add log output at those lines. I modified package manager and attached to this message. You just need to locate in the installation folder C:\Users\minhduc\AppData\Roaming\wljs-notebook\ a file LPM.wl and replace it with one I attached.

LPM.txt just rename to LPM.wl

In principle if you run an app again in Debug mode it should provide more detailed information, and then I could try to figure out the

problem and the potential solution.

ducbadatcs commented 4 months ago

I am convinced that the thing hates me now.

checking the installation folder...
C:\Users\minhduc\AppData\Roaming\wljs-notebook

Current version: 2.4.4
You are using the latest release

Starting wolframscript by path: wolframscript

Wolfram Language 14.0.0 Engine for Microsoft Windows (64-bit)
Copyright 1988-2023 Wolfram Research, Inc.

In[1]:= 
>> LPM >> project directory >> C:\Users\minhduc\AppData\Roaming\wljs-notebook
>> LPM >> fetching paclet infos...

>> LPM >> fetching info by KirillBelovTest/Objects on a Github...
>> KirillBelovTest/Objects
>> master
>> https://raw.githubusercontent.com/KirillBelovTest/Objects/master/PacletInf\

>    o.wl

>> PacletObject[KirillBelov/Objects, 1.0.27, <>]

>> <|Name -> KirillBelov/Objects, 

>    Description -> Simple objects implementation, Creator -> Kirill Belov, 

>    License -> MIT, PublisherID -> KirillBelov, Version -> 1.0.27, 

>    WolframVersion -> 13+, PrimaryContext -> KirillBelov`Objects`, 

>    Extensions -> 

>     {{Kernel, Root -> Kernel, 

>       Context -> 

>        {{KirillBelov`Objects`, Objects.wl}, 

>         {KirillBelov`Objects`Extensions`, Extensions.wl}}, 

>       Symbols -> 

>        {KirillBelov`Objects`CreateType, KirillBelov`Objects`Object, 

>         KirillBelov`Objects`ObjectQ, KirillBelov`Objects`TypeQ}}, 

>      {Documentation, Language -> English}, 

>      {Asset, Assets -> 

>        {{Images, ./Images}, {ReadMe, README.md}, {Tests, ./Tests}}}}|>
>> LPM >> fetching info by JerryI/Internal on a Github...
>> JerryI/Internal
>> master

>> https://raw.githubusercontent.com/JerryI/Internal/master/PacletInfo.wl

>> PacletObject[KirillBelov/Internal, 1.0.8, <>]

>> <|Name -> KirillBelov/Internal, Description -> Internal, 

>    Creator -> Kirill Belov, License -> MIT, PublisherID -> KirillBelov, 

>    Version -> 1.0.8, WolframVersion -> 13+, 

>    Extensions -> 

>     {{Kernel, Root -> Kernel, Context -> {KirillBelov`Internal`}, 

>       Symbols -> {}}, {Documentation, Language -> English}, 

>      {LibraryLink, Root -> LibraryResources}, 

>      {Asset, Assets -> {{License, ./LICENSE}, {ReadMe, ./README.md}}}}|>
>> LPM >> fetching info by JerryI/TCPServer on a Github...
>> JerryI/TCPServer
>> master
>> https://raw.githubusercontent.com/JerryI/TCPServer/master/PacletInfo.wl

>> PacletObject[KirillBelov/TCPServer, 1.0.11, <>]

>> <|Name -> KirillBelov/TCPServer, Description -> TCP Server, 

>    Creator -> Kirill Belov, License -> MIT, PublisherID -> KirillBelov, 

>    Version -> 1.0.11, WolframVersion -> 13+, 

>    Extensions -> 

>     {{Kernel, Root -> Kernel, Context -> {KirillBelov`TCPServer`}, 

>       Symbols -> {}}, {Documentation, Language -> English}, 

>      {Asset, Assets -> 

>        {{License, ./LICENSE}, {ReadMe, ./README.md}, 

>         {Examples, ./Examples}, {Tests, ./Tests}}}}|>
>> LPM >> fetching info by JerryI/HTTPHandler on a Github...

>> JerryI/HTTPHandler
>> master
>> https://raw.githubusercontent.com/JerryI/HTTPHandler/master/PacletInfo.wl

>> Null

>> <|Name -> KirillBelov/HTTPHandler, Description -> HTTP Handler, 

>    Creator -> Kirill Belov, License -> MIT, PublisherID -> KirillBelov, 

>    Version -> 1.0.7, WolframVersion -> 13+, 

>    Extensions -> 

>     {{Kernel, Root -> Kernel, 

>       Context -> 

>        {{KirillBelov`HTTPHandler`, HTTPHandler.wl}, 

>         {KirillBelov`HTTPHandler`Extensions`, Extensions.wl}, 

>         {KirillBelov`HTTPHandler`WSPAdapter`, WSPAdapter.wl}}, 

>       Symbols -> {}}, {Documentation, Language -> English}, 

>      {Asset, Assets -> 

>        {{License, ./LICENSE}, {ReadMe, ./README.md}, {Examples, ./Examples}}

>        }}|>
>> LPM >> fetching info by JerryI/WebSocketHandler on a Github...

>> JerryI/WebSocketHandler
>> master
>> https://raw.githubusercontent.com/JerryI/WebSocketHandler/master/PacletInf\

>    o.wl

>> PacletObject[KirillBelov/WebSocketHandler, 2.2.15, <>]

>> <|Name -> KirillBelov/WebSocketHandler, Description -> WebSocket Handler, 

>    Creator -> Kirill Belov, License -> MIT, PublisherID -> KirillBelov, 

>    Version -> 2.2.15, WolframVersion -> 13+, 

>    Extensions -> 

>     {{Kernel, Root -> Kernel, 

>       Context -> 

>        {{KirillBelov`WebSocketHandler`, WebSocketHandler.wl}, 

>         {KirillBelov`WebSocketHandler`Extensions`, Extensions.wl}, 

>         {KirillBelov`WebSocketHandler`RemoteParallelKernel`, 

>          RemoteParallelKernel.wl}}, Symbols -> {}}, 

>      {Documentation, Language -> English}, 

>      {LibraryLink, Root -> LibraryResources}, 

>      {Asset, Assets -> 

>        {{License, ./LICENSE}, {ReadMe, ./README.md}, {Examples, ./Examples}}

>        }}|>
>> LPM >> fetching info by JerryI/CSocketListener on a Github...
>> JerryI/CSocketListener
>> dev2024
>> https://raw.githubusercontent.com/JerryI/CSocketListener/dev2024/PacletInf\

>    o.wl

>> Null

>> <|Name -> KirillBelov/CSockets, Description -> Sockets powered by C, 

>    Creator -> Kirill Belov, License -> MIT, PublisherID -> KirillBelov, 

>    Version -> 1.1.2, WolframVersion -> 12+, 

>    PrimaryContext -> KirillBelov`CSockets`, 

>    Extensions -> 

>     {{Kernel, Root -> Kernel, 

>       Context -> 

>        {{KirillBelov`CSockets`, CSockets.wl}, 

>         {KirillBelov`CSockets`EventsExtension`, EventsExtension.wl}, 

>         {KirillBelov`CSockets`Interface`Windows`, Windows.wl}, 

>         {KirillBelov`CSockets`Interface`Unix`, Unix.wl}}, 

>       Symbols -> 

>        {KirillBelov`CSockets`CSocketObject, 

>         KirillBelov`CSockets`CSocketListener, 

>         KirillBelov`CSockets`CSocketOpen, 

>         KirillBelov`CSockets`CSocketConnect}}, 

>      {Documentation, Language -> English}, 

>      {LibraryLink, Root -> LibraryResources}, 

>      {Asset, Assets -> 

>        {{License, ./LICENSE}, {ReadMe, ./README.md}, {Source, ./Source}, 

>         {Scripts, ./Scripts}, {Tests, ./Tests}}}}|>
>> LPM >> fetching info by JerryI/wl-wlx on a Github...
>> JerryI/wl-wlx
>> master
>> https://raw.githubusercontent.com/JerryI/wl-wlx/master/PacletInfo.wl

>> PacletObject[JerryI/WLX, 2.0.2, <>]

First::normal: Nonatomic expression expected at position 1 in First[Null].
>> First[Null]
>> LPM >> ERROR cannot get JerryI/wl-wlx!
>> LPM >> Abortting

Out[1]= $Aborted

In[2]:= 
JerryI commented 4 months ago

Creepy...

    Echo[ Get["https://raw.githubusercontent.com/"<>new<>"/"<>ToLowerCase[branch]<>"/PacletInfo.wl"] ];
    (* Returns correct result *)
    data = Get["https://raw.githubusercontent.com/"<>new<>"/"<>ToLowerCase[branch]<>"/PacletInfo.wl"];
    Echo[data // First];
    (* Returns First[Null] *)
JerryI commented 4 months ago

Ok, there is a temporal solution.

  1. Remove an entire wljs-notebook folder.
  2. Download this binary (contains all necessary libs)
  3. Turn off your internet connection and run this installer (it will force WLJS to use packed libs coming with a binary)
  4. It should start normally with no internet connection
ducbadatcs commented 4 months ago

I removed the folder, and uninstalled the app via Windows Settings, then I reinstalled using the binary. Then this happens.

Maybe I'll try using WSL via the AppImage (I use Arch WSL)

I'll definitely update on it.

image

JerryI commented 4 months ago

I removed the folder, and uninstalled the app via Windows Settings, then I reinstalled using the binary. Then this happens.

Maybe I'll try using WSL via the AppImage (I use Arch WSL)

I'll definitely update on it.

image

Hmm. Probably for some reason an instance is running in the background. One can try to kill it from a task manager and then an installer should work well

ducbadatcs commented 4 months ago

Update: Installing on WSL Ubuntu works!

This will be the route I'm going for. I will not close this issue, if anyone wants to investigate or work on it further.

ducbadatcs commented 4 months ago

Update 2: I randomly reinstalled on Windows and IT WORKED?

I have no idea but I'm happy, I guess.

That being said, the story won't conclude so easily...

JerryI commented 4 months ago

Please feel free to reopen this issue. We are really sorry for you experiencing those issues. We have 3 Windows machines, 1 Linux and 2 OSX in our device park, and still could not reproduce this :(

Thank you for assisting us, doing all this debugging. It will help other users as well, I believe