|
Post by windy54 on Jul 7, 2013 0:34:37 GMT -8
Hi, i have followed the instructions and updated to latest version of raspbia and installed web.py.
config file has I2CDEMO = false
when i start the server the folllowing output is displayed
Traceback (most recent call last): File "RasPiConnectServer.py", line 29, in <module> import ExecuteRemoteWebView File "./ExecuteFiles/ExecuteRemoteWebView.py", line 10, in <module> from Adafruit_BMP085 import * File "./Adafruit/Adafruit_BMP085.py", line 4, in <module> from Adafruit_I2C import Adafruit_I2C File "./Adafruit/Adafruit_I2C.py", line 9, in <module> class Adafruit_I2C : File "./Adafruit/Adafruit_I2C.py", line 11, in Adafruit_I2C def __init__(self, address, bus=smbus.SMBus(1), debug=False): IOError: [Errno 2] No such file or directory
With the flag set to false I did not expect to have to install adafruit_i2c
am i correct
cheers
Steve
|
|
|
Post by SDL on Jul 7, 2013 9:58:32 GMT -8
Steve,
You are correct. That is a bug. Line 10 has been updated to include the demo clause
if (Config.i2c_demo()): from Adafruit_BMP085 import *
We have uploaded it to the github repository.
Thank you for reporting this.
Best regards,
BP
|
|
|
Post by windy54 on Jul 8, 2013 11:48:04 GMT -8
That solved it, mind you I manually edited the file, I am new to GIT so need to read up n how to download just changes.
Anyhow, thanks for the response, now I will download the iPad app and carry on.
Endy54
|
|