Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Add key to interface and translation to culture files stops after key #11

Closed
brandongregoryscott opened this issue Jun 17, 2021 · 0 comments · Fixed by #12
Closed
Labels
bug Something isn't working

Comments

@brandongregoryscott
Copy link
Owner

brandongregoryscott commented Jun 17, 2021

Issue
Using the combined command for adding a key to the interface and translation to culture files, the process stops after adding the key. After doing some light debugging, it looks like an error is being thrown and logged out to kazoo_log.txt:

[2021-06-17T08:56:23.847] [ERROR] kazoo - [addKeyAndTranslation]: Canceled: Canceled
    at Object.s [as canceled] (c:\Users\bscot\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:5:1157)
    at h._remoteCall (c:\Users\bscot\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:88:12871)
    at Proxy.b.<computed>.S.charCodeAt.b.<computed> (c:\Users\bscot\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:88:9394)
    at A.showMessage (c:\Users\bscot\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:84:199065)
    at Object.showErrorMessage (c:\Users\bscot\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:93:29270)
    at Object.error (c:\Users\bscot\.vscode\extensions\brandongregoryscott.kazoo-0.2.0\dist\extension.js:187451:27)
    at Object.catch (c:\Users\bscot\.vscode\extensions\brandongregoryscott.kazoo-0.2.0\dist\extension.js:187481:23)
    at addKeyToInterface (c:\Users\bscot\.vscode\extensions\brandongregoryscott.kazoo-0.2.0\dist\extension.js:187760:33)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at addKeyAndTranslation (c:\Users\bscot\.vscode\extensions\brandongregoryscott.kazoo-0.2.0\dist\extension.js:187855:12)
    at _executeContributedCommand (c:\Users\bscot\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:84:108086) {
  vslsStack: [
    CallSite {}, CallSite {},
    CallSite {}, CallSite {},
    CallSite {}, CallSite {},
    CallSite {}, CallSite {},
    CallSite {}, CallSite {},
    CallSite {}, CallSite {}
  ]
}

May be related to microsoft/vscode#69335, since this issue seems to have cropped up since logging was added in 0.1.3 which accesses the workspaceFolders array.

On a related note, it looks like the logging isn't flushed until the extension host is manually restarted... which is not helpful, either.

Workaround
This issue does not exist in version 0.1.2 and earlier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant