-
Notifications
You must be signed in to change notification settings - Fork 232
Can't build; boards.txt not found after upgrading to Arduino 1.6.1 #240
Comments
Seeing this as well. |
+1 |
No commits to this project for a year now. I guess this is dead code. |
Figured it out. You have to That said: once you clear this bug you'll probably run into the wifi library bug. You can grab my pull request if you want to get the fix. |
Excellent, I cloned your fork of the repo and it is working great! Thank you so much for following up 👍 |
I'm now using the fork from @scottdarch . On my Mac, however, "ino clean" didn't help the original problem of boards.txt not being found. @scottdarch and @jeremywrnr , what OS are you using that's working? I have a minor fix that adds the new 1.6.1 location of boards.txt to the set of "guesses" for the Arduino distribution directory, but I don't want to bother posting a pull request for it if you're on Macs and have done something simpler to get it to work. |
I'm on a mac. OSx 10.10 (Yosemite). Is your Arduino.app under /Applications/Arduino.app? And (sorry for the dumb questions) did you remember to make install from my fork after you cloned it? Let me know. I want to get ino working again. If @amperka won't add me as a contributor I plan on starting an official fork. |
I'm also on Yosemite. Somehow I had not noticed the make install step and just ran python setup.py build and python setup.py install explicitly... not sure why that would have mattered, but I seem to be working fine now after doing "make install". Only thing I had to do in the makefile was change python2 to python, since (I assume) I'm running the stock Yosemite-provided Python instead of anything from python.org or Homebrew. As pleased as I am that it's working, I don't understand how. Can you explain how ino is doing this:
when the line in environment.py appears to be looking elsewhere:
If you do decide to fork ino I'll be glad to offer whatever feedback and help I can. Thanks! |
The dist dir is the base path. From there the script searches under 'hardware/**' for all boards.txt files. These contain the information to find the proper platform.txt and programmer.txt files based on the board selected (i.e. for uno 'hardware/arduino/avr/platform.txt' but for due 'hardware/arduino/sam/platform.txt'). There is also the concept of 'vendor' that I haven't tested to see if ino is supporting. the 'arduino' under hardware is considered the hardware vendor. Theoretically it should work if you also had, say, 'hardware/ladyada/intel/boards.txt' If I do fork I'm interested in getting first-class raspberry pi support possibly using wiringPi or by building my own bcm toolchain. My dream is to be able to write-once-run-on-ar-or-pi. |
Sorry to muddy the waters, but my report that things were working was premature. I had apparently installed ino using pip, and I think I was running that version rather the one built from your fork. After a pip uninstall ino and a sudo make install from your fork, I'm getting the original error:
I did do an ino clean per your earlier instructions (the above error came from the command ino list-models, which doesn't even need a project). I added a couple of print statements to make sure I was running from your source, and they do show up. Are you using the Arduino.app "for Java 6 (recommended)" or "for Java 7 (experimental)"? Maybe there's a difference there? I'm going to reinstall Arduino 1.6.1 for Java 6 from the download to see if there's some difference. Does your copy have the path /Applications/Arduino.app/Contents/Resources/Java/hardware/ ? Mine doesn't; will check against the newly-reinstalled one and report. |
Okay, I've reinstalled Arduino 1.6.1 for Java 6 and things appear to be working fine. The "experimental" 1.6.1 for Java 7 is no longer available for download, but I'm guessing that's what I had installed that caused all the trouble. Given that @scottdarch and @jeremywrnr both reported the same problem, perhaps the ino clean step was enough for you guys (using the Java 6 version, I'd guess?) but not for me with the weird one. Will be glad to close the ticket if everybody's good now. |
I'd leave the ticket open since the fix is not pulled into the repo. I got ahold of the amperka guys and they say they are too busy to maintain this tool. I am going to create a new fork. I'll try to work through some of these issues in the new repo once I get it setup. Anyone have ideas for the name of the new fork? I'm thinking of calling it arturo and renaming the python command to ano. I want to call it something different so it's clear when someone is using ino versus the fork. |
For names: I like However, if you are going to be the new maintainer, you should have final say on naming! |
Thanks for the suggestion Jeremy but arc is overloaded from iOS (automatic reference counting) and I do want arturo (there I used it; it's official ;-) to also support pi and other hardware in the future. |
Not a problem, I like that name too 👍 |
"arturo" reminds me of Toscanini... and for an Arduino build tool, I think a reference to a great Italian conductor is entirely appropriate (whether intended or not!): |
It was actually named after the last contributor to the Arduino 3p IDE repo on github until now. Now it is named after Arturo Toscanini! Thanks @jgarbers. |
A conductor's baton would make a nice project icon if you were looking for one! |
Introducing Arturo |
Has anyone tested this in 1.6.6? The format of boards.txt seems to have changed as well, and ino can no longer recognize it, even after I fix the location with a symlink. Running
|
August 2017, Arduino IDE 1.8.3. Still not working. Did anyone fork this project and still support it? |
This project is dead. I'd recommend using Arduino-Makefile, which provides the same features and is still actively maintained. |
While installing |
It looks like the new version of the IDE moved the boards.txt file. I get the following error when building:
With the new version of the IDE, the file is found at
The text was updated successfully, but these errors were encountered: