-
Notifications
You must be signed in to change notification settings - Fork 132
nightly build install error: failed to create the path variable variables #279
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
Comments
this seems to be the same issue as currently discussed in #278 |
The misspelled is the root cause of the current problems. On your screendump I see ArduinoPivateLibPath has a different value from ${ArduinoPrivateLibPath. As you can see here https://github.com/jantje/arduino-eclipse-plugin/blob/master/it.baeyens.arduino.core/src/it/baeyens/arduino/tools/ArduinoHelpers.java#L373 There are some possible root causes:
What you could do to pinpoint the issue: Otherwise I'm out of ideas. Jantje |
I'm not near my PC at the moment but I can already tell you that #1 is correct - the project is configured correctly because I was able to compile and upload sketches with the current issue in the background , I just keep getting the pop up window saying there is an error with the path . |
@jantje "On your screendump I see ArduinoPivateLibPath has a different value from ${ArduinoPrivateLibPath". They seem exactly the same to me. |
@jantje "2) Use the screen to change ArduinoPivateLibPath to ArduinoPivateLibPath=${ArduinoPrivateLibPath}. I used "edit variable" dialog to change the ArduinoPivateLibPath to "${ArduinoPrivateLibPath}", it can resolve the absolute path correctly. However, if I click on "apply" It give out an error: "the path must be absolute". So I guess Luna does not allow you to set path variables to some string contain environment variables. "3)Debug and try to find out more what is going on." I will try this later. To me it seems toURI may not convert "${ArduinoPrivateLibPath}" to absolute path, which result this error. I guess the best way to do it is to expand the ${ArduinoPrivateLibPath} correctly in pathMan.setURIValue |
are you still on juno? That is old :-( |
@jantje Sorry I type it wrong. I am on Luna. |
same here - it won't let me apply the new value . |
I'm on luna to so I guess it is a os related issue and not a eclipse version issue. |
@jantje Thanks! |
…ibrary path in sync. This because the reference doesn't seem to work on windows
For people who had one of the versions on their system (a linux or a mac?) which did not generate this issue: |
will try to update to latest nightly in the evening and update - Thanks! |
Path issue is fixed with the new nightly |
Txs for the feedback |
eclipse.buildId=4.4.2.M20150204-1700
java.version=1.7.0_79
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -product org.eclipse.epp.package.cpp.product
Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.cpp.product
it.baeyens.core
Error
Sun Jun 21 14:21:07 PDT 2015
Failed to create the path variable variables. The setup will not work properly
org.eclipse.core.runtime.CoreException: Path variable value must be valid and absolute.
at org.eclipse.core.internal.resources.PathVariableManager.checkIsValidValue(PathVariableManager.java:78)
at org.eclipse.core.internal.resources.PathVariableManager.setValue(PathVariableManager.java:224)
at org.eclipse.core.internal.resources.PathVariableManager.setURIValue(PathVariableManager.java:322)
at org.eclipse.core.internal.resources.ProjectPathVariableManager.setURIValue(ProjectPathVariableManager.java:364)
at it.baeyens.arduino.tools.ArduinoHelpers.setProjectPathVariables(ArduinoHelpers.java:373)
at it.baeyens.arduino.listeners.ConfigurationChangeListener.handleEvent(ConfigurationChangeListener.java:35)
at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.notifyListeners(CProjectDescriptionManager.java:2212)
at org.eclipse.cdt.internal.core.settings.model.AbstractCProjectDescriptionStorage.fireAboutToApplyEvent(AbstractCProjectDescriptionStorage.java:284)
at org.eclipse.cdt.internal.core.settings.model.SetCProjectDescriptionOperation.executeOperation(SetCProjectDescriptionOperation.java:66)
at org.eclipse.cdt.internal.core.model.CModelOperation.execute(CModelOperation.java:341)
at org.eclipse.cdt.internal.core.model.CModelOperation.run(CModelOperation.java:607)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
at org.eclipse.cdt.internal.core.model.CModelOperation.runOperation(CModelOperation.java:638)
at org.eclipse.cdt.internal.core.settings.model.AbstractCProjectDescriptionStorage.setProjectDescription(AbstractCProjectDescriptionStorage.java:203)
at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionStorageManager.setProjectDescription(CProjectDescriptionStorageManager.java:149)
at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.setProjectDescription(CProjectDescriptionManager.java:885)
at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.setProjectDescription(CProjectDescriptionManager.java:846)
at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager$6.run(CProjectDescriptionManager.java:573)
at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager$5.run(CProjectDescriptionManager.java:523)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.runAtomic(CProjectDescriptionManager.java:519)
at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.access$2(CProjectDescriptionManager.java:517)
at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager$4.run(CProjectDescriptionManager.java:498)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
The text was updated successfully, but these errors were encountered: