Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uploading of files is failed. #49

Open
Maverickmiaow opened this issue Aug 24, 2018 · 0 comments
Open

Uploading of files is failed. #49

Maverickmiaow opened this issue Aug 24, 2018 · 0 comments

Comments

@Maverickmiaow
Copy link

Hi,

I encountered some issues when I uploaded images. Could anyone help me? Below is the Error.

2018-08-24 21:17:55,509 :: root :: INFO :: Processing image 12 out of 31: F:\Kapiti\PlanetScope\output\clip_extend_2017_Mar_Jun\20170420.tif
2018-08-24 21:18:24,741 :: root :: ERROR :: Upload of 20170420 has failed.
Traceback (most recent call last):
File "c:\users\cheng\gee_asset_manager\gee_asset_manager\batch_uploader.py", line 109, in upload
use_multipart=multipart_upload)
File "c:\users\cheng\anaconda3\lib\site-packages\retrying.py", line 49, in wrapped_f
return Retrying(*dargs, **dkw).call(f, *args, **kw)
File "c:\users\cheng\anaconda3\lib\site-packages\retrying.py", line 206, in call
return attempt.get(self._wrap_exception)
File "c:\users\cheng\anaconda3\lib\site-packages\retrying.py", line 247, in get
six.reraise(self.value[0], self.value[1], self.value[2])
File "c:\users\cheng\anaconda3\lib\site-packages\six.py", line 693, in reraise
raise value
File "c:\users\cheng\anaconda3\lib\site-packages\retrying.py", line 200, in call
attempt = Attempt(fn(*args, **kwargs), attempt_number, False)
File "c:\users\cheng\gee_asset_manager\gee_asset_manager\batch_uploader.py", line 261, in _upload_file_gee
gsid = resp.json()[0]
File "c:\users\cheng\anaconda3\lib\site-packages\requests\models.py", line 892, in json
return complexjson.loads(self.text, **kwargs)
File "c:\users\cheng\anaconda3\lib\json_init
.py", line 354, in loads
return _default_decoder.decode(s)
File "c:\users\cheng\anaconda3\lib\json\decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "c:\users\cheng\anaconda3\lib\json\decoder.py", line 357, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant