Skip to content

Error when saving and opening file in Komodo Edit #3949

@cc-paul

Description

@cc-paul

Short Summary

I downloaded an HTML template using tabler however when I open
a file for the 2nd time the file name does not display and when I create a new php file it gave me an error

Steps to Reproduce

  1. Open a file from the template
  2. Close it
  3. Reopen again

Expected results

File must be open without issue

Actual results

Error opening the file

Platform Information

Komodo Edit or IDE? Komodo Edit
Komodo Version? 12.0
Operating System (and version)? Windows 10

Additional Information

[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [koIDocument.addView]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: vieweditor :: set_koDoc :: line 264" data: no]

Exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [koIDocument.addView]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: vieweditor :: set_koDoc :: line 264" data: no]

Traceback:
set_koDoc@vieweditor:264:16
saveAsURI@vieweditor:1798:12
saveAs@vieweditor:1707:19
save@vieweditor:1452:0
viewManager.prototype.do_cmd_save@chrome://komodo/content/views.js:1539:4
xtk.Controller.prototype.doCommand@chrome://xtk/content/controller.js:61:8
command_doCommand@chrome://komodo/content/library/commands.js:239:0
command_doCommandAsync@chrome://komodo/content/library/commands.js:191:0
@chrome://komodo/content/keybindings/keybindings.js line 2603 > eval:1:0
this.Manager.prototype.evalCommand@chrome://komodo/content/keybindings/keybindings.js:2603:22
this.Manager.prototype.keypressHandler@chrome://komodo/content/keybindings/keybindings.js:2774:16
gKeyHandler@chrome://komodo/content/keybindings/keybindings.js:2658:4

Komodo IDE, version 12.0.1, build 91869.
Built on Mon Feb 10 18:14:23 2020.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions