Forum Replies Created
-
AuthorPosts
-
maddoxMemberI looked closer and found that git pull had an error:
sudo git pull
Updating e6754ec..ed45985
error: Your local changes to the following files would be overwritten by merge:
ospi.py
plugins/mobile_app.py
plugins/weather_adj.py
Please, commit your changes or stash them before you can merge.
Aborting
I killed the task ospi.py, but still get the error – any thoughts on how to correct the error and truly upgrade the app?
maddoxMemberBug still exists in latest version.
maddoxMemberBy the way, I tried to Flash the OS image to another BBB thinking that maybe the first one was having troubles flashing…both boards had the same response – the image did not flash.
This is a major pain – is there a way I can help troubleshoot this so it can get fixed?
maddoxMemberI figured out how to reload the OSPi directory. I have narrowed down the “crash” – when I rename the stations, it crashes. I’ve attached image of the stations I named (I tried it several times with blanks between the words, and then the last time with underscores between words – same effect).
I can operate stations manually without naming them. I’ll try entering a program next.
What is going on with station naming – this is the same names I used on the Pi version OSPi versus this BBB?
maddoxMemberWhat is the easiest way to reset or re-install the interval program to it’s initial state? I can’t get past the “internal server error.”
maddoxMember@matt wrote:
I think you’re right – something with my interval application. The version is:
!/usr/bin/python
“””Updated 22/06/2013.”””
@matt – I am having the very same problem…did you resolve?UPDATE: I resolved this by upgrading to Dan’s latest interval program – 6/26/13. It was tricky to find, since it is NOT the tar file in the normal release directory – I found it here:
https://github.com/Dan-in-CA/opensprinkler/commit/350eadb76e8f5b96b59ad3cb275ea18a7859eee9
maddoxMemberI have eventually loaded Dan’s new software (could not preserve my old settings 🙂
My problem was that I would wget the tar file, but since it already existed, it named it incrementally, so I had been reinstalling his old code…duh.
Thanks for the help and for innovating masterfully! Awesome.
Maddox
maddoxMemberHow can I update to Dan’s new code and preserve my sprinkler settings?
maddoxMemberThe update text is not there:
#!/usr/bin/python
import web, re, os, json, time, base64, thread
#### GPIO #####
import RPi.GPIO as GPIO
GPIO.setwarnings(False)…
I’ll work on updating the python files now
maddoxMember@salbahra wrote:
@maddox That is odd! Usually nothing works or it all works. Can you provide any logs? In particular the PHP logs from /var/log/apache2/error.log.
1.1 500 Internal Server Errorrn in /var/www/sprinklers/main.php on line 372, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:29:45 2013] [error] [client 192.168.1.113] PHP Warning: file_get_contents(http://192.168.1.131:8080/cv?pw=opendoor&en=1): failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Errorrn in /var/www/sprinklers/main.php on line 372, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:30:35 2013] [error] [client 192.168.1.113] PHP Warning: file_get_contents(http://192.168.1.131:8080/cv?pw=opendoor&en=1): failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Errorrn in /var/www/sprinklers/main.php on line 372, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:33:55 2013] [error] [client 192.168.1.113] File does not exist: /var/www/favicon.ico
[Mon Jun 24 21:34:39 2013] [error] [client 192.168.1.113] PHP Notice: Undefined offset: 1 in /var/www/sprinklers/main.php on line 495, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:34:39 2013] [error] [client 192.168.1.113] PHP Notice: Undefined offset: 2 in /var/www/sprinklers/main.php on line 495, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:34:39 2013] [error] [client 192.168.1.113] PHP Notice: Undefined offset: 3 in /var/www/sprinklers/main.php on line 495, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:34:39 2013] [error] [client 192.168.1.113] PHP Notice: Undefined offset: 4 in /var/www/sprinklers/main.php on line 495, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:34:39 2013] [error] [client 192.168.1.113] PHP Notice: Undefined offset: 5 in /var/www/sprinklers/main.php on line 495, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:34:39 2013] [error] [client 192.168.1.113] PHP Notice: Undefined offset: 6 in /var/www/sprinklers/main.php on line 495, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:34:39 2013] [error] [client 192.168.1.113] PHP Notice: Undefined offset: 7 in /var/www/sprinklers/main.php on line 495, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:34:39 2013] [error] [client 192.168.1.113] PHP Notice: Undefined offset: 8 in /var/www/sprinklers/main.php on line 495, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:34:39 2013] [error] [client 192.168.1.113] PHP Notice: Undefined offset: 9 in /var/www/sprinklers/main.php on line 495, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:34:39 2013] [error] [client 192.168.1.113] PHP Notice: Undefined offset: 10 in /var/www/sprinklers/main.php on line 495, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:34:39 2013] [error] [client 192.168.1.113] PHP Notice: Undefined offset: 11 in /var/www/sprinklers/main.php on line 495, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:34:39 2013] [error] [client 192.168.1.113] PHP Notice: Undefined offset: 12 in /var/www/sprinklers/main.php on line 495, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:34:39 2013] [error] [client 192.168.1.113] PHP Notice: Undefined offset: 13 in /var/www/sprinklers/main.php on line 495, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:34:39 2013] [error] [client 192.168.1.113] PHP Notice: Undefined offset: 14 in /var/www/sprinklers/main.php on line 495, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:34:39 2013] [error] [client 192.168.1.113] PHP Notice: Undefined offset: 15 in /var/www/sprinklers/main.php on line 495, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:34:39 2013] [error] [client 192.168.1.113] PHP Notice: Undefined offset: 16 in /var/www/sprinklers/main.php on line 495, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:34:39 2013] [error] [client 192.168.1.113] PHP Notice: Undefined offset: 17 in /var/www/sprinklers/main.php on line 495, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:34:39 2013] [error] [client 192.168.1.113] PHP Notice: Undefined offset: 18 in /var/www/sprinklers/main.php on line 495, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:34:39 2013] [error] [client 192.168.1.113] PHP Notice: Undefined offset: 19 in /var/www/sprinklers/main.php on line 495, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:34:39 2013] [error] [client 192.168.1.113] PHP Notice: Undefined offset: 20 in /var/www/sprinklers/main.php on line 495, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:34:39 2013] [error] [client 192.168.1.113] PHP Notice: Undefined offset: 21 in /var/www/sprinklers/main.php on line 495, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:34:39 2013] [error] [client 192.168.1.113] PHP Notice: Undefined offset: 22 in /var/www/sprinklers/main.php on line 495, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:34:39 2013] [error] [client 192.168.1.113] PHP Notice: Undefined offset: 23 in /var/www/sprinklers/main.php on line 495, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:43:13 2013] [error] [client 192.168.1.113] PHP Warning: file_get_contents(http://192.168.1.131:8080/cv?pw=opendoor&en=0): failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Errorrn in /var/www/sprinklers/main.php on line 372, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:44:12 2013] [error] [client 192.168.1.113] PHP Warning: file_get_contents(http://192.168.1.131:8080/cv?pw=opendoor&mm=1): failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Errorrn in /var/www/sprinklers/main.php on line 372, referer: http://192.168.1.127/sprinklers/index.php
[Mon Jun 24 21:44:36 2013] [error] [client 192.168.1.113] PHP Warning: file_get_contents(http://192.168.1.131:8080/cv?pw=opendoor&mm=1): failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Errorrn in /var/www/sprinklers/main.php on line 372, referer: http://192.168.1.127/sprinklers/index.php> Are you using OSPi or OS? If your using OSPi can you provide the log files from it? This can be done by running ospi from console: python ospi.py
OSPi – I’ll work on getting the OSPi log files
> This used to be an issue on the OSPi before the Dan updated to the latest version. You need to be using OSPi >=June 22, 2013.
I updated to Dana’s latest today.
maddoxMemberI am having a problem trying to enable manual mode or changing operation mode from the browser (both chrome on a desktop machine or safari on my iphone). I get “error communicating with Opensprinkler, Please check your password is correct.” I can see all the setup parameters, stations, programs, and even activate a run-once program. I can use the password accessing the interval program’s web controls.
I went to /var/www/sprinklers/config.php and validated that the $os_pw = ‘opendoor’; (using Ray’s default password for testing)
Any thoughts on what I have misconfigured?
Maddox
-
AuthorPosts