-
Notifications
You must be signed in to change notification settings - Fork 1
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
NodeCall crashes upon import with Julia 1.8.1 #9
Comments
Hi, thanks for the feedback! I am preparing to release a new version that works with the latest Julia & NodeJS (LTS) versions. Sorry for the inconvenience |
Is this issue supposed to be resolved now? I see that something in this package was updated ~3 weeks ago but I still get the same error as before when trying to use the package. I have updated Node to v18 and uninstalled and reinstalled NodeCall with Pkg. Node version v18.12.1 |
Hi sorry for the late reply. Can you try to update again? v1.1.0 has been released now and it's supposed to work on Linux/macOS platforms. |
I just tried it. If I start Julia from terminal and import NodeCall is seems to work now! At least it does not crash on import and it prints hello world.
However, when I try to do the same thing from a Julia session within VS code, it still crashes upon import complaining about files called “jl_gZrLFF.j” and “ noop.js”.
Any ideas on how to solve that? |
Ah I guess it's because you need to do I'll also look into it later. |
It looks weird since that filename should end in |
I don’t think the problem is related to I have discovered a strange phenomena about the issue: The test file I have been using is called “checkConnectionFromJulia.jl”, and when I run it in VS code it crashes even if it only contains a single line with However, if I copy the .jl file to another directory, without modifying it at all, it runs fine from within VS code! “/media/pett3r/Projekt/SyncthingFolder/Diverse_Projekt/Blanda programeringsspråk/Nodejs from Julia/” It is noteworthy that the path is long and contains both spaces and Scandinavian letters (å). However when I copy the .jl file to another path with a name that contains both spaces and Scandinavian letters, it still works, so it is still a mystery what the problem is. Anyway, it seems the issue is solved by just working from a different path, so I will close the issue now, thanks for all the help! Here is the full error given by VS code when it crashes in case you are interested:
|
Wow, thanks so much for the detailed description. I believe the special letters and the long path should be the cause. I'll look into that. |
The problem is caused by incorrectly converting strings that contain non-ascii characters. It's fixed now in v1.1.1 and you can update it 😄 |
Julia version 1.8.2
NodeCall version v1.0.0
OS: kubuntu
Node version: v12.22.9
When I try to use the NodeCall package, it crashes on import. For example, when I type “using NodeCall” in julia, I get the following error:
I have tried to remove and reinstall NodeCall but it doesn’t help. Is NodeCall not working with newer Julia versions?
The text was updated successfully, but these errors were encountered: