|
Post by Powderjockey on Oct 26, 2019 8:59:21 GMT -8
Neither of these two services are reporting or not reporting proper.
Has there been a change I'm not up to speed on?
S
|
|
|
Post by SDL on Oct 26, 2019 15:51:48 GMT -8
If you would, take a look at your nohup.out file and find a write to WeatherSTEM and copy the 30 or 40 lines there and post them. Let's see what error is being reported.
No changes that would affect you. Ours still works.
BP
|
|
|
Post by Powderjockey on Oct 27, 2019 8:27:43 GMT -8
<b>SkyWeather.py: 12: SkyWeather.py: try:: not found SkyWeather.py: 14: SkyWeather.py: except: not found SkyWeather.py: 17: SkyWeather.py: config.SWVERSION: not found from: can't read /var/mail/datetime SkyWeather.py: 35: SkyWeather.py: Syntax error: Bad function name Traceback (most recent call last): File "/home/pi/SDL_Pi_SkyWeather/SkyCamera.py", line 47, in takeSkyPicture camera.capture('static/skycamera.jpg') File "/usr/lib/python2.7/dist-packages/picamera/camera.py", line 1418, in capture encoder.start(output) File "/usr/lib/python2.7/dist-packages/picamera/encoders.py", line 1126, in start super(PiCookedOneImageEncoder, self).start(output) File "/usr/lib/python2.7/dist-packages/picamera/encoders.py", line 375, in start self._open_output(output) File "/usr/lib/python2.7/dist-packages/picamera/encoders.py", line 331, in _open_output self.outputs[key] = mo.open_stream(output) File "/usr/lib/python2.7/dist-packages/picamera/mmalobj.py", line 344, in open_stream stream = io.open(stream, 'wb' if output else 'rb', buffering) IOError: [Errno 13] Permission denied: 'static/skycamera.jpg' (2847.3504000000003, 1531, 508) () ('Pi Camera Revision', u'ov5647') ('after bme680', True) as3935 start I/O error(121): Remote I/O error after SHT30 outsideTemperature: 0.0 C outsideHumidity: 0.0 % crc: 0x-1
SkyWeather Weather Station Version 051 - SwitchDoc Labs</b> Is
|
|
|
Post by SDL on Oct 28, 2019 11:53:58 GMT -8
You have some very different errors.
Are you running "sudo python SkyWeather.py"?
Would you post the first 17 lines of your SkyWeather.py file please?
BP
|
|
|
Post by Powderjockey on Nov 3, 2019 19:29:35 GMT -8
# # SkyWeather Solar Powered Weather Station # February 2019 # # SwitchDoc Labs # www.switchdoc.com # #
# imports # Check for user imports try: import conflocal as config except ImportError: import config
config.SWVERSION = "052" Running with "sudo".
|
|
|
Post by SDL on Nov 4, 2019 6:18:40 GMT -8
Nothing is wrong with the first 17 lines that I can see.
SkyWeather.py: 12: SkyWeather.py: try:: not found SkyWeather.py: 14: SkyWeather.py: except: not found SkyWeather.py: 17: SkyWeather.py: config.SWVERSION: not found
Something is wrong with your python install. Try: is fine.
It's like you are running a shell script.
BP
|
|
|
Post by Powderjockey on Nov 4, 2019 16:54:10 GMT -8
Nothing is wrong with the first 17 lines that I can see. SkyWeather.py: 12: SkyWeather.py: try:: not found SkyWeather.py: 14: SkyWeather.py: except: not found SkyWeather.py: 17: SkyWeather.py: config.SWVERSION: not found Something is wrong with your python install. Try: is fine. It's like you are running a shell script. BP How would I check the installation?
|
|
|
Post by SDL on Nov 4, 2019 17:35:03 GMT -8
I really don't know. Can you run other python programs? Like the test programs?
BP
|
|
|
Post by Powderjockey on Nov 5, 2019 13:07:34 GMT -8
I really don't know. Can you run other python programs? Like the test programs? BP Test programs run as expected. The SkyWeather and WeatherStem are reporting F and not C today. Is the file for suppose to be set to "1" or "0"?
|
|
|
Post by SDL on Nov 5, 2019 17:12:48 GMT -8
|
|