You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I started to see this problem in one of the apps I'm developing and in which I want to use a ThreadPoolExecutor to improve the loading speed of some GEE requests.
I managed to create an small reproducible example:
importeeimportconcurrent.futuresimporthttplib2ee.Initialize(http_transport=httplib2.Http())
deftask_function():
print(ee.Number(1e13).getInfo())
withconcurrent.futures.ThreadPoolExecutor(max_workers=5) asexecutor:
future_tasks= [executor.submit(task_function) for_inrange(100)]
# Wait for all tasks to complete and get their resultsforfutureinconcurrent.futures.as_completed(future_tasks):
try:
result=future.result()
# Process result hereexceptExceptionasexc:
print(f'Generated an exception: {exc}')
The kernel will crash if I use ee.Initialize(http_transport=httplib2.Http()), however, if I remove the http_transport protocol, it works... I'm not sure why that arg was used, is there any reason for that?
The text was updated successfully, but these errors were encountered:
that args was used a long time ago because of a bug in GEE api. It might not be needed anymore. Can you make a PR removing it to check if the tests are happy ?
but until we don't fix #905, we cannot advance with the tests.
that args was used a long time ago because of a bug in GEE api. It might not be needed anymore. Can you make a PR removing it to check if the tests are happy ?
I started to see this problem in one of the apps I'm developing and in which I want to use a
ThreadPoolExecutor
to improve the loading speed of some GEE requests.I managed to create an small reproducible example:
The kernel will crash if I use
ee.Initialize(http_transport=httplib2.Http())
, however, if I remove the http_transport protocol, it works... I'm not sure why that arg was used, is there any reason for that?The text was updated successfully, but these errors were encountered: