tienfuc / gdcmdtools

Google drive command-line tools
BSD 2-Clause "Simplified" License
57 stars 4 forks source link

<HttpError 500 when requesting https://www.googleapis.com/upload/drive/v2/files?uploadType=multipart&convert=true&alt=json returned "Internal Error" #99

Open jayantanth opened 7 years ago

jayantanth commented 7 years ago

INFO:main:Running gdmkdir.py "OCR-Sita.pdf-temp-2017-10-21-05-01-37" | tee folder_in_google_drive.log id: 0BxU4-0KBU6EmRkdRT2VWVlFxdUk drive view: https://drive.google.com/drive/folders/0BxU4-0KBU6EmRkdRT2VWVlFxdUk folder view: https://drive.google.com/drive/folders/0BxU4-0KBU6EmRkdRT2VWVlFxdUk INFO:main:

uploading page_00020.pdf to google Drive. INFO:main:Running gdput.py -t ocr -f 0BxU4-0KBU6EmRkdRT2VWVlFxdUk page_00020.pdf | tee page_00020.log Traceback (most recent call last): File "/usr/local/bin/gdput.py", line 252, in Uploading file: page_00020.pdf File size: 66.5KB response = puter.run() File "/Library/Python/2.7/site-packages/gdcmdtools/put.py", line 120, in run result = getattr(self, self.target_type + "_put")() File "/Library/Python/2.7/site-packages/gdcmdtools/put.py", line 505, in ocr_put return self.generic_put(True) File "/Library/Python/2.7/site-packages/gdcmdtools/put.py", line 485, in generic_put service_response = request.execute() File "build/bdist.macosx-10.12-intel/egg/oauth2client/_helpers.py", line 133, in positional_wrapper File "build/bdist.macosx-10.12-intel/egg/googleapiclient/http.py", line 842, in execute googleapiclient.errors.HttpError: <HttpError 500 when requesting https://www.googleapis.com/upload/drive/v2/files?uploadType=multipart&convert=true&alt=json returned "Internal Error">