2017-08-26 21:27:54 Running command: "['C:\\Python27\\python.exe', '-u', 'C:\\Program Files (x86)\\Google\\google_appengine\\appcfg.py', '--oauth2_credential_file=C:\\Users\\Passi/.appcfg_oauth2_tokens', 'update', 'E:\\customtinywebdb\\customtinywebdb']"
09:27 PM Application: test-178018; version: 1
09:27 PM Starting update of app: test-178018, version: 1
09:27 PM Getting current resource limits.
09:27 PM Scanning files on local disk.
Error 400: --- begin server output ---
Python 2.5 is not supported in 'e' partition.
--- end server output ---
2017-08-26 21:27:59 (Process exited with code 1)
You can close this window now.
Ich werde daraus nicht schlau, vor allem weil auf einmal irgendwas mit Python 2.5 da drin ist, obwohl ich nur Version 2.7 habe. Vielleicht hängt das damit zusammen, dass ich vorher einen anderen Fehler behoben hab, indem ich was weggenommen habe?
2017-08-26 21:15:23 Running command: "['C:\\Python27\\python.exe', 'C:\\Program Files (x86)\\Google\\google_appengine\\dev_appserver.py', '--skip_sdk_update_check=yes', '--port=8080', '--admin_port=8000', 'E:\\customtinywebdb\\customtinywebdb']"
WARNING 2017-08-26 21:15:25,871 application_configuration.py:189] The "python" runtime specified in "E:\customtinywebdb\customtinywebdb\app.yaml" is not supported - the "python27" runtime will be used instead. A description of the differences between the two can be found here:
INFO 2017-08-26 21:15:25,871 devappserver2.py:116] Skipping SDK update check.
INFO 2017-08-26 21:15:26,102 dispatcher.py:226] Starting module "default" running at:
http://localhost:8080INFO 2017-08-26 21:16:11,234 module.py:416] [default] Detected file changes:
main.py
INFO 2017-08-26 19:17:35,193 stubs.py:50] Sandbox prevented access to file "E:\customtinywebdb\customtinywebdb\main.pyc"
INFO 2017-08-26 19:17:35,194 stubs.py:51] If it is a static file, check that `application_readable: true` is set in your app.yaml
ERROR 2017-08-26 19:17:35,315 cgi.py:122] Traceback (most recent call last):
File "E:\customtinywebdb\customtinywebdb\main.py", line 18, in <module>
from django.utils import simplejson as json
ImportError: No module named django.utils
INFO 2017-08-26 21:17:35,326 module.py:832] default: "GET / HTTP/1.1" 500 -
INFO 2017-08-26 21:17:55,250 module.py:416] [default] Detected file changes:
main.py
INFO 2017-08-26 21:18:01,153 api_server.py:945] Applying all pending transactions and saving the datastore
INFO 2017-08-26 21:18:01,153 api_server.py:948] Saving search indexes
2017-08-26 21:18:01 (Process exited with code 0)
2017-08-26 21:18:02 Running command: "['C:\\Python27\\python.exe', 'C:\\Program Files (x86)\\Google\\google_appengine\\dev_appserver.py', '--skip_sdk_update_check=yes', '--port=8080', '--admin_port=8000', 'E:\\customtinywebdb\\customtinywebdb']"
WARNING 2017-08-26 21:18:04,263 application_configuration.py:189] The "python" runtime specified in "E:\customtinywebdb\customtinywebdb\app.yaml" is not supported - the "python27" runtime will be used instead. A description of the differences between the two can be found here:
INFO 2017-08-26 21:18:04,263 devappserver2.py:116] Skipping SDK update check.
INFO 2017-08-26 21:18:04,539 dispatcher.py:226] Starting module "default" running at:
http://localhost:8080INFO 2017-08-26 19:18:09,944 stubs.py:50] Sandbox prevented access to file "E:\customtinywebdb\customtinywebdb\main.pyc"
INFO 2017-08-26 19:18:09,944 stubs.py:51] If it is a static file, check that `application_readable: true` is set in your app.yaml
INFO 2017-08-26 21:18:10,078 module.py:832] default: "GET / HTTP/1.1" 200 2401
INFO 2017-08-26 21:18:10,118 module.py:832] default: "GET /images/customLogo.gif HTTP/1.1" 304 -
INFO 2017-08-26 21:26:38,720 api_server.py:945] Applying all pending transactions and saving the datastore
INFO 2017-08-26 21:26:38,720 api_server.py:948] Saving search indexes
2017-08-26 21:26:39 (Process exited with code 0)
2017-08-26 21:30:22 Running command: "['C:\\Python27\\python.exe', 'C:\\Program Files (x86)\\Google\\google_appengine\\dev_appserver.py', '--skip_sdk_update_check=yes', '--port=8080', '--admin_port=8000', 'E:\\customtinywebdb\\customtinywebdb']"
WARNING 2017-08-26 21:30:24,914 application_configuration.py:189] The "python" runtime specified in "E:\customtinywebdb\customtinywebdb\app.yaml" is not supported - the "python27" runtime will be used instead. A description of the differences between the two can be found here:
INFO 2017-08-26 21:30:24,914 devappserver2.py:116] Skipping SDK update check.
INFO 2017-08-26 21:30:25,119 dispatcher.py:226] Starting module "default" running at:
http://localhost:8080INFO 2017-08-26 19:30:29,503 stubs.py:50] Sandbox prevented access to file "E:\customtinywebdb\customtinywebdb\main.pyc"
INFO 2017-08-26 19:30:29,503 stubs.py:51] If it is a static file, check that `application_readable: true` is set in your app.yaml
ERROR 2017-08-26 19:30:29,618 cgi.py:122] Traceback (most recent call last):
File "E:\customtinywebdb\customtinywebdb\main.py", line 18, in <module>
from django.utils import simplejson as json
ImportError: No module named django.utils
INFO 2017-08-26 21:30:29,628 module.py:832] default: "GET / HTTP/1.1" 500 -
Diese Fehlermeldung kam immer, wenn ich auf localhost:8080 gegangen bin, aber seid dem ich in der anhängenden Datei Zeile 18 (from django.utils import simplejson as json) entfernt habe, hat das funktioniert. Allerdings bringt mir ja ein localhost nichts, wenn die App für alle zugägnlich sein soll^^. Würde mich sehr freuen wenn mir wer helfen könnte :)