Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ranchodeluxe/7f7f816f782c0289d323d5b22e458abf to your computer and use it in GitHub Desktop.
Save ranchodeluxe/7f7f816f782c0289d323d5b22e458abf to your computer and use it in GitHub Desktop.
d9d88ca43c44','level':'Error','levelId':4,'processId':28,'exceptionDetails':'Microsoft.Azure.WebJobs.Host.FunctionInvocationException : Exception while executing function: Functions.HrrrStactoolsCollection ---> Microsoft.Azure.WebJobs.Script.Workers.Rpc.RpcException : Result: Failure\nException: RuntimeError: Cannot find the ecCodes library\nStack: File \'/azure-functions-host/workers/python/3.11/LINUX/X64/azure_functions_worker/dispatcher.py\', line 604, in _handle__invocation_request\n call_result = await self._loop.run_in_executor(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \'/usr/local/lib/python3.11/concurrent/futures/thread.py\', line 58, in run\n result = self.fn(*self.args, **self.kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \'/azure-functions-host/workers/python/3.11/LINUX/X64/azure_functions_worker/dispatcher.py\', line 933, in _run_sync_func\n return ExtensionManager.get_sync_invocation_wrapper(context,\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \'/azure-functions-host/workers/python/3.11/LINUX/X64/azure_functions_worker/extension.py\', line 215, in _raw_invocation_wrapper\n result = function(**args)\n ^^^^^^^^^^^^^^^^\n File \'/home/site/wwwroot/function_app.py\', line 22, in HrrrStactoolsCollection\n from stactools.noaa_hrrr import stac\n File \'/usr/local/lib/python3.11/site-packages/stactools/noaa_hrrr/__init__.py\', line 3, in <module>\n from stactools.noaa_hrrr.stac import create_collection, create_item\n File \'/usr/local/lib/python3.11/site-packages/stactools/noaa_hrrr/stac.py\', line 4, in <module>\n from herbie import Herbie\n File \'/usr/local/lib/python3.11/site-packages/herbie/__init__.py\', line 204, in <module>\n from herbie.core import Herbie\n File \'/usr/local/lib/python3.11/site-packages/herbie/core.py\', line 22, in <module>\n import cfgrib\n File \'/usr/local/lib/python3.11/site-packages/cfgrib/__init__.py\', line 20, in <module>\n from .cfmessage import COMPUTED_KEYS\n File \'/usr/local/lib/python3.11/site-packages/cfgrib/cfmessage.py\', line 29, in <module>\n from . import abc, messages\n File \'/usr/local/lib/python3.11/site-packages/cfgrib/messages.py\', line 28, in <module>\n import eccodes # type: ignore\n ^^^^^^^^^^^^^^\n File \'/usr/local/lib/python3.11/site-packages/eccodes/__init__.py\', line 13, in <module>\n from .eccodes import * # noqa\n ^^^^^^^^^^^^^^^^^^^^^^\n File \'/usr/local/lib/python3.11/site-packages/eccodes/eccodes.py\', line 12, in <module>\n from gribapi import (\n File \'/usr/local/lib/python3.11/site-packages/gribapi/__init__.py\', line 13, in <module>\n from .gribapi import * # noqa\n ^^^^^^^^^^^^^^^^^^^^^^\n File \'/usr/local/lib/python3.11/site-packages/gribapi/gribapi.py\', line 34, in <module>\n from gribapi.errors import GribInternalError\n File \'/usr/local/lib/python3.11/site-packages/gribapi/errors.py\', line 16, in <module>\n from .bindings import ENC, ffi, lib\n File \'/usr/local/lib/python3.11/site-packages/gribapi/bindings.py\', line 35, in <module>\n raise RuntimeError(\'Cannot find the ecCodes library\')\n\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\n at async Microsoft.Azure.WebJobs.Script.Description.WorkerFunctionInvoker.InvokeCore(Object[] parameters,FunctionInvocationContext context) at /src/azure-functions-host/src/WebJobs.Script/Description/Workers/WorkerFunctionInvoker.cs : 101\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\n at async Microsoft.Azure.WebJobs.Script.Description.FunctionInvokerBase.Invoke(Object[] parameters) at /src/azure-functions-host/src/WebJobs.Script/Description/FunctionInvokerBase.cs : 82\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\n at async Microsoft.Azure.WebJobs.Script.Description.FunctionGenerator.Coerce[T](Task`1 src) at /src/azure-functions-host/src/WebJobs.Script/Description/FunctionGenerator.cs : 225\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\n at async Microsoft.Azure.WebJobs.Host.Executors.FunctionInvoker`2.InvokeAsync[TReflected,TReturnValue](Object instance,Object[] arguments) at D:\\a\\_work\\1\\s\\src\\Microsoft.Azure.WebJobs.Host\\Executors\\FunctionInvoker.cs : 53\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\n at async Microsoft.Azure.WebJobs.Host.Executors.FunctionExecutor.InvokeWithTimeoutAsync(IFunctionInvoker invoker,ParameterHelper parameterHelper,CancellationTokenSource timeoutTokenSource,CancellationTokenSource functionCancellationTokenSource,Boolean throwOnTimeout,TimeSpan timerInterval,IFunctionInstance instance) at D:\\a\\_work\\1\\s\\src\\Microsoft.Azure.WebJobs.Host\\Executors\\FunctionExecutor.cs : 581\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\n at async Microsoft.Azure.WebJobs.Host.Executors.FunctionExecutor.ExecuteWithWatchersAsync(IFunctionInstanceEx instance,ParameterHelper parameterHelper,ILogger logger,CancellationTokenSource functionCancellationTokenSource) at D:\\a\\_work\\1\\s\\src\\Microsoft.Azure.WebJobs.Host\\Executors\\FunctionExecutor.cs : 527\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\n at async Microsoft.Azure.WebJobs.Host.Executors.FunctionExecutor.ExecuteWithLoggingAsync(IFunctionInstanceEx instance,FunctionStartedMessage message,FunctionInstanceLogEntry instanceLogEntry,ParameterHelper parameterHelper,ILogger logger,CancellationToken cancellationToken) at D:\\a\\_work\\1\\s\\src\\Microsoft.Azure.WebJobs.Host\\Executors\\FunctionExecutor.cs : 306\n End of inner exception\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\n at async Microsoft.Azure.WebJobs.Host.Executors.FunctionExecutor.ExecuteWithLoggingAsync(IFunctionInstanceEx instance,FunctionStartedMessage message,FunctionInstanceLogEntry instanceLogEntry,ParameterHelper parameterHelper,ILogger logger,CancellationToken cancellationToken) at D:\\a\\_work\\1\\s\\src\\Microsoft.Azure.WebJobs.Host\\Executors\\FunctionExecutor.cs : 352\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\n at async Microsoft.Azure.WebJobs.Host.Executors.FunctionExecutor.TryExecuteAsync(IFunctionInstance functionInstance,CancellationToken cancellationToken) at D:\\a\\_work\\1\\s\\src\\Microsoft.Azure.WebJobs.Host\\Executors\\FunctionExecutor.cs : 108','exceptionMessage':'Result: Failure\nException: RuntimeError: Cannot find the ecCodes library\nStack: File \'/azure-functions-host/workers/python/3.11/LINUX/X64/azure_functions_worker/dispatcher.py\', line 604, in _handle__invocation_request\n call_result = await self._loop.run_in_executor(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \'/usr/local/lib/python3.11/concurrent/futures/thread.py\', line 58, in run\n result = self.fn(*self.args, **self.kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \'/azure-functions-host/workers/python/3.11/LINUX/X64/azure_functions_worker/dispatcher.py\', line 933, in _run_sync_func\n return ExtensionManager.get_sync_invocation_wrapper(context,\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \'/azure-functions-host/workers/python/3.11/LINUX/X64/azure_functions_worker/extension.py\', line 215, in _raw_invocation_wrapper\n result = function(**args)\n ^^^^^^^^^^^^^^^^\n File \'/home/site/wwwroot/function_app.py\', line 22, in HrrrStactoolsCollection\n from stactools.noaa_hrrr import stac\n File \'/usr/local/lib/python3.11/site-packages/stactools/noaa_hrrr/__init__.py\', line 3, in <module>\n from stactools.noaa_hrrr.stac import create_collection, create_item\n File \'/usr/local/lib/python3.11/site-packages/stactools/noaa_hrrr/stac.py\', line 4, in <module>\n from herbie import Herbie\n File \'/usr/local/lib/python3.11/site-packages/herbie/__init__.py\', line 204, in <module>\n from herbie.core import Herbie\n File \'/usr/local/lib/python3.11/site-packages/herbie/core.py\', line 22, in <module>\n import cfgrib\n File \'/usr/local/lib/python3.11/site-packages/cfgrib/__init__.py\', line 20, in <module>\n from .cfmessage import COMPUTED_KEYS\n File \'/usr/local/lib/python3.11/site-packages/cfgrib/cfmessage.py\', line 29, in <module>\n from . import abc, messages\n File \'/usr/local/lib/python3.11/site-packages/cfgrib/messages.py\', line 28, in <module>\n import eccodes # type: ignore\n ^^^^^^^^^^^^^^\n File \'/usr/local/lib/python3.11/site-packages/eccodes/__init__.py\', line 13, in <module>\n from .eccodes import * # noqa\n ^^^^^^^^^^^^^^^^^^^^^^\n File \'/usr/local/lib/python3.11/site-packages/eccodes/eccodes.py\', line 12, in <module>\n from gribapi import (\n File \'/usr/local/lib/python3.11/site-packages/gribapi/__init__.py\', line 13, in <module>\n from .gribapi import * # noqa\n ^^^^^^^^^^^^^^^^^^^^^^\n File \'/usr/local/lib/python3.11/site-packages/gribapi/gribapi.py\', line 34, in <module>\n from gribapi.errors import GribInternalError\n File \'/usr/local/lib/python3.11/site-packages/gribapi/errors.py\', line 16, in <module>\n from .bindings import ENC, ffi, lib\n File \'/usr/local/lib/python3.11/site-packages/gribapi/bindings.py\', line 35, in <module>\n raise RuntimeError(\'Cannot find the ecCodes library\')\n','exceptionType':'Microsoft.Azure.WebJobs.Script.Workers.Rpc.RpcException'}",06/13/2024 22:02:56/appsvctmp/volatile/logs/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment