Skip to content
This repository was archived by the owner on Aug 27, 2021. It is now read-only.

ino list-models fails #42

Closed
poulsbo opened this issue Sep 10, 2012 · 5 comments
Closed

ino list-models fails #42

poulsbo opened this issue Sep 10, 2012 · 5 comments

Comments

@poulsbo
Copy link

poulsbo commented Sep 10, 2012

I have installed ino in its own virtualenv using pip. When I run 'list-models' it fails.

$ ino list-models
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
@nkrkv
Copy link
Member

nkrkv commented Sep 11, 2012

You should have Arduino IDE installed as well. It is searched on paths listed. If you've installed IDE to another location, use --arduino-dist arg on command line.

@nkrkv nkrkv closed this as completed Sep 11, 2012
@bicepjai
Copy link

i still face the same issue on 1.5.5 beta on mac 10.9.1

@sujal
Copy link

sujal commented Feb 17, 2014

that's because the file isn't in the old directory. The file is now in /Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/avr/boards.txt

Any chance for a fix?

@liquiddandruff
Copy link

Ino still searches for the boards.txt in the wrong place. Why isn't there a fix for this yet?

@qguv
Copy link

qguv commented Oct 9, 2015

I'm having the same issue on OS X 10.11.

qguv pushed a commit to qguv/ino that referenced this issue Oct 9, 2015
The `**` glob syntax is available in [Python 3](https://docs.python.org/3/library/glob.html#glob.glob) but not [Python 2](https://docs.python.org/2/library/glob.html#glob.glob). In legacy Python 2, it's necessary to specify how many sub-directories you'd like to glob through by repeated applications of the single `*` wildcard.

Fixes amperka#42.
qguv pushed a commit to qguv/ino that referenced this issue Oct 9, 2015
The newest builds of the Arduino IDE keep the `hardware/` tree under `Arduino.app/Contents/Java` rather than `Arduino.app/Contents/Resources/Java`. Fixes amperka#42.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants