Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update plugin error #72

Closed
martinpihrt opened this issue Feb 21, 2015 · 3 comments
Closed

update plugin error #72

martinpihrt opened this issue Feb 21, 2015 · 3 comments

Comments

@martinpihrt
Copy link

Hi, in update plugin (and else plugin?) is error
if click update-status button -> redirect to home page
if click restart-OSPY -> internal server error 500
and often redirect to login page...
..............................
in all plugin if click submit -> redirect to home page (right is plugin home page?)
in debug plugin if click delete -> redirect to home page (right is plugin home page?)
next plugin not tested...
Thank you Martin
..............................
from debuf plugin:
2015-02-21 11:56:56,584 [DEBUG Event] server.py:43: 10.77.117.3:63647 "HTTP/1.1 POST /plugins/system_debug/delete" - 303 See Other
2015-02-21 11:56:56,635 [DEBUG Event] server.py:43: 10.77.117.3:63647 "HTTP/1.1 GET /plugins/plugins/system_debug/status" - 303 See Other
2015-02-21 11:56:59,943 [DEBUG Event] server.py:43: 10.77.117.3:63647 "HTTP/1.1 GET /" - 200 OK
2015-02-21 11:57:00,142 [DEBUG Event] server.py:43: 10.77.117.3:63647 "HTTP/1.1 GET /log.json" - 200 OK
2015-02-21 11:57:00,179 [DEBUG Event] server.py:43: 10.77.117.3:63651 "HTTP/1.1 GET /status.json" - 200 OK
2015-02-21 11:57:00,261 [DEBUG Event] server.py:43: 10.77.117.3:63647 "HTTP/1.1 GET /log.json" - 200 OK
2015-02-21 11:57:05,484 [DEBUG Event] server.py:43: 10.77.117.3:63647 "HTTP/1.1 GET /plugins/system_debug/status" - 200 OK
2015-02-21 11:57:05,625 [DEBUG Event] server.py:43: 10.77.117.3:63647 "HTTP/1.1 GET /log.json" - 200 OK
2015-02-21 11:57:15,907 [DEBUG Event] server.py:43: 10.77.117.3:63647 "HTTP/1.1 GET /plugins/system_update/status" - 200 OK
2015-02-21 11:57:16,038 [DEBUG Event] server.py:43: 10.77.117.3:63647 "HTTP/1.1 GET /log.json" - 200 OK
2015-02-21 11:57:17,437 [DEBUG Event] stations.py:173: Cleared all outputs
2015-02-21 11:57:17,441 [DEBUG Event] stations.py:213: Activated shift outputs
2015-02-21 11:57:17,677 [DEBUG Event] server.py:43: 10.77.117.3:63647 "HTTP/1.1 GET /plugins/system_update/restart" - 500 Internal Server Error
2015-02-21 11:57:20,448 [INFO Event] helpers.py:88: Restarting...
2015-02-21 11:57:22,348 [DEBUG Event] stations.py:173: Cleared all outputs
2015-02-21 11:57:22,353 [DEBUG Event] stations.py:213: Activated shift outputs
2015-02-21 11:57:23,011 [INFO Event] init.py:210: Started the Email Notifications plug-in.
2015-02-21 11:57:23,021 [INFO Event] init.py:210: Started the System Debug Information plug-in.
2015-02-21 11:57:23,037 [INFO Event] init.py:210: Started the System Update plug-in.
2015-02-21 11:57:23,357 [DEBUG Event] server.py:43: 10.77.117.3:63656 "HTTP/1.1 GET /plugins/system_update/refresh" - 303 See Other
2015-02-21 11:57:24,303 [DEBUG Event] server.py:43: 10.77.117.3:63657 "HTTP/1.1 GET /plugins/login" - 303 See Other
2015-02-21 11:57:24,359 [DEBUG Event] server.py:43: 10.77.117.3:63656 "HTTP/1.1 GET /" - 303 See Other
2015-02-21 11:57:26,736 [INFO System Update] log.py:146: Up-to-date.
2015-02-21 11:57:26,759 [DEBUG Event] server.py:43: 10.77.117.3:63657 "HTTP/1.1 GET /login" - 200 OK
2015-02-21 11:57:26,907 [DEBUG Event] server.py:43: 10.77.117.3:63657 "HTTP/1.1 GET /log.json" - 303 See Other
2015-02-21 11:57:28,140 [DEBUG Event] server.py:43: 10.77.117.3:63657 "HTTP/1.1 GET /login" - 200 OK
2015-02-21 11:57:28,228 [DEBUG Event] server.py:43: 10.77.117.3:63657 "HTTP/1.1 POST /login" - 303 See Other
2015-02-21 11:57:31,328 [DEBUG Event] server.py:43: 10.77.117.3:63657 "HTTP/1.1 GET /" - 200 OK
2015-02-21 11:57:31,578 [DEBUG Event] server.py:43: 10.77.117.3:63656 "HTTP/1.1 GET /status.json" - 200 OK
2015-02-21 11:57:31,599 [DEBUG Event] server.py:43: 10.77.117.3:63657 "HTTP/1.1 GET /log.json" - 200 OK
2015-02-21 11:57:31,667 [DEBUG Event] server.py:43: 10.77.117.3:63656 "HTTP/1.1 GET /log.json" - 200 OK
2015-02-21 11:57:37,872 [DEBUG Event] server.py:43: 10.77.117.3:63657 "HTTP/1.1 GET /plugins/system_debug/status" - 200 OK
2015-02-21 11:57:38,053 [DEBUG Event] server.py:43: 10.77.117.3:63657 "HTTP/1.1 GET /log.json" - 200 OK
2015-02-21 11:58:38,131 [DEBUG Event] server.py:43: 10.77.117.3:63661 "HTTP/1.1 GET /log.json" - 200 OK
2015-02-21 11:58:57,022 [DEBUG Event] server.py:43: 10.77.117.3:63662 "HTTP/1.1 GET /options" - 200 OK
2015-02-21 11:58:57,171 [DEBUG Event] server.py:43: 10.77.117.3:63662 "HTTP/1.1 GET /log.json" - 200 OK
2015-02-21 11:59:01,161 [INFO Event] init.py:216: Failed to load the wind_monitor plug-in:
2015-02-21 11:59:01,174 [DEBUG Event] server.py:43: 10.77.117.3:63662 "HTTP/1.1 POST /options" - 303 See Other
2015-02-21 11:59:04,320 [DEBUG Event] server.py:43: 10.77.117.3:63662 "HTTP/1.1 GET /" - 200 OK
2015-02-21 11:59:04,514 [DEBUG Event] server.py:43: 10.77.117.3:63662 "HTTP/1.1 GET /log.json" - 200 OK
2015-02-21 11:59:04,540 [DEBUG Event] server.py:43: 10.77.117.3:63665 "HTTP/1.1 GET /status.json" - 200 OK
2015-02-21 11:59:04,618 [DEBUG Event] server.py:43: 10.77.117.3:63662 "HTTP/1.1 GET /log.json" - 200 OK
2015-02-21 11:59:09,462 [DEBUG Event] server.py:43: 10.77.117.3:63662 "HTTP/1.1 GET /plugins/system_debug/status" - 200 OK
2015-02-21 11:59:09,595 [DEBUG Event] server.py:43: 10.77.117.3:63662 "HTTP/1.1 GET /log.json" - 200 OK
2015-02-21 12:00:09,669 [DEBUG Event] server.py:43: 10.77.117.3:63683 "HTTP/1.1 GET /log.json" - 200 OK
2015-02-21 12:00:14,399 [DEBUG Event] server.py:43: 10.77.117.3:63683 "HTTP/1.1 GET /plugins/system_update/status" - 200 OK
2015-02-21 12:00:14,538 [DEBUG Event] server.py:43: 10.77.117.3:63683 "HTTP/1.1 GET /log.json" - 200 OK
2015-02-21 12:00:19,756 [INFO System Update] log.py:146: Up-to-date.
2015-02-21 12:00:19,771 [DEBUG Event] server.py:43: 10.77.117.3:63683 "HTTP/1.1 GET /plugins/system_update/refresh" - 303 See Other
2015-02-21 12:00:19,806 [DEBUG Event] server.py:43: 10.77.117.3:63683 "HTTP/1.1 GET /plugins/plugins/system_update/status" - 303 See Other
2015-02-21 12:00:23,044 [DEBUG Event] server.py:43: 10.77.117.3:63683 "HTTP/1.1 GET /" - 200 OK
2015-02-21 12:00:23,261 [DEBUG Event] server.py:43: 10.77.117.3:63686 "HTTP/1.1 GET /status.json" - 200 OK
2015-02-21 12:00:23,272 [DEBUG Event] server.py:43: 10.77.117.3:63683 "HTTP/1.1 GET /log.json" - 200 OK
2015-02-21 12:00:23,364 [DEBUG Event] server.py:43: 10.77.117.3:63683 "HTTP/1.1 GET /log.json" - 200 OK
2015-02-21 12:00:53,352 [DEBUG Event] server.py:43: 10.77.117.3:63690 "HTTP/1.1 GET /status.json" - 200 OK
2015-02-21 12:00:53,425 [DEBUG Event] server.py:43: 10.77.117.3:63690 "HTTP/1.1 GET /log.json" - 200 OK
2015-02-21 12:01:06,210 [DEBUG Event] server.py:43: 10.77.117.3:63691 "HTTP/1.1 GET /plugins/system_debug/status" - 200 OK
2015-02-21 12:01:06,345 [DEBUG Event] server.py:43: 10.77.117.3:63691 "HTTP/1.1 GET /log.json" - 200 OK
2015-02-21 12:01:17,945 [DEBUG Event] server.py:43: 10.77.117.3:63691 "HTTP/1.1 GET /plugins/system_update/status" - 200 OK
2015-02-21 12:01:18,080 [DEBUG Event] server.py:43: 10.77.117.3:63691 "HTTP/1.1 GET /log.json" - 200 OK
2015-02-21 12:01:19,807 [DEBUG Event] stations.py:173: Cleared all outputs
2015-02-21 12:01:19,812 [DEBUG Event] stations.py:213: Activated shift outputs
2015-02-21 12:01:19,834 [DEBUG Event] server.py:43: 10.77.117.3:63691 "HTTP/1.1 GET /plugins/system_update/restart" - 500 Internal Server Error
2015-02-21 12:01:22,818 [INFO Event] helpers.py:88: Restarting...
2015-02-21 12:01:24,671 [DEBUG Event] stations.py:173: Cleared all outputs
2015-02-21 12:01:24,676 [DEBUG Event] stations.py:213: Activated shift outputs
2015-02-21 12:01:25,337 [INFO Event] init.py:210: Started the Email Notifications plug-in.
2015-02-21 12:01:25,347 [INFO Event] init.py:210: Started the System Debug Information plug-in.
2015-02-21 12:01:25,362 [INFO Event] init.py:210: Started the System Update plug-in.
2015-02-21 12:01:27,979 [INFO System Update] log.py:146: Up-to-date.
2015-02-21 12:01:39,024 [DEBUG Event] server.py:43: 10.77.117.3:63694 "HTTP/1.1 GET /plugins/system_update/restart" - 303 See Other
2015-02-21 12:01:39,067 [DEBUG Event] server.py:43: 10.77.117.3:63694 "HTTP/1.1 GET /plugins/login" - 303 See Other
2015-02-21 12:01:39,092 [DEBUG Event] server.py:43: 10.77.117.3:63694 "HTTP/1.1 GET /" - 303 See Other
2015-02-21 12:01:40,488 [DEBUG Event] server.py:43: 10.77.117.3:63694 "HTTP/1.1 GET /login" - 200 OK
2015-02-21 12:01:40,587 [DEBUG Event] server.py:43: 10.77.117.3:63694 "HTTP/1.1 GET /log.json" - 303 See Other
2015-02-21 12:01:41,841 [DEBUG Event] server.py:43: 10.77.117.3:63694 "HTTP/1.1 GET /login" - 200 OK
2015-02-21 12:01:44,222 [DEBUG Event] server.py:43: 10.77.117.3:63694 "HTTP/1.1 POST /login" - 303 See Other
2015-02-21 12:01:47,394 [DEBUG Event] server.py:43: 10.77.117.3:63694 "HTTP/1.1 GET /" - 200 OK
2015-02-21 12:01:47,623 [DEBUG Event] server.py:43: 10.77.117.3:63697 "HTTP/1.1 GET /status.json" - 200 OK
2015-02-21 12:01:47,655 [DEBUG Event] server.py:43: 10.77.117.3:63694 "HTTP/1.1 GET /log.json" - 200 OK
2015-02-21 12:01:47,723 [DEBUG Event] server.py:43: 10.77.117.3:63697 "HTTP/1.1 GET /log.json" - 200 OK
2015-02-21 12:01:53,891 [DEBUG Event] server.py:43: 10.77.117.3:63694 "HTTP/1.1 GET /plugins/system_update/status" - 200 OK
2015-02-21 12:01:54,048 [DEBUG Event] server.py:43: 10.77.117.3:63694 "HTTP/1.1 GET /log.json" - 200 OK
2015-02-21 12:01:55,367 [DEBUG Event] stations.py:173: Cleared all outputs
2015-02-21 12:01:55,371 [DEBUG Event] stations.py:213: Activated shift outputs
2015-02-21 12:01:55,389 [DEBUG Event] server.py:43: 10.77.117.3:63694 "HTTP/1.1 GET /plugins/system_update/restart" - 500 Internal Server Error
2015-02-21 12:01:58,378 [INFO Event] helpers.py:88: Restarting...
2015-02-21 12:02:00,234 [DEBUG Event] stations.py:173: Cleared all outputs
2015-02-21 12:02:00,240 [DEBUG Event] stations.py:213: Activated shift outputs
2015-02-21 12:02:00,892 [INFO Event] init.py:210: Started the Email Notifications plug-in.
2015-02-21 12:02:00,902 [INFO Event] init.py:210: Started the System Debug Information plug-in.
2015-02-21 12:02:00,918 [INFO Event] init.py:210: Started the System Update plug-in.
2015-02-21 12:02:03,618 [INFO System Update] log.py:146: Up-to-date.
2015-02-21 12:02:32,937 [DEBUG Event] server.py:43: 10.77.117.3:63699 "HTTP/1.1 GET /plugins/system_debug/status" - 303 See Other
2015-02-21 12:02:33,003 [DEBUG Event] server.py:43: 10.77.117.3:63699 "HTTP/1.1 GET /plugins/login" - 303 See Other
2015-02-21 12:02:33,027 [DEBUG Event] server.py:43: 10.77.117.3:63699 "HTTP/1.1 GET /" - 303 See Other
2015-02-21 12:02:34,433 [DEBUG Event] server.py:43: 10.77.117.3:63699 "HTTP/1.1 GET /login" - 200 OK
2015-02-21 12:02:34,549 [DEBUG Event] server.py:43: 10.77.117.3:63699 "HTTP/1.1 GET /log.json" - 303 See Other
2015-02-21 12:02:35,806 [DEBUG Event] server.py:43: 10.77.117.3:63699 "HTTP/1.1 GET /login" - 200 OK
2015-02-21 12:02:36,672 [DEBUG Event] server.py:43: 10.77.117.3:63699 "HTTP/1.1 POST /login" - 303 See Other
2015-02-21 12:02:39,878 [DEBUG Event] server.py:43: 10.77.117.3:63699 "HTTP/1.1 GET /" - 200 OK
2015-02-21 12:02:40,074 [DEBUG Event] server.py:43: 10.77.117.3:63702 "HTTP/1.1 GET /status.json" - 200 OK
2015-02-21 12:02:40,145 [DEBUG Event] server.py:43: 10.77.117.3:63699 "HTTP/1.1 GET /log.json" - 200 OK
2015-02-21 12:02:40,213 [DEBUG Event] server.py:43: 10.77.117.3:63702 "HTTP/1.1 GET /log.json" - 200 OK

Rimco added a commit that referenced this issue Feb 21, 2015
@martinpihrt
Copy link
Author

Hi, all button ok...
In update plugin is still error:

if click restart OSPy -> OSPy is restarting page -> close OSPy

HEAD /plugins/system_update/status" - 200 OK
OSPy is closing, saving sessions.
[....] Restarting OpenSprinkler Python: ospyroot@raspberrypi:/home/pi/OSPy# .

@Rimco
Copy link
Owner

Rimco commented Feb 22, 2015

I've got a fix for this, but I need to fix some other stuff before I can push it;) (Plug-in menu)

@martinpihrt
Copy link
Author

Yes all plugins button and update is OK.
Web page plugin update is ok. Coool super fast speed refresh webpages :-) thank you
Thumb up!!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants