tracek / gee_asset_manager

Google Earth Engine Batch Asset Manager
Apache License 2.0
73 stars 35 forks source link

Upload of image has failed: invalid syntax #70

Open DKchenliyuan opened 1 year ago

DKchenliyuan commented 1 year ago

Hi, I receive the following errors when uploading:

2023-02-26 17:27:50,005 :: root :: WARNING :: Collection users/chenliyuan/GRWL already exists 2023-02-26 17:27:52,905 :: root :: INFO :: Collection already exists. 2 assets left for upload to users/chenliyuan/GRWL. 2023-02-26 17:27:52,906 :: root :: INFO :: Processing image 1 out of 2: C:\test\SL58.tif 2023-02-26 17:28:02,376 :: root :: ERROR :: Upload of SL58 has failed. Traceback (most recent call last): File "C:\Program Files\gee_asset_manager-master\gee_asset_manager\batch_uploader.py", line 120, in upload use_multipart=multipart_upload) File "C:\Anaconda\envs\gee\lib\site-packages\retrying-1.3.4-py3.7.egg\retrying.py", line 56, in wrapped_f return Retrying(*dargs, dkw).call(f, *args, *kw) File "C:\Anaconda\envs\gee\lib\site-packages\retrying-1.3.4-py3.7.egg\retrying.py", line 257, in call return attempt.get(self._wrap_exception) File "C:\Anaconda\envs\gee\lib\site-packages\retrying-1.3.4-py3.7.egg\retrying.py", line 301, in get six.reraise(self.value[0], self.value[1], self.value[2]) File "C:\Anaconda\envs\gee\lib\site-packages\six.py", line 719, in reraise raise value File "C:\Anaconda\envs\gee\lib\site-packages\retrying-1.3.4-py3.7.egg\retrying.py", line 251, in call attempt = Attempt(fn(args, kwargs), attempt_number, False) File "C:\Program Files\gee_asset_manager-master\gee_asset_manager\batch_uploader.py", line 240, in upload_file_gee upload_url = __get_upload_url(session) File "C:\Program Files\gee_asset_manager-master\gee_asset_manager\batch_uploader.py", line 233, in get_upload_url d = ast.literal_eval(r.text) File "C:\Anaconda\envs\gee\lib\ast.py", line 46, in literal_eval node_or_string = parse(node_or_string, mode='eval') File "C:\Anaconda\envs\gee\lib\ast.py", line 35, in parse return compile(source, filename, mode, PyCF_ONLY_AST) File "", line 1 <!doctype html>Clear cache & cookies - Computer - Google Account Helpstyle>@font-face{font-family:'Roboto';font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/roboto/v18/KFOmCnqEu92Fr1Mu4mxP.ttf)format('truetype');}@font-face{font-family:'Roboto';font-style:normal;font-weight:500;src:url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmEU9fBBc9.ttf)format('truetype');}@font-face{font-family:'Roboto';font-style:normal;font-weight:700;src:url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmWUlfBBc9.ttf)format('truetype');}</style Githubissues.

  • Githubissues is a development platform for aggregating issues.