question

Hamid avatar image
Hamid asked

Setting local debugging for python error

Hi Guys,

I am trying to debug my python lambda using this guide: https://github.com/alexa/alexa-cookbook/tree/master/tools/LocalDebugger/python


The problem is with the `local_debugger.py` script: when I run the code to debug I get the following error

Exception has occurred: TypeError

launch_request_handler() takes 1 positional argument but 2 were given
  File "D:\my-path\local_debugger.py", line 249, in _handle_skill_request
    _send_response(json.dumps(getattr(skill_invoker, args.lambdaHandler)(
  File "D:\my-path\local_debugger.py", line 265, in main
    _handle_skill_request(client_address,
  File "D:\my-path\local_debugger.py", line 275, in <module>
    main()


Thanks a lot for your help.

alexa skills kitalexa
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Quinn Cochrane avatar image
Quinn Cochrane answered
Hi there, it looks like this question was asked in the Name-Free Interaction space. In order to get an answer to your question you may need to re-ask it in the parent Alexa Skills Kit (ASK) space.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.