Comments (7)
Hey @DronNick , thanks for raising the issue. To investigate this better, can you provide the skill id and the exact reproduction steps you tried? Also, are you trying to use the simulator on the same profile that you created/cloned the skill?
from ask-toolkit-for-vscode.
Hello @nikhilym , I use simulator on the same profile.
ask-resouces.json
:
{
"askToolkitResourcesVersion": "2020-04-15",
"profiles": {
"default": {
"skillId": "amzn1.ask.skill.a7c7d3a8-1a49-48bc-a0ea-bd7395c476d8",
"skillInfrastructure": {
"type": "@ask-cli/hosted-skill-deployer"
}
}
}
}
Steps to reproduce
Commit to:
https:// git-codecommit.us-east-1.amazonaws.com/v1/repos/a7c7d3a8-1a49-48bc-a0ea-bd7395c476d8
Deploy skill:
[info - 2020-11-09 22:07:11.005Z] Skill build succeeded
Test skill=>Open simulator=> Type invocation and intent (the same string worked before):
[info - 2020-11-09 22:40:19.558Z] Activating extension
[debug - 2020-11-09 22:40:19.559Z] Registering commands in the extension
[debug - 2020-11-09 22:40:19.624Z] Registering views in the extension
[debug - 2020-11-09 22:40:19.731Z] Calling method: welcomeScreen.getHtmlForView
[verbose - 2020-11-09 22:40:19.731Z] Calling method: checkGitInstallation
[verbose - 2020-11-09 22:40:19.731Z] Calling method: isGitInstalled
[verbose - 2020-11-09 22:40:19.731Z] Executing git command : git --version
[debug - 2020-11-09 22:40:20.177Z] Calling method: renderView, args: [{"name":"welcomeScreen","js":false,"args":{"enabled":"checked"}}]
[debug - 2020-11-09 22:40:20.178Z] Calling method: interpolate, args: [{"enabled":"checked"}]
[debug - 2020-11-09 22:40:20.179Z] Registering event handlers in the extension
[debug - 2020-11-09 22:40:20.179Z] Registering statusbar in the extension
[verbose - 2020-11-09 22:40:20.180Z] Updating profile icon in the extension
[debug - 2020-11-09 22:40:20.180Z] Registering treeviews in the extension
[verbose - 2020-11-09 22:40:20.192Z] Calling method: findSkillFolders
[debug - 2020-11-09 22:40:20.544Z] Calling method: welcomeScreen.onViewChangeListener
[verbose - 2020-11-09 22:40:20.953Z] Calling method: getOrInstantiateGitApi
[debug - 2020-11-09 22:40:20.955Z] Checking if extension version is latest
[debug - 2020-11-09 22:40:31.329Z] Calling method: h.getChildren
[verbose - 2020-11-09 22:40:31.329Z] Calling method: getSkillFolderInWs
[verbose - 2020-11-09 22:40:31.329Z] Calling method: doesWorkSpaceExist
[verbose - 2020-11-09 22:40:31.330Z] Calling method: getSkillDetailsFromWorkspace
[verbose - 2020-11-09 22:40:31.330Z] Calling method: getSkillFolderInWs
[verbose - 2020-11-09 22:40:31.330Z] Calling method: doesWorkSpaceExist
[verbose - 2020-11-09 22:40:31.330Z] Calling method: getAskResourceConfig
[verbose - 2020-11-09 22:40:31.330Z] Calling method: getAskState
[verbose - 2020-11-09 22:40:31.331Z] Calling method: getSkillManifestFromWorkspace
[verbose - 2020-11-09 22:40:31.332Z] Calling method: getSkillNameFromLocales, args: [{"de-DE":{"name":"innovaphone myApps"}},null]
[debug - 2020-11-09 22:40:31.333Z] Calling method: c.getChildren
[debug - 2020-11-09 22:40:31.336Z] Calling method: a.getChildren
[verbose - 2020-11-09 22:40:31.336Z] Calling method: a.addRootResources
[debug - 2020-11-09 22:40:31.336Z] Calling method: h.getTreeItem
[verbose - 2020-11-09 22:40:31.336Z] Calling method: c.addRootResources
[debug - 2020-11-09 22:40:31.336Z] Calling method: a.getTreeItem
[debug - 2020-11-09 22:40:31.336Z] Calling method: a.getTreeItem
[debug - 2020-11-09 22:40:31.337Z] Calling method: c.getTreeItem
[debug - 2020-11-09 22:40:31.337Z] Calling method: c.getTreeItem
[debug - 2020-11-09 22:40:31.337Z] Calling method: c.getTreeItem
[debug - 2020-11-09 22:40:31.357Z] Calling method: h.getChildren
[verbose - 2020-11-09 22:40:31.357Z] Calling method: getSkillFolderInWs
[verbose - 2020-11-09 22:40:31.357Z] Calling method: doesWorkSpaceExist
[verbose - 2020-11-09 22:40:31.358Z] Calling method: getSkillDetailsFromWorkspace
[verbose - 2020-11-09 22:40:31.358Z] Calling method: getSkillFolderInWs
[verbose - 2020-11-09 22:40:31.358Z] Calling method: doesWorkSpaceExist
[verbose - 2020-11-09 22:40:31.358Z] Calling method: getAskResourceConfig
[verbose - 2020-11-09 22:40:31.358Z] Calling method: getAskState
[verbose - 2020-11-09 22:40:31.359Z] Calling method: getSkillManifestFromWorkspace
[verbose - 2020-11-09 22:40:31.359Z] Calling method: getSkillNameFromLocales, args: [{"de-DE":{"name":"innovaphone myApps"}},null]
[verbose - 2020-11-09 22:40:31.360Z] Calling method: isSkillHosted, args: ["amzn1.ask.skill.a7c7d3a8-1a49-48bc-a0ea-bd7395c476d8"]
[debug - 2020-11-09 22:40:32.224Z] Calling method: h.getTreeItem
[debug - 2020-11-09 22:40:32.224Z] Calling method: h.getTreeItem
[debug - 2020-11-09 22:40:32.224Z] Calling method: h.getTreeItem
[debug - 2020-11-09 22:40:32.225Z] Calling method: h.getTreeItem
[debug - 2020-11-09 22:40:32.225Z] Calling method: h.getTreeItem
[debug - 2020-11-09 22:40:36.064Z] Calling method: h.getChildren
[verbose - 2020-11-09 22:40:36.064Z] Calling method: getSkillFolderInWs
[verbose - 2020-11-09 22:40:36.064Z] Calling method: doesWorkSpaceExist
[verbose - 2020-11-09 22:40:36.064Z] Calling method: getSkillDetailsFromWorkspace
[verbose - 2020-11-09 22:40:36.064Z] Calling method: getSkillFolderInWs
[verbose - 2020-11-09 22:40:36.064Z] Calling method: doesWorkSpaceExist
[verbose - 2020-11-09 22:40:36.064Z] Calling method: getAskResourceConfig
[verbose - 2020-11-09 22:40:36.065Z] Calling method: getAskState
[verbose - 2020-11-09 22:40:36.066Z] Calling method: getSkillManifestFromWorkspace
[verbose - 2020-11-09 22:40:36.066Z] Calling method: getSkillNameFromLocales, args: [{"de-DE":{"name":"innovaphone myApps"}},null]
[debug - 2020-11-09 22:40:36.067Z] Calling method: h.getTreeItem
[debug - 2020-11-09 22:40:36.067Z] Calling method: h.getTreeItem
[debug - 2020-11-09 22:40:36.067Z] Calling method: h.getTreeItem
[debug - 2020-11-09 22:40:37.676Z] Calling method: askContainer.skillsConsole.simulateSkill
[debug - 2020-11-09 22:40:37.677Z] Calling method: simulateSkill.getHtmlForView
[debug - 2020-11-09 22:40:37.678Z] Calling method: renderView, args: [{"name":"simulateSkill","js":true,"args":{"simulateCss":{"$mid":1,
"path":"/file///c:/Users/user/.vscode/extensions/ask-toolkit.alexa-skills-kit-toolkit-2.1.0/media/simulate.css",
"scheme":"vscode-webview-resource",
"authority":"93c566cd-0c9e-4ea5-aad4-f7ba5a177e85"},
"aplRenderUtils":{"$mid":1,
"path":"/file///c:/Users/user/.vscode/extensions/ask-toolkit.alexa-skills-kit-toolkit-2.1.0/media/previewApl/aplRenderUtils.js",
"scheme":"vscode-webview-resource",
"authority":"93c566cd-0c9e-4ea5-aad4-f7ba5a177e85"},
"customJavascript":"vscode-webview-resource://93c566cd-0c9e-4ea5-aad4-f7ba5a177e85/file///c%3A/Users/user/.vscode/extensions/ask-toolkit.alexa-skills-kit-toolkit-2.1.0/node_modules/apl-viewhost-web/index.js"}}]
[debug - 2020-11-09 22:40:37.678Z] Calling method: interpolate,
args: [{"simulateCss":{"$mid":1,"path":"/file///c:/Users/user/.vscode/extensions/ask-toolkit.alexa-skills-kit-toolkit-2.1.0/media/simulate.css",
"scheme":"vscode-webview-resource","authority":"93c566cd-0c9e-4ea5-aad4-f7ba5a177e85"},
"aplRenderUtils":{"$mid":1,"path":"/file///c:/Users/user/.vscode/extensions/ask-toolkit.alexa-skills-kit-toolkit-2.1.0/media/previewApl/aplRenderUtils.js",
"scheme":"vscode-webview-resource",
"authority":"93c566cd-0c9e-4ea5-aad4-f7ba5a177e85"},
"customJavascript":"vscode-webview-resource://93c566cd-0c9e-4ea5-aad4-f7ba5a177e85/file///c%3A/Users/user/.vscode/extensions/ask-toolkit.alexa-skills-kit-toolkit-2.1.0/node_modules/apl-viewhost-web/index.js"}]
[debug - 2020-11-09 22:40:37.796Z] Calling method: welcomeScreen.onViewChangeListener
[debug - 2020-11-09 22:40:37.796Z] Calling method: simulateSkill.onViewChangeListener
[debug - 2020-11-09 22:40:39.484Z] Successfully uploaded telemetry data.
[debug - 2020-11-09 22:40:39.803Z] Calling method: simulateSkill.onReceiveMessageListener
[verbose - 2020-11-09 22:40:39.803Z] Calling method: getSkillDetailsFromWorkspace
[verbose - 2020-11-09 22:40:39.803Z] Calling method: getSkillFolderInWs
[verbose - 2020-11-09 22:40:39.803Z] Calling method: doesWorkSpaceExist
[verbose - 2020-11-09 22:40:39.803Z] Calling method: getAskResourceConfig
[verbose - 2020-11-09 22:40:39.804Z] Calling method: getAskState
[verbose - 2020-11-09 22:40:39.804Z] Calling method: getSkillManifestFromWorkspace
[verbose - 2020-11-09 22:40:39.805Z] Calling method: getSkillNameFromLocales, args: [{"de-DE":{"name":"innovaphone myApps"}},null]
[verbose - 2020-11-09 22:40:39.805Z] Calling method: simulateSkillHelper.handleSkillStatusMessageFromWebview
[verbose - 2020-11-09 22:40:39.805Z] Calling method: simulateSkillHelper.checkSkillStatus
[debug - 2020-11-09 22:40:39.806Z] Calling method: simulateSkill.onReceiveMessageListener
[verbose - 2020-11-09 22:40:39.806Z] Calling method: getSkillDetailsFromWorkspace
[verbose - 2020-11-09 22:40:39.806Z] Calling method: getSkillFolderInWs
[verbose - 2020-11-09 22:40:39.806Z] Calling method: doesWorkSpaceExist
[verbose - 2020-11-09 22:40:39.806Z] Calling method: getAskResourceConfig
[verbose - 2020-11-09 22:40:39.807Z] Calling method: getAskState
[verbose - 2020-11-09 22:40:39.807Z] Calling method: getSkillManifestFromWorkspace
[verbose - 2020-11-09 22:40:39.807Z] Calling method: getSkillNameFromLocales, args: [{"de-DE":{"name":"innovaphone myApps"}},null]
[verbose - 2020-11-09 22:40:39.808Z] Calling method: simulateSkillHelper.handleLocaleMessageFromWebview
[debug - 2020-11-09 22:40:51.766Z] Calling method: simulateSkill.onViewChangeListener
[debug - 2020-11-09 22:40:57.889Z] Calling method: simulateSkill.onViewChangeListener
[debug - 2020-11-09 22:40:58.632Z] Calling method: simulateSkill.onReceiveMessageListener
[verbose - 2020-11-09 22:40:58.632Z] Calling method: getSkillDetailsFromWorkspace
[verbose - 2020-11-09 22:40:58.632Z] Calling method: getSkillFolderInWs
[verbose - 2020-11-09 22:40:58.633Z] Calling method: doesWorkSpaceExist
[verbose - 2020-11-09 22:40:58.633Z] Calling method: getAskResourceConfig
[verbose - 2020-11-09 22:40:58.633Z] Calling method: getAskState
[verbose - 2020-11-09 22:40:58.634Z] Calling method: getSkillManifestFromWorkspace
[verbose - 2020-11-09 22:40:58.634Z] Calling method: getSkillNameFromLocales, args: [{"de-DE":{"name":"in***ps"}},null]
[verbose - 2020-11-09 22:40:58.635Z] Calling method: simulateSkillHelper.handleSkillStatusMessageFromWebview
[verbose - 2020-11-09 22:40:58.635Z] Calling method: simulateSkillHelper.checkSkillStatus
[debug - 2020-11-09 22:40:58.636Z] Calling method: simulateSkill.onReceiveMessageListener
[verbose - 2020-11-09 22:40:58.636Z] Calling method: getSkillDetailsFromWorkspace
[verbose - 2020-11-09 22:40:58.636Z] Calling method: getSkillFolderInWs
[verbose - 2020-11-09 22:40:58.636Z] Calling method: doesWorkSpaceExist
[verbose - 2020-11-09 22:40:58.636Z] Calling method: getAskResourceConfig
[verbose - 2020-11-09 22:40:58.636Z] Calling method: getAskState
[verbose - 2020-11-09 22:40:58.637Z] Calling method: getSkillManifestFromWorkspace
[verbose - 2020-11-09 22:40:58.637Z] Calling method: getSkillNameFromLocales, args: [{"de-DE":{"name":"in***pps"}},null]
[verbose - 2020-11-09 22:40:58.637Z] Calling method: simulateSkillHelper.handleLocaleMessageFromWebview
[debug - 2020-11-09 22:41:21.624Z] Calling method: simulateSkill.onReceiveMessageListener
[verbose - 2020-11-09 22:41:21.624Z] Calling method: getSkillDetailsFromWorkspace
[verbose - 2020-11-09 22:41:21.624Z] Calling method: getSkillFolderInWs
[verbose - 2020-11-09 22:41:21.624Z] Calling method: doesWorkSpaceExist
[verbose - 2020-11-09 22:41:21.624Z] Calling method: getAskResourceConfig
[verbose - 2020-11-09 22:41:21.625Z] Calling method: getAskState
[verbose - 2020-11-09 22:41:21.626Z] Calling method: getSkillManifestFromWorkspace
[verbose - 2020-11-09 22:41:21.627Z] Calling method: getSkillNameFromLocales, args: [{"de-DE":{"name":"inn***ps"}},null]
[verbose - 2020-11-09 22:41:21.627Z] Calling method: simulateSkillHelper.handleUtteranceMessageFromWebview
[verbose - 2020-11-09 22:41:21.627Z] Calling method: simulateSkillHelper.getSimulationResponse, args: ["sta***en"]
[verbose - 2020-11-09 22:41:22.270Z] Retrying simulation request, attempt: 1
[error - 2020-11-09 22:41:22.554Z] Simulation in progress.
[verbose - 2020-11-09 22:41:23.054Z] Retrying simulation request, attempt: 2
[error - 2020-11-09 22:41:23.326Z] Simulation in progress.
[verbose - 2020-11-09 22:41:24.327Z] Retrying simulation request, attempt: 3
[error - 2020-11-09 22:41:24.602Z] Simulation in progress.
[verbose - 2020-11-09 22:41:26.603Z] Retrying simulation request, attempt: 4
[error - 2020-11-09 22:41:26.882Z] Simulation in progress.
[verbose - 2020-11-09 22:41:30.883Z] Retrying simulation request, attempt: 5
[verbose - 2020-11-09 22:41:31.156Z] Calling method: simulateSkillHelper.formatAlexaResponse
Talk to Alexa screen shows undefined
as answer
It seems to be a timeout issue - after a while it stops to work and output of the "ASK Toolkit" shows only Simulation in progress
.
How can i see Lambda function logs?
from ask-toolkit-for-vscode.
Hey @DronNick , you are right. It looks like the invocation failed from the service side and the toolkit is timing out expecting a response. I will check with the service team regarding this skill invocation. To make sure this is a service side issue instead of the toolkit, can you check through developer console or through ask cli
if the skill invocation is working for this skill and the skill code please?
from ask-toolkit-for-vscode.
Hey @DronNick , just checking back if you were able to get this working. Please let us know. Thanks.
from ask-toolkit-for-vscode.
Hello @nikhilym ,
i figured out - it was an issue with the lambda function, it was not starting at all because of the missing modules (deploying failed silently because of yarn module problem). It was only visible in the CloudWatch Logs. I expected that Alexa Skills Toolkit shows this log in the VS Code console. Otherwise what is the purpose of the simulator, if i can not see any error messages localy?
from ask-toolkit-for-vscode.
@DronNick thanks for the update and sorry for the inconvenience. Glad you got it working.
I expected that Alexa Skills Toolkit shows this log in the VS Code console. Otherwise what is the purpose of the simulator, if i can not see any error messages localy?
You are right, the local simulator should try and retrieve the exact error messages as we do in the web simulator. However, since we use the skill simulation API to get the skill simulation details, it looks like the service is not sending us the correct information regarding these errors. We will check with the team about this.
Alternatively, we will also check with the hosted skills team if we can get the links for the cloud watch logs for hosted skills, so that we can include it in the skill actions pane.
I logged the feature request #61 . Please add any missing information or any other context to that issue. Thanks.
from ask-toolkit-for-vscode.
im also getting this error, i may need some help.
from ask-toolkit-for-vscode.
Related Issues (20)
- hello who are you HOT 2
- CyberAlex HOT 2
- Unable to receive events for Reminders/Skill enable or disable for Alexa Hosted Skill HOT 2
- Consistent Undefined Response for Alexa Simulator HOT 5
- GitHub repository problem using alexa in visual studio code HOT 8
- Error while trying to register a device for skill testing in VS Code HOT 3
- How to do shared development of an open source Alexa Skill on GitHub? HOT 1
- Not able to hook local simulator or ask-cli simulator to the local debugger HOT 5
- Closed issue 277 is still an issue HOT 1
- Add full support for Arabic locale (ar-SA)
- Various operations result in a Git error "No skill repository found"
- "There is no interaction model for en-US. Select a different locale." HOT 5
- duture
- local debugging of skills using persistent storage not working HOT 3
- Ability to pull and edit widget artifacts
- Support for download and editing of APLA documents. HOT 1
- Ability to download all of a skill's APL documents
- Error occurred while trying to debug Alexa Skill using ASK Toolkit in Python environment on VSCode HOT 9
- n
- Skill clone failed. Reason: Git folder setup failed HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ask-toolkit-for-vscode.