New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems with starting #38
Comments
Hi! Does it stop at this line after I will double check on Windows machine anyway... |
I will put more effort to try to narrow it down. So far two print statements around JPTServerStart proved this is the command that gets stuck. |
I have updated the version of frontend. |
@JerryI it is a problem on my machine, I didn't notice but I changed my installation drive from C to E lately and now all Anyway, I get Failure["ZeroMQLink", <|"MessageTemplate" :> SocketOpen::zmqinvcmd, "MessageParameters" -> {"No such device"}|>] from any Will get back to you once I figure out what's wrong on my system. |
Ah. I see. It is now on the testing stage, but will be updated soon. It will probably solve all problems since it does not depend on WL ecosystem. |
@JerryI I solved my problems with SocketOpen but still have troubles. Can we chat somewhere?
Log dump: $ npm run dev
> wljs-frontend@0.3.0 dev
> wolframscript -f Scripts/run.wls dev
{Assets, build, config.build.wl, .defaultpackages, .editorconfig, electron.css, .env, Examples, .git, .gitattributes, .github, .gitignore, imgs, Kernel, LICENSE, log.html, main.js, node_modules, package.json, package-lock.json, .packages, Packages, PacletInfo.wl, preload.js, preloadMain.js, public, README.md, renderer.js, rollup.config.mjs, rollup.utils.config.mjs, Scripts, Services, Src, Styles, Temp, Tests, .vscode, wl_packages, wl_packages_lock.wl}
E:\Idea Projects\wolfram-js-frontend
$CacheDirectory::shdw: Symbol $CacheDirectory appears in multiple contexts {EntityFramework`, Prototypes`}; definitions in context EntityFramework` may shadow or be shadowed by other definitions.
>> LPM >> project directory >> E:\Idea Projects\wolfram-js-frontend
>> LPM >> fetching paclet infos...
[...]
>> LPM >> will be REMOVED: 0
>> LPM >> will be INSTALLED: 0
[...]
>> LPM >> will be UPDATED: 0
Global`NotebookStoreKernelSymbol::shdw: Symbol NotebookStoreKernelSymbol appears in multiple contexts {Global`, JerryI`WolframJSFrontend`Notebook`}; definitions in context Global` may shadow or be shadowed by other definitions.
checking the package...
[...]
Checking missing packages...
Checking updates...
wljs-editor :: 0.1.4 -- 0.1.4 is up to date
[...]
getting modules...
>> LPM >> project directory >> E:\Idea Projects\wolfram-js-frontend\Packages\wljs-wlx-support
[...]
>> LPM >> checking cached
>> LPM >> will be REMOVED: 0
>> LPM >> will be INSTALLED: 0
[...]
>> LPM >> will be UPDATED: 0
>> Snippets >> loading...
First::nofirst: {} has zero length and no first element.
StringDrop::strse: String or list of strings expected at position 1 in StringDrop[First[{}][data], 5].
>> Snippets >> loaded: Crossbar
First::nofirst: {} has zero length and no first element.
StringDrop::strse: String or list of strings expected at position 1 in StringDrop[First[{}][data], 5].
>> Snippets >> loaded: Line tools
First::nofirst: {} has zero length and no first element.
General::stop: Further output of First::nofirst will be suppressed during this calculation.
StringDrop::strse: String or list of strings expected at position 1 in StringDrop[First[{}][data], 5].
General::stop: Further output of StringDrop::strse will be suppressed during this calculation.
>> Snippets >> loaded: List manipulation helpers
>> Snippets >> loaded: Placement assistant
order
wljs-interpreter
wljs-cells
wljs-editor
wljs-graphics3d-threejs
wljs-graphics-d3
wljs-html-support
wljs-hydrator
wljs-inputs
wljs-js-support
wljs-magic-support
wljs-markdown-support
wljs-mermaid-support
wljs-plotly
wljs-wlx-support
wljs-revealjs
wljs-snippets
StringForm[Initializing `1` indices ...., WordData]
Dev mode is activated
Autostart mode is activated
Staring JTP server...
Looking for a free socket...
LISTEN SOCKET
creating async task...
>> JTP: listening..
Staring HTTP server...
>> Created server with sid: 0
Staring WS/HTTP server...
LISTEN SOCKET
>> Created server with sid: 1
ws://127.0.0.1:8085 is used for WebSockets 2
ws://127.0.0.1:8083 is used for WebSockets 1
Open http://127.0.0.1:8081 in your browser
E:/Program Files/Wolfram Research/Mathematica/14.0/wolfram.exe
Started
>> {E:\Idea Projects\wolfram-js-frontend\Packages\wljs-editor\src\boxes.wl, E:\Idea Projects\wolfram-js-frontend\Packages\wljs-graphics3d-threejs\src\kernel.wl, E:\Idea Projects\wolfram-js-frontend\Packages\wljs-graphics-d3\src\kernel.wl, E:\Idea Projects\wolfram-js-frontend\Packages\wljs-html-support\src\kernel.wl, E:\Idea Projects\wolfram-js-frontend\Packages\wljs-hydrator\src\kernel.wl, E:\Idea Projects\wolfram-js-frontend\Packages\wljs-inputs\src\kernel.wl, E:\Idea Projects\wolfram-js-frontend\Packages\wljs-plotly\src\kernel.wl, E:\Idea Projects\wolfram-js-frontend\Packages\wljs-wlx-support\src\evaluator.wl, E:\Idea Projects\wolfram-js-frontend\Packages\wljs-revealjs\src\kernel.wl}
Connected
asyncsocket id: 3446892e-793a-454e-b28d-64b145ef5a1f
Started
Print
Private`Reset
params
>> "LPM >> project directory >> E:\\Idea \
Projects\\wolfram-js-frontend\\Packages\\wljs-wlx-support"
Print
Private`Reset
params
>> "LPM >> fetching paclet infos..."
Print
Private`Reset
params
>> "LPM >> checking cached"
Print
Private`Reset
params
>> "LPM >> WARNING! Passive mode is activated. No fetching will be allowed"
Print
Private`Reset
params
>> "LPM >> using stored data"
Global`NotebookEventFire::shdw: Symbol NotebookEventFire appears in multiple contexts {Global`, JerryI`WolframJSFrontend`Notebook`}; definitions in context Global` may shadow or be shadowed by other definitions.
Print
Private`Reset
params
"done!"
Print
Private`Reset
params
""
NEW CLIENT: 2000
NEW CLIENT: 2024
Reallocate client buffer to 4
CURRENT NUMBER OF CLIENTS: 2
MAX NUMBER OF CLIENTS: 4
RECEIVED 666 BYTES
NullQ::shdw: Symbol NullQ appears in multiple contexts {Compile`Utilities`Runtime`, JerryI`WolframJSFrontend`Utils`}; definitions in context Compile`Utilities`Runtime` may shadow or be shadowed by other definitions.
AddCodeCompletion::shdw: Symbol AddCodeCompletion appears in multiple contexts {CompileUtilities`Notebook`CodeCompletion`, Prototypes`}; definitions in context CompileUtilities`Notebook`CodeCompletion` may shadow or be shadowed by other definitions.
CCompilerDriver`CreateLibrary::instl: The compiler installation directive "CompilerInstallation" -> C:\Users\user\AppData\Roaming\npm does not indicate a usable installation of MinGW-w64 (executable: gcc.exe).
Compile`CompileToLibrary::createlibfailed: The library bytesPosition-bd8ac673-f50c-4c8c-b0c2-b9f6481b67a6 could not be created. The CompilerOption "TraceFunction" -> Print may provide more information.
Lookup::invrl: The argument CompiledLibrary`CompiledLibraryInformation[CompiledLibrary`CompiledLibrary[$Failed]] is not a valid Association or a list of rules.
Keys::invrl: The argument CompiledLibrary`CompiledLibraryLoadFunctions[CompiledLibrary`CompiledLibrary[$Failed], ErrorFunction -> Automatic, LegacyVersionRepair -> True, ExpressionExportOnly -> False] is not a valid Association or a list of rules.
LibraryFunctionLoad::argr: LibraryFunctionLoad called with 1 argument; 4 arguments are expected.
>> {E:, Idea Projects, wolfram-js-frontend, Examples}
sending stuff....
real length: 146610, claimed: 146610
Writting 8000 bytes to a pipe ...
writting to a pipe went good
Writting 8000 bytes to a pipe ...
writting to a pipe went good
Writting 8000 bytes to a pipe ...
writting to a pipe went good
Writting 8000 bytes to a pipe ...
writting to a pipe went good
Writting 8000 bytes to a pipe ...
writting to a pipe went good
NEW CLIENT: 2148
Writting 8000 bytes to a pipe ...
CURRENT NUMBER OF CLIENTS: 3
MAX NUMBER OF CLIENTS: 4
RECEIVED 602 BYTES
writting to a pipe went good
Writting 8000 bytes to a pipe ...
NEW CLIENT: 2468
Reallocate client buffer to 8
writting to a pipe went good
CURRENT NUMBER OF CLIENTS: 4
MAX NUMBER OF CLIENTS: 8
RECEIVED 604 BYTES
Writting 8000 bytes to a pipe ...
writting to a pipe went good
NEW CLIENT: 2276
Writting 8000 bytes to a pipe ...
CURRENT NUMBER OF CLIENTS: 5
MAX NUMBER OF CLIENTS: 8
RECEIVED 609 BYTES
writting to a pipe went good
Writting 8000 bytes to a pipe ...
writting to a pipe went good
Writting 8000 bytes to a pipe ...
writting to a pipe went good
Writting 8000 bytes to a pipe ...
writting to a pipe went good
Writting 8000 bytes to a pipe ...
writting to a pipe went good
Writting 8000 bytes to a pipe ...
writting to a pipe went good
Writting 8000 bytes to a pipe ...
writting to a pipe went good
Writting 8000 bytes to a pipe ...
writting to a pipe went good
Writting 8000 bytes to a pipe ...
writting to a pipe went good
Writting 8000 bytes to a pipe ...
writting to a pipe went good
Writting 2610 bytes to a pipe ...
writting to a pipe went good
writting was done correctly :)
WRITE 146610 BYTES
found! ok
found! ok
found! ok
NEW CLIENT: 1300
CURRENT NUMBER OF CLIENTS: 6
MAX NUMBER OF CLIENTS: 8
RECEIVED 604 BYTES
CURRENT NUMBER OF CLIENTS: 6
MAX NUMBER OF CLIENTS: 8
RECEIVED 613 BYTES
NEW CLIENT: 2356
found! ok
CURRENT NUMBER OF CLIENTS: 7
MAX NUMBER OF CLIENTS: 8
RECEIVED 607 BYTES
found! ok
found! ok
NEW CLIENT: 2000
Reallocate client buffer to 16
CURRENT NUMBER OF CLIENTS: 8
MAX NUMBER OF CLIENTS: 16
RECEIVED 604 BYTES
NEW CLIENT: 2356
found! ok
CURRENT NUMBER OF CLIENTS: 9
MAX NUMBER OF CLIENTS: 16
RECEIVED 605 BYTES
NEW CLIENT: 2120
found! ok
CURRENT NUMBER OF CLIENTS: 10
MAX NUMBER OF CLIENTS: 16
RECEIVED 613 BYTES
NEW CLIENT: 2220
found! ok
CURRENT NUMBER OF CLIENTS: 11
MAX NUMBER OF CLIENTS: 16
RECEIVED 615 BYTES
NEW CLIENT: 2440
found! ok
CURRENT NUMBER OF CLIENTS: 12
MAX NUMBER OF CLIENTS: 16
RECEIVED 617 BYTES
NEW CLIENT: 2368
CURRENT NUMBER OF CLIENTS: 13
MAX NUMBER OF CLIENTS: 16
RECEIVED 618 BYTES
found! ok
found! ok
NEW CLIENT: 2368
CURRENT NUMBER OF CLIENTS: 14
MAX NUMBER OF CLIENTS: 16
RECEIVED 616 BYTES
NEW CLIENT: 2496
found! ok
CURRENT NUMBER OF CLIENTS: 15
MAX NUMBER OF CLIENTS: 16
RECEIVED 630 BYTES
NEW CLIENT: 2184
Reallocate client buffer to 32
found! ok
CURRENT NUMBER OF CLIENTS: 16
MAX NUMBER OF CLIENTS: 32
RECEIVED 623 BYTES
NEW CLIENT: 2080
CURRENT NUMBER OF CLIENTS: 17
MAX NUMBER OF CLIENTS: 32
RECEIVED 624 BYTES
found! ok
found! ok
NEW CLIENT: 2088
CURRENT NUMBER OF CLIENTS: 18
MAX NUMBER OF CLIENTS: 32
RECEIVED 619 BYTES
NEW CLIENT: 2384
found! ok
CURRENT NUMBER OF CLIENTS: 19
MAX NUMBER OF CLIENTS: 32
RECEIVED 618 BYTES
NEW CLIENT: 2236
found! ok
CURRENT NUMBER OF CLIENTS: 20
MAX NUMBER OF CLIENTS: 32
RECEIVED 622 BYTES
NEW CLIENT: 2412
found! ok
CURRENT NUMBER OF CLIENTS: 21
MAX NUMBER OF CLIENTS: 32
RECEIVED 625 BYTES
NEW CLIENT: 2376
found! ok
CURRENT NUMBER OF CLIENTS: 22
MAX NUMBER OF CLIENTS: 32
RECEIVED 628 BYTES
NEW CLIENT: 2228
found! ok
CURRENT NUMBER OF CLIENTS: 23
MAX NUMBER OF CLIENTS: 32
RECEIVED 627 BYTES
found! ok
NEW CLIENT: 2080
CURRENT NUMBER OF CLIENTS: 24
MAX NUMBER OF CLIENTS: 32
RECEIVED 618 BYTES
found! ok
NEW CLIENT: 2228
CURRENT NUMBER OF CLIENTS: 25
MAX NUMBER OF CLIENTS: 32
RECEIVED 623 BYTES
NEW CLIENT: 2416
found! ok
CURRENT NUMBER OF CLIENTS: 26
MAX NUMBER OF CLIENTS: 32
RECEIVED 620 BYTES
NEW CLIENT: 2376
found! ok
CURRENT NUMBER OF CLIENTS: 27
MAX NUMBER OF CLIENTS: 32
RECEIVED 619 BYTES
NEW CLIENT: 2228
found! ok
CURRENT NUMBER OF CLIENTS: 28
MAX NUMBER OF CLIENTS: 32
RECEIVED 628 BYTES
NEW CLIENT: 2412
CURRENT NUMBER OF CLIENTS: 1
MAX NUMBER OF CLIENTS: 2
RECEIVED 500 BYTES
found! ok
NEW CLIENT: 2000
found! ok
CURRENT NUMBER OF CLIENTS: 29
MAX NUMBER OF CLIENTS: 32
RECEIVED 623 BYTES
NEW CLIENT: 2340
found! ok
CURRENT NUMBER OF CLIENTS: 30
MAX NUMBER OF CLIENTS: 32
RECEIVED 635 BYTES
NEW CLIENT: 2464
found! ok
CURRENT NUMBER OF CLIENTS: 31
MAX NUMBER OF CLIENTS: 32
RECEIVED 628 BYTES
found! ok
NEW CLIENT: 2340
Reallocate client buffer to 64
CURRENT NUMBER OF CLIENTS: 32
MAX NUMBER OF CLIENTS: 64
RECEIVED 625 BYTES
NEW CLIENT: 2168
found! ok
CURRENT NUMBER OF CLIENTS: 33
MAX NUMBER OF CLIENTS: 64
RECEIVED 623 BYTES
NEW CLIENT: 2244
CURRENT NUMBER OF CLIENTS: 34
MAX NUMBER OF CLIENTS: 64
RECEIVED 623 BYTES
found! ok
found! ok
NEW CLIENT: 2436
CURRENT NUMBER OF CLIENTS: 35
MAX NUMBER OF CLIENTS: 64
RECEIVED 647 BYTES
NEW CLIENT: 2088
found! ok
CURRENT NUMBER OF CLIENTS: 36
MAX NUMBER OF CLIENTS: 64
RECEIVED 645 BYTES
NEW CLIENT: 2480
found! ok
CURRENT NUMBER OF CLIENTS: 37
MAX NUMBER OF CLIENTS: 64
RECEIVED 636 BYTES
NEW CLIENT: 2116
found! ok
CURRENT NUMBER OF CLIENTS: 38
MAX NUMBER OF CLIENTS: 64
RECEIVED 655 BYTES
found! ok
NEW CLIENT: 2244
CURRENT NUMBER OF CLIENTS: 39
MAX NUMBER OF CLIENTS: 64
RECEIVED 635 BYTES
found! ok |
Is there any luck with a new version? |
Hi, I am trying to run the project from the repository but it gets stuck at this:
I also see some minor errors along the way:
Tested on v13.4 and v14 prerelease kernel. Windows 10
The text was updated successfully, but these errors were encountered: