[google-appengine] Re: Problem Upgrading from 354.0.0

2022-06-01 Thread Michael Fawcett
Did you manage to solve this? Suffering the same issue on Windows 11 since 
updating components 'gcloud components update'

On Friday, 19 November 2021 at 20:49:38 UTC ron...@gmail.com wrote:

> When I have attempted to upgrade from version 354.0.0 to 364.0.0 or to 
> 365.0.00 on Windows 7 with python 2.7 installed the upgrade finishes 
> without error, but I have the issue below. If I revert my installation back 
> to 354.0.0 it works fine.
>
> I can execute dev_appserver.py app.yaml without issue,  But when I open my 
> browser and goto http://localhost:8080/ I receive the following messages:
>
> C:\www\test>dev_appserver.py app.yaml
> INFO 2021-11-19 12:09:26,140 devappserver2.py:316] Skipping SDK update 
> check.
> INFO 2021-11-19 12:09:26,875 :383] Starting API server at: 
> http://localhost:63789
> INFO 2021-11-19 12:09:27,045 dispatcher.py:281] Starting module 
> "default" running at: http://localhost:8080
> INFO 2021-11-19 12:09:27,048 admin_server.py:150] Starting admin 
> server at: http://localhost:8000
> INFO 2021-11-19 12:09:32,921 instance.py:294] Instance PID: 6876
> ERROR:root:Failure to start PHP with: 
> ['C:\\Users\\Ron\\AppData\\Local\\Google\\Cloud 
> SDK\\google-cloud-sdk\\platform\\g
> oogle_appengine\\php\\php-5.5-Win32-VC11-x86\\php-cgi.exe', '-d', 
> 'include_path=".;C:\\www\\test;C:\\Users\\Ron\\AppData
> \\Local\\Google\\Cloud 
> SDK\\google-cloud-sdk\\platform\\google_appengine\\php\\sdk"', '-c', 
> 'C:\\www\\test', '-d', 'zend
> _extension="C:\\Users\\Ron\\AppData\\Local\\Google\\Cloud 
> SDK\\google-cloud-sdk\\platform\\google_appengine\\php\\php-5.
> 5-Win32-VC11-x86\\php_xdebug.dll"', '-d', 
> 'extension="php_gae_runtime_module.dll"', '-d', 
> 'extension_dir="C:\\Users\\Ron
> \\AppData\\Local\\Google\\Cloud 
> SDK\\google-cloud-sdk\\platform\\google_appengine\\php\\php-5.5-Win32-VC11-x86"']
> Traceback (most recent call last):
> INFO 2021-11-19 12:09:33,921 module.py:883] default: "GET /_ah/start 
> HTTP/1.1" 500 754
>   File "C:\Users\Ron\AppData\Local\Google\Cloud 
> SDK\google-cloud-sdk\platform\google_appengine\google\appengine\tools\de
> vappserver2\php\runtime\runtime.py", line 269, in __call__
> stdout=subprocess.PIPE)
>   File "C:\Users\Ron\AppData\Local\Google\Cloud 
> SDK\google-cloud-sdk\platform\google_appengine\google\appengine\tools\de
> vappserver2\safe_subprocess.py", line 84, in start_process
> shell=shell)
>   File "C:\Python27\lib\subprocess.py", line 394, in __init__
> errread, errwrite)
>   File "C:\Python27\lib\subprocess.py", line 644, in _execute_child
> startupinfo)
> TypeError: environment can only contain strings
> ERROR:root:Failure to start PHP with: 
> ['C:\\Users\\Ron\\AppData\\Local\\Google\\Cloud 
> SDK\\google-cloud-sdk\\platform\\g
> oogle_appengine\\php\\php-5.5-Win32-VC11-x86\\php-cgi.exe', '-d', 
> 'include_path=".;C:\\www\\test;C:\\Users\\Ron\\AppData
> \\Local\\Google\\Cloud 
> SDK\\google-cloud-sdk\\platform\\google_appengine\\php\\sdk"', '-c', 
> 'C:\\www\\test', '-d', 'zend
> _extension="C:\\Users\\Ron\\AppData\\Local\\Google\\Cloud 
> SDK\\google-cloud-sdk\\platform\\google_appengine\\php\\php-5.
> 5-Win32-VC11-x86\\php_xdebug.dll"', '-d', 
> 'extension="php_gae_runtime_module.dll"', '-d', 
> 'extension_dir="C:\\Users\\Ron
> \\AppData\\Local\\Google\\Cloud 
> SDK\\google-cloud-sdk\\platform\\google_appengine\\php\\php-5.5-Win32-VC11-x86"']
> INFO 2021-11-19 12:09:33,940 module.py:883] default: "GET / HTTP/1.1" 
> 500 754
> Traceback (most recent call last):
>   File "C:\Users\Ron\AppData\Local\Google\Cloud 
> SDK\google-cloud-sdk\platform\google_appengine\google\appengine\tools\de
> vappserver2\php\runtime\runtime.py", line 269, in __call__
> stdout=subprocess.PIPE)
>   File "C:\Users\Ron\AppData\Local\Google\Cloud 
> SDK\google-cloud-sdk\platform\google_appengine\google\appengine\tools\de
> vappserver2\safe_subprocess.py", line 84, in start_process
> shell=shell)
>   File "C:\Python27\lib\subprocess.py", line 394, in __init__
> errread, errwrite)
>   File "C:\Python27\lib\subprocess.py", line 644, in _execute_child
> startupinfo)
> TypeError: environment can only contain strings
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/a6d4f401-b380-4fff-802a-d8fe4bb4e83bn%40googlegroups.com.


