Skip to content
This repository has been archived by the owner on Jul 17, 2020. It is now read-only.

'Continuing a session' from the 'Tutorial' does not work. #169

Open
ryanrudak opened this issue Nov 9, 2019 · 0 comments
Open

'Continuing a session' from the 'Tutorial' does not work. #169

ryanrudak opened this issue Nov 9, 2019 · 0 comments

Comments

@ryanrudak
Copy link

The example of 'Continuing a session' from the 'Tutorial' section does not work.

The line 'available_slots = json.loads(intent_message.custom_data)' gives the following error:

Nov 9 22:49:50 INFO:snips_skill_server_lib::runner: [script][err] Traceback (most recent call last):
Nov 9 22:49:50 INFO:snips_skill_server_lib::runner: [script][err] File "_ctypes/callbacks.c", line 234, in 'calling callback function'
Nov 9 22:49:50 INFO:snips_skill_server_lib::runner: [script][err] File "/var/lib/snips/skills/snips-script-skill/venv/lib/python3.5/site-packages/hermes_python/ffi/wrappers.py", line 61, in convert_arguments_when_invoking_function
Nov 9 22:49:50 INFO:snips_skill_server_lib::runner: [script][err] return func(hermes_client, *parsed_args)
Nov 9 22:49:50 INFO:snips_skill_server_lib::runner: [script][err] File "./action-script.py", line 247, in music_section
Nov 9 22:49:50 INFO:snips_skill_server_lib::runner: [script][err] available_slots = json.loads(intentMessage.custom_data)
Nov 9 22:49:50 INFO:snips_skill_server_lib::runner: [script][err] File "/usr/lib/python3.5/json/init.py", line 312, in loads
Nov 9 22:49:50 INFO:snips_skill_server_lib::runner: [script][err] s.class.name))
Nov 9 22:49:50 INFO:snips_skill_server_lib::runner: [script][err] TypeError: the JSON object must be str, not 'NoneType'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant