Skip to content
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

Conflicting handlers for.. #151

Closed
beingobserver opened this issue Jun 6, 2014 · 7 comments
Closed

Conflicting handlers for.. #151

beingobserver opened this issue Jun 6, 2014 · 7 comments
Labels
status: usage error Op expectation of behaviour of Sloeber is not i line with the actual behaviour.

Comments

@beingobserver
Copy link

Hi.

Os X, Kepler 32bit, Arduino 1.5.6 r-2 and downloaded the plugin over Marketplace.

It compiles good, serial monitor is working also.

But when i try to Upload the file it gives this over Console.

"Starting upload using arduino loader

Launching /hardware/tools/avr/bin/avrdude -C -patmega328p -carduino -P /dev/tty.usbmodem1411 -b115200 -D -Uflash:w:/.hex:i
Output: upload failed"

And Error logs:
-- Conflicting handlers for it.baeyens.arduino.actions.ArduinoBuildAction: {it.baeyens.arduino.actions.BuildHandler@1935405} vs {it.baeyens.arduino.actions.BuildHandler}

-- Exception trying register listener it.baeyens.arduino.languageSettingsProvider

Thanks in advance.

@jantje
Copy link
Member

jantje commented Jun 6, 2014

The launch command is normally a FQN. In your case it looks like the environment variable {A.runtime.ide.path} is not correctly set.
Is this a workspace that has been upgraded?
Try following windows->preferences->arduino (check wether all is OK) select apply.
then project->properties->arduino (check wether all is OK) select apply.
jantje

@beingobserver
Copy link
Author

I am choosing the right file but didn't accept.

http://imageshack.com/a/img842/8312/z35n.png
http://imageshack.com/a/img849/7324/5lfm.png

I tried also this path /Applications/Arduino.app/Contents/Resources/Java

Thank you.

@jantje
Copy link
Member

jantje commented Jun 6, 2014

Your setup is clearly badly configured.
ave you seen this http://trippylighting.com/teensy-arduino-ect/arduino-eclipse-plugin/arduino-eclipse-ide-and-plugin-v2-2-installation/
This is for teensy but it explains the setup on mac of the plugin before it goes into teensy stuff

@beingobserver
Copy link
Author

Jantje, i installed appropriate "Arduino Eclipse IDE" from http://www.baeyens.it/eclipse/download.php

Then i removed 1.5.6-r2 and installed Arduino IDE 1.5.2.

Then i went to Preferences, it recognizes Arduino IDE version as:1.5.2
And Arduino IDE path is: /Applications/Arduino
it doesn't accept it and it says "Value must be an existing file".
I don't know what to write as Arduino IDE path.

Interesting part is i am getting the same error message still.
No matter if i use Eclipse IDE or Arduino Eclipse IDE or different version of the Arduino IDE.
I am getting the same error on my Windows 8 machine too.

I am really complicated and frustrated by trying too many combinations.
Thanks for your help.

@jantje
Copy link
Member

jantje commented Jun 7, 2014

I have been looking at this and I simply can not reproduce this behaviour. The error shown does not come from the plugin code.
Looking again at the images you send I see that the arduino IDE version is filled in and the ok and apply button are active. So the plugin is ok with the values.
Does the "private hardware folder" exist?
You should be able to do as I proposed in my first reply

@beingobserver
Copy link
Author

:) I am not completely sure how i did but it is working now.

I changed my Mac's language from Turkish to English.
And i remember that i was seeing en error about language conflict at start which i hadn't care so much about it.

I don't know maybe "language" was the issue.
Thanks God and Jantje (and Paul) :)

@jantje
Copy link
Member

jantje commented Jun 7, 2014

great to hear it is solved.
Jantje

@jantje jantje closed this as completed Jun 7, 2014
@jantje jantje added the status: usage error Op expectation of behaviour of Sloeber is not i line with the actual behaviour. label May 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: usage error Op expectation of behaviour of Sloeber is not i line with the actual behaviour.
Projects
None yet
Development

No branches or pull requests

2 participants