[google-appengine] Wordpress on App Engine - ERROR: (gcloud.app.deploy) Error Response: [13] An internal error occurred during deployment.

2018-02-18 Thread Michael Fawcett


Following the steps to install Wordpress on App Engine Flexible 
environment, however, I'm running into an issue when deploying. It works 
fine in the local environment.


Seem to have searched everywhere but just can't seem to find a solution. 
Any help greatly appreciated.



2018-02-17 15:12:54,539 DEBUGrootOperation 
[apps/wordpress/operations/d62e4e97-31af-48c0-b82d-25bdd7317c7d] complete. 
Result: {
"metadata": {
"user": "em...@domain.co.uk", 
"target": "apps/wordpress/services/default/versions/20180217t150918", 
"@type": "type.googleapis.com/google.appengine.v1.OperationMetadataV1", 
"insertTime": "2018-02-17T15:11:42.864Z", 
"method": "google.appengine.v1.Versions.CreateVersion"
}, 
"done": true, 
"name": "apps/wordpress/operations/d62e4e97-31af-48c0-b82d-25bdd7317c7d", 
"error": {
"message": "An internal error occurred during deployment.", 
"code": 13
}}2018-02-17 15:12:54,542 DEBUGroot(gcloud.app.deploy) 
Error Response: [13] An internal error occurred during deployment.Traceback 
(most recent call last):
  File "C:\Users\User\AppData\Local\Google\Cloud 
SDK\google-cloud-sdk\lib\googlecloudsdk\calliope\cli.py", line 797, in Execute
resources = calliope_command.Run(cli=self, args=args)
  File "C:\Users\User\AppData\Local\Google\Cloud 
SDK\google-cloud-sdk\lib\googlecloudsdk\calliope\backend.py", line 757, in Run
resources = command_instance.Run(args)
  File "C:\Users\User\AppData\Local\Google\Cloud 
SDK\google-cloud-sdk\lib\surface\app\deploy.py", line 74, in Run
parallel_build=False)
  File "C:\Users\User\AppData\Local\Google\Cloud 
SDK\google-cloud-sdk\lib\googlecloudsdk\command_lib\app\deploy_util.py", line 
588, in RunDeploy
flex_image_build_option=flex_image_build_option)
  File "C:\Users\User\AppData\Local\Google\Cloud 
SDK\google-cloud-sdk\lib\googlecloudsdk\command_lib\app\deploy_util.py", line 
394, in Deploy
extra_config_settings)
  File "C:\Users\User\AppData\Local\Google\Cloud 
SDK\google-cloud-sdk\lib\googlecloudsdk\api_lib\app\appengine_api_client.py", 
line 187, in DeployService
message=message)
  File "C:\Users\User\AppData\Local\Google\Cloud 
SDK\google-cloud-sdk\lib\googlecloudsdk\api_lib\app\operations_util.py", line 
246, in WaitForOperation
sleep_ms=retry_interval)
  File "C:\Users\User\AppData\Local\Google\Cloud 
SDK\google-cloud-sdk\lib\googlecloudsdk\api_lib\util\waiter.py", line 266, in 
WaitFor
sleep_ms=sleep_ms)
  File "C:\Users\User\AppData\Local\Google\Cloud 
SDK\google-cloud-sdk\lib\googlecloudsdk\core\util\retry.py", line 226, in 
RetryOnResult
if not should_retry(result, state):
  File "C:\Users\User\AppData\Local\Google\Cloud 
SDK\google-cloud-sdk\lib\googlecloudsdk\api_lib\util\waiter.py", line 260, in 
_IsNotDone
return not poller.IsDone(operation)
  File "C:\Users\User\AppData\Local\Google\Cloud 
SDK\google-cloud-sdk\lib\googlecloudsdk\api_lib\app\operations_util.py", line 
171, in IsDone
encoding.MessageToPyValue(operation.error)))OperationError: Error Response: 
[13] An internal error occurred during deployment.2018-02-17 15:12:54,542 ERROR 
   root(gcloud.app.deploy) Error Response: [13] An internal error 
occurred during deployment.2018-02-17 15:12:54,819 DEBUGroot
Metrics reporting process started...

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/977c181c-0f3b-4d85-8841-663b8e0f4e8f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.