Giter Site home page Giter Site logo

dapr-cron-trigger's Introduction

Run the function app

Prerequisites

This sample requires you to have the following installed on your machine:

Run Function App with Dapr

Install Dapr extension

func extensions install -p Microsoft.Azure.WebJobs.Extensions.Dapr -v 0.15.0-preview01

Run function host with Dapr.

Windows

dapr run --app-id functionapp --app-port 3001 --dapr-http-port 3501 --resources-path .\components -- func host start

Error

== APP == [2023-09-17T04:00:00.021Z] Worker process started and initialized. == APP == [2023-09-17T04:00:08.035Z] Executing 'Functions.dbt' (Reason='(null)', Id=d7ec3eda-13eb-4079-a66a-7fece15016d5) == APP == [2023-09-17T04:00:08.088Z] Executed 'Functions.dbt' (Failed, Id=d7ec3eda-13eb-4079-a66a-7fece15016d5, Duration=68ms) == APP == [2023-09-17T04:00:08.088Z] System.Private.CoreLib: Exception while executing function: Functions.dbt. System.Private.CoreLib: Result: Failure == APP == Exception: AttributeError: 'NoneType' object has no attribute 'type' == APP == Stack: File "C:\Program Files\Microsoft\Azure Functions Core Tools\workers\python\3.11\WINDOWS\X64\azure_functions_worker\dispatcher.py", line 456, in _handle__invocation_request == APP == args[pb.name] = bindings.from_incoming_proto( == APP == ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ == APP == File "C:\Program Files\Microsoft\Azure Functions Core Tools\workers\python\3.11\WINDOWS\X64\azure_functions_worker\bindings\meta.py", line 90, in from_incoming_proto == APP == return binding.decode(datum, trigger_metadata=metadata) == APP == ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ == APP == File "C:\Program Files\Microsoft\Azure Functions Core Tools\workers\python\3.11\WINDOWS\X64\azure_functions_worker\bindings\generic.py", line 37, in decode == APP == data_type = data.type == APP == ^^^^^^^^^ == APP == . == APP == [2023-09-17T04:00:08.105Z] Function invocation failed. == APP == [2023-09-17T04:00:08.105Z] System.Private.CoreLib: Exception while executing function: Functions.dbt. System.Private.CoreLib: Result: Failure == APP == Exception: AttributeError: 'NoneType' object has no attribute 'type' == APP == Stack: File "C:\Program Files\Microsoft\Azure Functions Core Tools\workers\python\3.11\WINDOWS\X64\azure_functions_worker\dispatcher.py", line 456, in _handle__invocation_request == APP == args[pb.name] = bindings.from_incoming_proto( == APP == ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ == APP == File "C:\Program Files\Microsoft\Azure Functions Core Tools\workers\python\3.11\WINDOWS\X64\azure_functions_worker\bindings\meta.py", line 90, in from_incoming_proto == APP == return binding.decode(datum, trigger_metadata=metadata) == APP == ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ == APP == File "C:\Program Files\Microsoft\Azure Functions Core Tools\workers\python\3.11\WINDOWS\X64\azure_functions_worker\bindings\generic.py", line 37, in decode == APP == data_type = data.type == APP == ^^^^^^^^^ == APP == . == APP == [2023-09-17T04:00:18.002Z] Executing 'Functions.dbt' (Reason='(null)', Id=00b1a9d2-9fcc-40e7-8bb7-98fe0837a458) == APP == [2023-09-17T04:00:18.004Z] Executed 'Functions.dbt' (Failed, Id=00b1a9d2-9fcc-40e7-8bb7-98fe0837a458, Duration=2ms) == APP == [2023-09-17T04:00:18.004Z] System.Private.CoreLib: Exception while executing function: Functions.dbt. System.Private.CoreLib: Result: Failure == APP == Exception: AttributeError: 'NoneType' object has no attribute 'type' == APP == Stack: File "C:\Program Files\Microsoft\Azure Functions Core Tools\workers\python\3.11\WINDOWS\X64\azure_functions_worker\dispatcher.py", line 456, in _handle__invocation_request == APP == args[pb.name] = bindings.from_incoming_proto( == APP == ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ == APP == File "C:\Program Files\Microsoft\Azure Functions Core Tools\workers\python\3.11\WINDOWS\X64\azure_functions_worker\bindings\meta.py", line 90, in from_incoming_proto == APP == return binding.decode(datum, trigger_metadata=metadata) == APP == ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ == APP == File "C:\Program Files\Microsoft\Azure Functions Core Tools\workers\python\3.11\WINDOWS\X64\azure_functions_worker\bindings\generic.py", line 37, in decode == APP == data_type = data.type == APP == ^^^^^^^^^ == APP == . == APP == [2023-09-17T04:00:18.005Z] Function invocation failed. == APP == [2023-09-17T04:00:18.006Z] System.Private.CoreLib: Exception while executing function: Functions.dbt. System.Private.CoreLib: Result: Failure == APP == Exception: AttributeError: 'NoneType' object has no attribute 'type' == APP == Stack: File "C:\Program Files\Microsoft\Azure Functions Core Tools\workers\python\3.11\WINDOWS\X64\azure_functions_worker\dispatcher.py", line 456, in _handle__invocation_request == APP == args[pb.name] = bindings.from_incoming_proto( == APP == ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ == APP == File "C:\Program Files\Microsoft\Azure Functions Core Tools\workers\python\3.11\WINDOWS\X64\azure_functions_worker\bindings\meta.py", line 90, in from_incoming_proto == APP == return binding.decode(datum, trigger_metadata=metadata) == APP == ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ == APP == File "C:\Program Files\Microsoft\Azure Functions Core Tools\workers\python\3.11\WINDOWS\X64\azure_functions_worker\bindings\generic.py", line 37, in decode == APP == data_type = data.type == APP == ^^^^^^^^^ == APP == .

dapr-cron-trigger's People

Contributors

ashiquemd avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.