Closed allusionist closed 8 years ago
Could you please test with the master if the first error still happens?
I'll need to investigate asap.
I was getting this too. It looks like the pip install doesn't have your last commit.
I renamed all the .pyc
files in /usr/local/lib/python2.7/dist-packages/w1thermsensor
and then commented out line 13 of cli.py
where it says W1ThermSensor.BASE_DIRECTORY = "test/mockedsensors"
I just released 0.3.1
. It should be fixed there.
It appears to be working on my end now as well, though at the moment I don't have a TC on hand to read. Thank you!
Using Python 2.7.9 on latest Raspbian Jessie on a Pi 3. Installed via
pip install w1thermsensor
. Attempting to use the CLI results in a "no such file or directory" error regarding 'test/mockedsensors'.Kernel modules
w1-gpio
andw1-therm
are loaded. A single MAX31850 is connected to GPIO 4. (IC GND - Pi GND; IC VIN - Pi 3.3V; IC 3.3V - 4.7K Resistor - IC DATA and Pi GPIO 4).Running
w1thermsensor
in the command line with no arguments functions normally.Running
w1thermsensor ls
orw1thermsensor all
results in this error message (same for both):Running
w1thermsensor get (any valid argument)
results in this error message instead:Thanks for any help you can provide!