Results 1 to 6 of 6

Thread: Javascript error

  1. #1

    Javascript error

    Newbie here. I have some javascript files I have been working with in IDE 10, updated. I just started getting the error:
    [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [koIInvocation.getExecutable]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://runinline/content/sdk/runinline.js :: this._runFile :: line 80" data: no]
    Thinking something had gone amiss in Chrome (I have no line 80 in the html file), I edited preferences to use Firefox but the error message didn't change. Perhaps I didn't change the right preference. Can someone please tell me where I have run amiss. I am running Komodo IDE 10 on Linux (Mint).
    Thanks for any help.
    Edit: If I use the dropdown and select open in Komodo tab it works OK but opens a new tab. If I select Firefox or Chrome, it works OK in the browser. Just not in Komodo. Color me confused.

  2. #2

    Javascript error

    It looks like you are trying to use the "run-inline" feature, which just executes code and shows the result in a popup dialog. What exactly are you trying to do?

  3. #3

    Javascript error

    Yes, I have some html files with Javascript in them that I have been working with. Ran fine until recently. If I test the file in Firefox or Chrome or in a(new) Komodo tab it runs fine. But, if I click the little lightning looking thing to run in line, I get the above error even if there is no script in the file. Just create a new html file with the template in it and it fails. Again, I don't know what triggered it but I have installed the latest updates.

  4. #4

    Javascript error

    You don't understand the meaning of Run Inline. This is intended to be used whenever you want to execute some code (PHP, NodeJS, Ruby, Python, etc.). For example, If you will press this button in a ruby file, this command will be executed:

  5. #5

    Javascript error

    This is a bug. You can't use run inline on an html file. There shouldn't be a Dynamic button showing. That is the root of the problem here. @louyo correctly assumed that that button should do something for the current file but it doesn't and it fails.
    I'll file a bug report. Thanks for bringing this up, @louyo .

  6. #6
    Run inline can't support these file types and shouldn't be shown in the dynamic toolbar when they are open.

Posting Permissions

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