amperka / ino

Command line toolkit for working with Arduino hardware
http://inotool.org
MIT License
1.08k stars 232 forks source link

Board description file (boards.txt) not found. #71

Open xiujunma opened 11 years ago

xiujunma commented 11 years ago
Searching for Board description file (boards.txt) ... FAILED
Board description file (boards.txt) not found. Searched in following places: 
  - /Applications/Arduino.app/Contents/Resources/Java/hardware/arduino
  - /usr/local/share/arduino/hardware/arduino
  - /usr/share/arduino/hardware/arduino

I'm using Arduino 1.5.2 beta, boards.txt is placed in /Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/avr/boards.txt.

yosemitebandit commented 11 years ago

@xiujunma -- I had that problem as well. The fork from rogue-hack-lab worked for me.

xiujunma commented 11 years ago

Thank you for sharing, I will try it later.

insanity54 commented 11 years ago

I have this same problem and the fork from rogue-hack-lab did not solve the problem for me.

The issue for me was that my arduino files are in my home directory, and ino is not programmed to look for arduino files there. This solved the issue for me:

sudo cp -r ~/arduino-1.0.5 /usr/local/share/arduino
lgruen commented 11 years ago

If you're using Ubuntu or similar, "sudo apt-get install arduino" might do the trick alternatively.

chrisspen commented 9 years ago

@Igruen, The arduino package in the standard repo is ancient. I don't recommend using that unless it's absolutely necessary.

chrisspen commented 9 years ago

@insanity54 Note this won't work for the new arduino 1.5+ release. The folder structure is different, which ino apparently does not support. e.g. hardware/arduino/boards.txt is now at hardware/arduino/avr/boards.txt.

AndyCross commented 9 years ago

Is there a way to get ino to work with 1.5.8 BETA? I'm looking to use this with a Due board. Is 1.5.8 required for ino, or just the IDE?

tonyc commented 9 years ago

I'm running into this as well, on OSX. Anyone have some ideas?

craigbeck commented 9 years ago

+1 on OS X

$ ino build
Searching for Board description file (boards.txt) ... FAILED
Board description file (boards.txt) not found. Searched in following places: 
  - /Applications/Arduino.app/Contents/Resources/Java/hardware/arduino
  - /usr/local/share/arduino/hardware/arduino
  - /usr/share/arduino/hardware/arduino

searching for boards.txt:

$ find /Applications/Arduino.app -iname boards.txt
/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/boards.txt
/Applications/Arduino.app/Contents/Java/hardware/arduino/sam/boards.txt

It look like this code indicates it should find boards.txt under the avr/ directory but my install is not.

marcu commented 9 years ago

Install the Arduino IDE version 1.0.x and the problem is resolved.

letterj commented 9 years ago

Using the latest arduino version 1.6.3. on Mac System Version: OS X 10.10.3 (14D136) Searching for Board description file (boards.txt) ... FAILED Board description file (boards.txt) not found. Searched in following places:

The file is actually located at /Application/Arduino.app/Contents/Java/hardware/arduino/avr/boards.txt

chrisspen commented 9 years ago

I just ran into this error again on a fresh install. Is inotools a dead project? I tried submitting a patch and it's been ignored. That's really frustrating, because inotools is infinitely easier to use than the horrible Arduino Gui.

rsrini7 commented 9 years ago

Hi chrisspen , I have replaced your environment.py and i am getting below error. Any suggestion ? make: execvp: /bin/sh: Argument list too long .build/uno/Makefile.deps:14: recipe for target '.build/uno/src/sketch.d' failed make: *\ [.build/uno/src/sketch.d] Error 127 Make failed with code 2

I am getting below error for the actual environment.py:

Searching for Board description file (boards.txt) ... /usr/local/share/arduino/hardware/arduino/boards.txt Traceback (most recent call last): File "/usr/local/bin/ino", line 6, in main() File "/usr/local/lib/python2.7/dist-packages/ino/runner.py", line 64, in main e.process_args(args) File "/usr/local/lib/python2.7/dist-packages/ino/environment.py", line 263, in process_args all_models = self.board_models() File "/usr/local/lib/python2.7/dist-packages/ino/environment.py", line 204, in board_models subdict[key] = {} TypeError: 'str' object does not support item assignment ino build returned 256 127.0.0.1 - - [13/Jun/2015 06:49:56] "POST / HTTP/1.1" 400 -

ErichBSchulz commented 9 years ago

@lgruen - your trick worked for me thx

Having to install an old package when you've already got the latest install in your system isn't ideal tho...

rajanjamu commented 9 years ago

Any workarounds for this? I am also facing the same issue. I don't want to go back to previous version (1.0.6) when 1.6.x is available.

letterj commented 9 years ago

I put together this pull request a while back to that fixed my issues with 1.6.3

https://github.com/amperka/ino/pull/246

tedrobotbuilder commented 9 years ago

from the menu: Window/Preferences set the Arduino IDE path to your install of the Arduino IDE nomrally C:\Program Files\Arduino

antonbrams commented 8 years ago

i have also this issue... and i think, i should download a regular Arduino App to my Mac to have those Board Libs, am i right? or can i just download this files from internet separatly?

trevery commented 7 years ago

Searching for Board description file (boards.txt) ... FAILED Board description file (boards.txt) not found. Searched in following places:

I add the true dir, but the bug still exists.