Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Bug in VS Code Plugin since VS Code Update (>1.31)

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1

    Default Bug in VS Code Plugin since VS Code Update (>1.31)

    Hi,

    After installing the latest version of VS Code (v1.31.1) it seems to have triggered a bug in the plugin which stops the plugin from loading.

    Code:
    Activating extension 'Sencha.vscode-extjs' failed: Callback must be a function.
    t._logMessageInConsole @ extensionService.ts:800
    console.ts:134 [Extension Host] Activating extension 'Sencha.vscode-extjs' failed: Callback must be a function.
    t.log @ console.ts:134
    console.ts:134 [Extension Host] Activating extension `Sencha.vscode-extjs` failed:  Callback must be a function
    Stack is as follows:

    Code:
    [Extension Host] Here is the error stack:  TypeError [ERR_INVALID_CALLBACK]: Callback must be a function
    	at maybeCallback (fs.js:157:9)
    	at Object.fs.writeFile (fs.js:1290:14)
    	at Object.<anonymous> ([...]\.vscode\extensions\sencha.vscode-extjs-1.0.1\out\src\Logger.js:28:8)
            ...
    The problematic line seems to be:

    Code:
    fs.writeFile(path.join(Platform_1.default.settingsDir, 'vscode-extjs.log'), '');
    Changing to:

    Code:
    fs.writeFile(path.join(Platform_1.default.settingsDir, 'vscode-extjs.log'), '', function(){});
    or alternatively...
    Code:
    fs.writeFileSync(path.join(Platform_1.default.settingsDir, 'vscode-extjs.log'), '');
    resolves the issue and the plugin loads again.

    VS Code version info:

    Version: 1.31.1 (user setup)
    Commit: 1b8e8302e405050205e69b59abb3559592bb9e60
    Date: 2019-02-12T02:20:54.427Z
    Electron: 3.1.2
    Chrome: 66.0.3359.181
    Node.js: 10.2.0
    V8: 6.6.346.32
    OS: Windows_NT x64 10.0.16299

  2. #2
    Sencha - Forum Administrator
    Join Date
    Sep 2017
    Posts
    1,006
    Answers
    5

    Default

    Hi there- thank you for bringing this to our attention. I have shared this with the support team and asked that they look into this at their earliest convenience. Your patience is greatly appreciated!

    Kind Regards,

    Michele

  3. #3
    Sencha Premium User
    Join Date
    Dec 2007
    Location
    Netherlands
    Posts
    43

    Default

    I can confirm this, please fix this as soon as possible.

  4. #4

    Default

    Could you please give us a release date with the fix?

    Thanks!

  5. #5
    Sencha - Forum Administrator
    Join Date
    Sep 2017
    Posts
    1,006
    Answers
    5

    Default

    Hi there-

    Has anyone opened a ticket through the support portal?
    We do suggest using the support portal when you need assistance with a capability of a Sencha product, you have identified a situation where a products behavior is inconsistent with the product documentation and might indicate a software bug, or when the communication between you and Sencha needs to be private.

    Thank you,

    Michele


  6. #6
    Sencha User
    Join Date
    Nov 2018
    Location
    Alabama
    Posts
    1

    Default

    I can confirm that the change in the line of code mentioned by drifter2412 fixes the issues with the extension not working that I was seeing locally.

  7. #7
    Sencha Premium User
    Join Date
    Apr 2011
    Posts
    49
    Answers
    1

    Default

    Thank you very much, the Plugin works.

  8. #8
    Ext JS Premium Member
    Join Date
    Mar 2007
    Location
    Germany
    Posts
    754
    Answers
    7

    Default

    It's a shame that users have to fix bugs themselves, even though they pay for the program and support ...

    The plugin is unchanged since May 25, 2018

    That's really disappointing

  9. #9
    Sencha Premium User
    Join Date
    Dec 2007
    Location
    Netherlands
    Posts
    43

    Default

    It's even much older, hasn't been updated since January 11, 2017!

    Quote Originally Posted by Dumbledore View Post
    It's a shame that users have to fix bugs themselves, even though they pay for the program and support ...

    The plugin is unchanged since May 25, 2018

    That's really disappointing

  10. #10
    Sencha User
    Join Date
    Apr 2013
    Posts
    138
    Answers
    5

    Default

    Edit this file `C:\Users\username\.vscode\extensions\sencha.vscode-extjs-1.0.1\out\src\Logger.js`
    Attachment 57937
    or
    Attachment 57938

Page 1 of 2 12 LastLast

Similar Threads

  1. New to plugin and to VS Code - how I configure it?
    By ssamayoa in forum Visual Studio Code Plugin
    Replies: 1
    Last Post: 15 Feb 2017, 3:18 PM
  2. How to sync code on code viewer of Sencha Architect and real source code ?
    By veeva_hiroyuki_nagata in forum Sencha Architect 4.x: Q&A
    Replies: 1
    Last Post: 30 Nov 2016, 5:44 AM
  3. Sencha Visual Studio Code Plugin 1.0 Early Access Update is Now Available
    By mitchellsimoens in forum Visual Studio Code Plugin
    Replies: 0
    Last Post: 23 Nov 2016, 12:48 AM
  4. Plugin needs Activation Code ...
    By feldtAtDimap in forum JetBrains IDE Plugin
    Replies: 16
    Last Post: 25 Mar 2016, 11:07 AM
  5. Replies: 5
    Last Post: 21 Dec 2012, 6:27 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •