No Runtime Configured, Unclear Error Messages
I have a fresh Erlide installation just fetched from the official update site. I use Eclipse 3.5.2, the version from the official Fedora 13 repository. I have installed the Fedora "erlang" package from the same repository 64 packages (Erlang R13B04).
When I open up the preferences for the first time and go into the compiler tab I see the following: http://jonkristensen.com/temp/Screenshot-Preferences.png. When I try to navigate away to the page (change view in the left column) I get this error: http://jonkristensen.com/temp/Screenshot-Could%20Not%20Accept%20Changes.png. I have to press Cancel to get out of there. The problem appears to be that I do not have a runtime configured yet, which is far from obvious. If I go to "Installed runtimes" (should probably be "Installed Runtimes" (with a capital R)) and add the directory "/var/lib64/erlang" with the name "bin" the problem goes away. It would be nicer if this was clearer. Perhaps that view should be inactive unless a valid runtime is configured?
(The pictures linked to above are the same as the pictures that are attached to this ticket.)
When I open up the preferences for the first time and go into the compiler tab I see the following: http://jonkristensen.com/temp/Screenshot-Preferences.png. When I try to navigate away to the page (change view in the left column) I get this error: http://jonkristensen.com/temp/Screenshot-Could%20Not%20Accept%20Changes.png. I have to press Cancel to get out of there. The problem appears to be that I do not have a runtime configured yet, which is far from obvious. If I go to "Installed runtimes" (should probably be "Installed Runtimes" (with a capital R)) and add the directory "/var/lib64/erlang" with the name "bin" the problem goes away. It would be nicer if this was clearer. Perhaps that view should be inactive unless a valid runtime is configured?
(The pictures linked to above are the same as the pictures that are attached to this ticket.)
Leave a comment
on 2010-10-25 07:18 *
By Vlad Dumitrescu
Found in version changed from 0.8.8 to 0.9.0
Difficulty changed from Normal(3) to Easiest (1)
Assigned to set to vladdu
Milestone changed from backlog to sprint #10
Status changed from New to Accepted
Found in version changed from 0.8.8 to 0.9.0
Difficulty changed from Normal(3) to Easiest (1)
Assigned to set to vladdu
Milestone changed from backlog to sprint #10
Status changed from New to Accepted
Looks like we had a ticket for this issue, I'll fix it.
on 2010-10-25 09:08 *
By Vlad Dumitrescu
Status changed from Accepted to Test
Status changed from Accepted to Test
on 2010-11-08 08:45 *
By Vlad Dumitrescu
Status changed from New to Accepted
Status changed from New to Accepted
Jakob, could you please describe in more detail what you did and what you expected?
on 2010-11-08 19:10 *
By Vlad Dumitrescu
Status changed from Accepted to Fixed
Status changed from Accepted to Fixed
(In revision:c3d56113669a94dd7cf188fa689d37e3dcee6df3) fix #626 no-runtime-configured--unclear-error-messages
Branch: master
Branch: master
on 2010-11-08 20:13 *
By Vlad Dumitrescu
Status changed from Fixed to New
Status changed from Fixed to New
the ticket was set as fixed by the build process... sorry...
on 2010-11-08 20:13 *
By Vlad Dumitrescu
Status changed from New to Accepted
Status changed from New to Accepted
Explanation to my earlier comment:
If I set up my runtime to a non-existing directory, the only thing I get is this in the log:
16:01:27,686 S: (Backend.java:273) : could not connect to backend! Please check runtime settings.
It's hidden by lots of other log-info, and nothing is reported in Eclipse. Also, the runtime can't be started at all, the LC for the internal node gives an exception, we should catch and report that instead of trying to connect with a non-existing node.
We should put up a Modal dialog or similar, with explanations. Even the earlier behaviuor which showed the config page was better than what we have now.
on 2010-11-18 08:00 *
By Vlad Dumitrescu
How can you set a runtime to a non-existing directory? The dialog doesn't let you press "ok" unless it can find an erlang installation there...
on 2010-11-23 21:30 *
By Vlad Dumitrescu
Status changed from Accepted to Fixed
Status changed from Accepted to Fixed
(In revision:76e29af47dc1ed22df9f85a25806322fd628e72f) fixed #626: if default or erlide runtimes are deleted, set another one
Branch: pu
Branch: pu
on 2010-11-23 21:34 *
By Vlad Dumitrescu
Status changed from Fixed to New
Status changed from Fixed to New
on 2010-11-23 21:34 *
By Vlad Dumitrescu
Status changed from New to Test
Status changed from New to Test
on 2010-11-25 21:37 *
By Vlad Dumitrescu
Status changed from Test to Fixed
Status changed from Test to Fixed
(In revision:76e29af47dc1ed22df9f85a25806322fd628e72f) fixed #626: if default or erlide runtimes are deleted, set another one
Branch: master
Branch: master
on 2010-11-25 21:38 *
By Vlad Dumitrescu
(In revision:76e29af47dc1ed22df9f85a25806322fd628e72f) fixed #626: if default or erlide runtimes are deleted, set another one
Branch: next
Branch: next