Hi,

Did you upgrade the gcloud sdk and tools/components... Looks like it is
something with ur python version and also it is worth nothing that the
gcloud updated to python 3 since python 2 is at EOL, and that works fine.
You might want to re-install the sdk with python3 and try again.


Regards,
Mua

On Tue, 4 Feb 2020 at 16:01 Amit Lahiri <[email protected]> wrote:

> Till yesterday, everything was good, able to deploy simple PHP project
> successfully from Google Cloud SDK Shell. But suddenly, receive the below
> errors list at the end. Do not understand why this happens. Also, do not
> understand why Python erros are showing.
>
> File upload done.
> Updating service [default]...failed.
> ERROR: (gcloud.app.deploy) Error Response: [9] Cloud build
> 466aef5a-213e-41c2-a6c9-e61ec6b09631 status: FAILURE.
> Error ID: F220AEAA.
> Error type: BuildError.
> Error message: INFO     FTL version php-v0.17.0
> INFO     Beginning FTL build for php
> INFO     FTL arg passed: exposed_ports None
> INFO     FTL arg passed: cache_repository
> us.gcr.io/phpdemo-264019/app-engine-tmp/build-cache/ttl-7d
> INFO     FTL arg passed: tar_base_image_path None
> INFO     FTL arg passed: export_cache_stats False
> INFO     FTL arg passed: builder_output_path ""
> INFO     FTL arg passed: name
> us.gcr.io/phpdemo-264019/app-engine-tmp/app/ttl-2h:42d9d331-c653-427c-a832-b0d8bf37ea36
> INFO     FTL arg passed: ttl 168
> INFO     FTL arg passed: global_cache False
> INFO     FTL arg passed: cache True
> INFO     FTL arg passed: upload True
> INFO     FTL arg passed: sh_c_prefix False
> INFO     FTL arg passed: fail_on_error True
> INFO     FTL arg passed: base
> us.gcr.io/gae-runtimes/php72:php72_20191020_7_2_23_RC00
> INFO     FTL arg passed: output_path None
> INFO     FTL arg passed: cache_key_version v0.17.0
> INFO     FTL arg passed: cache_salt
> INFO     FTL arg passed: directory /workspace
> INFO     FTL arg passed: entrypoint None
> INFO     FTL arg passed: additional_directory /.googleconfig
> INFO     FTL arg passed: destination_path /srv
> INFO     FTL arg passed: verbosity NOTSET
> INFO     starting: full build
> INFO     starting: builder initialization
> INFO     Loading Docker credentials for repository '
> us.gcr.io/gae-runtimes/php72:php72_20191020_7_2_23_RC00'
> INFO     Loading Docker credentials for repository '
> us.gcr.io/phpdemo-264019/app-engine-tmp/app/ttl-2h:42d9d331-c653-427c-a832-b0d8bf37ea36
> '
> INFO     builder initialization took 0 seconds
> INFO     starting: build process for FTL image
> INFO     starting: rm_vendor_dir
> INFO     rm_vendor_dir rm -rf /workspace/vendor
> INFO     `rm_vendor_dir` stdout:
>
> INFO     rm_vendor_dir took 0 seconds
> INFO     build process for FTL image took 0 seconds
> INFO     full build took 0 seconds
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
>     "__main__", fname, loader, pkg_name)
>   File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
>     exec code in run_globals
>   File "/usr/local/bin/ftl.par/__main__.py", line 65, in <module>
>   File "/usr/local/bin/ftl.par/__main__.py", line 54, in main
>   File "/usr/local/bin/ftl.par/__main__/ftl/php/builder.py", line 49, in
> Build
>   File "/usr/local/bin/ftl.par/__main__/ftl/php/layer_builder.py", line
> 57, in BuildLayer
>   File "/usr/lib/python2.7/json/__init__.py", line 339, in loads
>     return _default_decoder.decode(s)
>   File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
>     obj, end = self.raw_decode(s, idx=_w(s, 0).end())
>   File "/usr/lib/python2.7/json/decoder.py", line 380, in raw_decode
>     obj, end = self.scan_once(s, idx)
> ValueError: Expecting property name: line 4 column 5 (char 59).
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/3a7a748d-1d38-4d0d-9368-500034423cf3%40googlegroups.com
> <https://groups.google.com/d/msgid/google-appengine/3a7a748d-1d38-4d0d-9368-500034423cf3%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
-- 

*MUA N. LAURENT*: Software Engineer
Akivas Inc. <https://akivas.com/>
Akwa, Douala,CM 00237 | 174 Royal Rd, Cape Town, WC 7405, SA
Phone: (237) 670-518-086

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CAHAhu-g5BLaVuXr%2Bx_%3DCTp9%3D7DYS0wXDSg3kRVfjvC97%3DD-DAw%40mail.gmail.com.

Reply via email to