atreebangalore / jaltol

a QGIS python plugin to make typology-specific Rural Water Security Plans. These plans help lead the user from data to decisions
MIT License
4 stars 3 forks source link

Python error even after changing the projection. #4

Closed PranutiChoppakatla closed 2 years ago

PranutiChoppakatla commented 2 years ago

Like advised we've got the coordinate system to 4326 and now we are getting a python error. One line description of what the bug is.

ERROR - An error has occurred while executing Python code:

ee.ee_exception.EEException: The service is currently unavailable. Traceback (most recent call last): File "C:\Users\Lakshmi Pranuti\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\ee_plugin\extlibs_windows\ee\data.py", line 338, in _execute_cloud_call return call.execute(num_retries=num_retries) File "C:\Users\Lakshmi Pranuti\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\ee_plugin\extlibs_windows\googleapiclient_helpers.py", line 134, in positional_wrapper return wrapped(*args, **kwargs) File "C:\Users\Lakshmi Pranuti\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\ee_plugin\extlibs_windows\googleapiclient\http.py", line 907, in execute raise HttpError(resp, content, uri=self.uri) googleapiclient.errors.HttpError:

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "C:\Users/Lakshmi Pranuti/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\jaltol-main\jaltol.py", line 496, in print_water_balance self.polygon_area = float(self.polygon.area().getInfo()) File "C:\Users\Lakshmi Pranuti\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\ee_plugin\extlibs_windows\ee\computedobject.py", line 95, in getInfo return data.computeValue(self) File "C:\Users\Lakshmi Pranuti\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\ee_plugin\extlibs_windows\ee\data.py", line 700, in computeValue return _execute_cloud_call(_cloud_api_resource.projects().value().compute( File "C:\Users\Lakshmi Pranuti\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\ee_plugin\extlibs_windows\ee\data.py", line 340, in _execute_cloud_call raise _translate_cloud_exception(e) ee.ee_exception.EEException: The service is currently unavailable.

Python version: 3.9.5 (tags/v3.9.5:0a7dcbd, May 3 2021, 17:27:52) [MSC v.1928 64 bit (AMD64)] QGIS version: 3.16.10-Hannover Hannover, e5b665e9

Python Path: C:/PROGRA~1/QGIS31~1.10/apps/qgis-ltr/./python C:/Users/Lakshmi Pranuti/AppData/Roaming/QGIS/QGIS3\profiles\default/python C:/Users/Lakshmi Pranuti/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins C:/PROGRA~1/QGIS31~1.10/apps/qgis-ltr/./python/plugins C:\Program Files\QGIS 3.16.10\bin\python39.zip C:\PROGRA~1\QGIS31~1.10\apps\Python39\DLLs C:\PROGRA~1\QGIS31~1.10\apps\Python39\lib C:\Program Files\QGIS 3.16.10\bin C:\PROGRA~1\QGIS31~1.10\apps\Python39 C:\PROGRA~1\QGIS31~1.10\apps\Python39\lib\site-packages C:\PROGRA~1\QGIS31~1.10\apps\Python39\lib\site-packages\win32 C:\PROGRA~1\QGIS31~1.10\apps\Python39\lib\site-packages\win32\lib C:\PROGRA~1\QGIS31~1.10\apps\Python39\lib\site-packages\Pythonwin C:/Users/Lakshmi Pranuti/AppData/Roaming/QGIS/QGIS3\profiles\default/python C:\Users\Lakshmi Pranuti\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\ee_plugin\extlibs_windows C:\Users/Lakshmi Pranuti/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\jaltol-main

To Reproduce If using a custom shapefile please upload ZIP of the same to project google drive folder GISLayers and add link below. Steps to reproduce the behavior:

Expected behavior A clear and concise description of what you expected to happen instead.

Screenshots If applicable, add screenshots to help explain your problem. image

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

https://drive.google.com/drive/u/0/folders/1ImmeuQ6iEN0H030EMH7ZbfpSaqvg4_j3