google app engine - dev_appserver crashed after upgrade to gae 1.7.6 with UnicodeDecodeError -


After upgrading to gae 1.7.6, dev_appserver crashed because I have folders with German umlauts.
1.7.5 works with no problems! Running the command: "[C: \\ Python 27 \\ pythonw.exe ',' C: \\ Program Files (x86) \\ Google \\ google_appengine \\ dev_appserver.py ',' --skip_sdk_update_check = yes' '--port = 8080', '--admin_port = 8000', '--storage_path = C: / rugad', 'c: \\ rugad \\ gae'] "2013-03-21 07: 26: 33,154 Devappserver2.py:401] SDK Update Checking touching INFO 2013-03-21 07: 26: 33,276 API server started: http: // localhost: 49981 INFO 2013-03-21 07:26: 33,283 dispatcher.py:98] Starting server "Default" is running: http: // localhost: 8080 INFO 2013-03-21 07: 26: 33,288 admin_server.py:117] Starting with admin server: http: // localhost: 8000 tracebacks ( Most recent call File: C: \ Program Files (x86) \ Google \ google_appengine \ _python_runtime.py ", line 194, _run_file (__ file__, global ()) file" C: \ Program Files (x86) \ Google \ google_appengine \ _python_runtimekpy ", the file" C: \ program files (x86) \ Google \ google_appengine \ google \ appengine \ tools \ devappserver2 \ python \ runtime.py ", line 101" line in main () file 1, "_run_file execfile (script_path, globals_) C: \ program files (x86) \ Google \ google_appengine \ google \ appengine \ tools \ devappserver2 \ python \ runtime.py ", line 78, the main sandbox.enable_sandbox (config) file to" C: \ Program Files (x86) \ "Google \ google_appengine \ google \ appengine \ tools \ devappserver2 \ Python \ sandbox.py ", the sandbox __import___ ('site') in line 168, enable_" C: \ Python27 \ lib \ site.py ", line 563, the main () file" C: \ Python27 \ lib \ site .py ", line 545, the main Gyat_pth = addusersitepackages (known_paths) file" C: \ Python27 \ lib \ site.py ", line 280, in addusersitepackages if ENABLE_USER_SITE and os.path.isdir (user_site): file" C: \ Python27 \ lib \ genericpath.py ", line 41, in the file" C: \ Program Files (x86) \ Google \ google_appengine \ google \ appengine \ tools \ devappserver2 \ python \ stubs.py ", in line 268, __call__ Otherwise the file file is_file_accessible (path): File "C: \ Program Files (x86) \ Google \ google_appengine \ Google \ appengine \ tools \ devappserver2 \ Python \ stubs.py", line 237, in is_file_accessible _is_path_in_directories (fixed_filename, FakeFile._allowed_dirs)) File "C: \ Program Files (x86) \ Google \ google_appengine \ Google \ appengine \ tools \ devappserver2 \ Python \ stubs.py", if in line 289, _is_path_in_directories os.path.commonprefix ([fixed_path, fixed_parent]) == fixed_parent : File "C: \ Python 27 \ lib \ genericpath.py", line 7 1, s1 = Minimum (M) Unicodecode Error in GeneralPixix: 'ASCI' codec can not decode byte 0xe4 in position 10: serial number Not in (128) Error 2013-03-21 07: 26: 37,250 http_runtime.py:221] Runtime unexpected port response [']]; Development Server Information 2013-03-21 07: 26: 37,315 Exits from API_servenkPTDA ... Applying All Pending Transactions and DataStore Information 2013-03-21 07:26: 37,315 api_server.py Peters] Savings Index 2013 Saving to -03-21 07:26:37 (code to be processed out of 0)

According to your error message, it seems that there was an error in '_ python_runtime.py' . When I updated Google App Engine 1.7.5 to 1.7.6 , I get a similar error.

In my case, my '_ python_runtime Py' file was missing.

Would you try to check that this file is up to date?

I have received this file from this url.

And, I have kept this file in the following folder.

  /Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine   

(Sorry, I So I do not know where Google App Engine is installed in the Windows environment.)

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -