amperka / ino

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

Can't get ino to work on Arch on RaspberryPI #236

Open douglagm opened 9 years ago

douglagm commented 9 years ago

Hi,

I am trying to get ino working on a RaspberryPI using Arch and Arduino 1.6.0. I have installed ino using pip2. I am getting the following error:

Searching for Board description file (boards.txt) ... /usr/share/arduino/hardware/arduino/boards.txt Traceback (most recent call last): File "/usr/bin/ino", line 6, in main() File "/usr/lib/python2.7/site-packages/ino/runner.py", line 64, in main e.process_args(args) File "/usr/lib/python2.7/site-packages/ino/environment.py", line 263, in process_args all_models = self.board_models() File "/usr/lib/python2.7/site-packages/ino/environment.py", line 204, in board_models subdict[key] = {} TypeError: 'str' object does not support item assignment

I have found references to this same issue in #111, #214, #226; How do I resolve this issue?

ivankravets commented 9 years ago

ino doesn't support Arduino IDE >= 1.5.0. I would propose you to try PlatformIO. You don't need to install any IDEs, tool chains or etc. PlatformIO has all stuff from the "box" and it works on the card-sized PC, like Raspberry Py, BeagleBone, CubieBoard and etc.

scottdarch commented 9 years ago

I've started a fork of ino (http://www.32bits.io/Arturo/) that works with the latest Arduino IDE. Let me know if this will work for your use case.