-
Notifications
You must be signed in to change notification settings - Fork 71
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
Code reloading on remote nodes #207
Comments
Sorry forgot to mention I am running the latest release of Erlide along with OTP 17. |
Thanks for the report. I tried it with 0.29.6 and it worked fine. It's possible that it's the same issue as in the other ticket you opened. Please attach the full log. |
Hi Vlad, Here's everything I see from the console: (java:22682): Gtk-WARNING **: Unable to locate theme engine in module_path: "smooth", (java:22682): Gtk-WARNING *: Unable to locate theme engine in module_path: "smooth", Thanks for your help!Regards, Devin |
So it worked in the beginning (at least it connected to the remote node) and suddenly started giving this error? You didn't change anything just then? I mean the two tickets are probably the same issue? |
What's strange is that loading the module and running it did work initially but updates to the module code did not work. However, now initial loading doesn't work either (hence the second ticket). I have tried with new workspaces, and even uninstalling/reinstalling eclipse but even this has not made a difference. Very strange. Connecting to a node started on the same machine does work without the badrpc error. The issue seem to be just with nodes on another machine. However, I can establish a remote shell to that node on the other machine using erl just fine. If it were some configuration corruption issue, would removing the workspace and starting over be enough, or is there some other place eclipse keeps configuration files? |
Ok, thanks, I think I could reproduce it, I'll see what is going on. |
I found that problem. Still not sure why it worked for you in the beginning, but for me it was because the two machines had identical file systems, so beam files were found. Working on a fix. |
fixed |
Now always reloading by sending binary, works for remote nodes.
Nice work! Confirmed this one is fixed. Remote load, and update working well now. Thank you. |
Hi,
Does code reloading on remote nodes (on another machine) work? As a test, I have created a simple module like so:
-module(testing).
-export([dotest/0]).
dotest() ->
io:format("test...~n").
Also setup run configuration for my remote (already running) node. I can run it and it loads and works:
(remote@dbl)1> testing:dotest().
test...
ok
Then I change the code to this and save it:
dotest() ->
io:format("test2...~n").
But I still see this:
(remote@dbl)2> testing:dotest().
test...
ok
Looking at output from the console I see this every time I make a change:
11:27:38,102 I: (InternalBuilder.java:81) : USAGE: build: Start test: AUTO
11:27:38,107 F: (InternalBuilder.java:193) : Will compile 1 resource(s)
11:27:38,152 F: (BuilderHelper.java:399) : compiling testing.erl
11:27:38,178 F: (BuilderHelper.java:553) : :: loading testing in remote@dbl
11:27:38,257 I: (InternalBuilder.java:117) : USAGE: build: Done test took 155
So it looks like it loads the code, but somehow it isn't??
Any ideas?
The text was updated successfully, but these errors were encountered: