Error attempting to save [Exception

Not sure if this is a bug or not - two issues - please advise on next steps

  1. when pop up windows come up, the come up with a black border and blank - after a while the contents is filled in (e.g. buttons visible)

  2. error attempting to save [Exception

Komodo Edit, version 11.0.2, build 18122, platform macosx. Built on Mon Dec 4 16:56:01 2017.

once the error happens I need to save the file under a different name

when saving the second file the error can reappear

Hi, when this happens would you please post the contents of your Help > Troubleshooting > View Log File? Thanks.

will do - thank you for the quick reply

tried forcing the error on current file - no luck

tried opening an older version and forcing the error - no luck

I’ll update the post next time it happens

note, when I opened the older version command-o I got a blank dialog box - should I open another issue for that one with the log

Yes please.

I haven’t forgotten about this - I’m still using Komodo Edit several times a day and have not yet hit the saving issue - I’ll post again when I have a log to share

That’s okay. I’ve seen it on occasion myself and have never been able to reproduce it consistently.

I have also seen it when working on JS macros that were originally written for earlier versions of Komodo. There are several ways to edit macros; in a property box, in an editor window etc. It was not uncommon to have a variety of problems with editing and saving legacy macros e.g. changes would not save etc. Often I needed to create a new macro and copy and paste the code. The errors similar to the OP happened when I tried to save a macro from an editor pane.

Hi guys, sadly I can repeat that issue on my machine (ASUS VivoBook Pro N580VD-FY244T) and OS (Ubuntu 16.04 LTS).
Here are three logs of the same issue. It appears it may be related to the total length of path and filename.

ERROR:xpcom:Unhandled exception calling 'G     int8 * exists(out retval boolean);'
Traceback (most recent call last):
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/server/policy.py", line 274, in _CallMethod_
    ret = getattr(self._obj_, name) # Let attribute error go here!
  File "/usr/local/bin/km/lib/mozilla/components/koFileEx.py", line 105, in __getattr__
    raise AttributeError, attr
AttributeError: exists
ERROR:xpcom:Unhandled exception calling 'S    int8 * isDirty(in boolean);'
Traceback (most recent call last):
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/server/policy.py", line 285, in _CallMethod_
    func(*params)
  File "/usr/local/bin/km/lib/mozilla/components/koDocument.py", line 705, in set_isDirty
    self.removeAutoSaveFile()
  File "/usr/local/bin/km/lib/mozilla/components/koDocument.py", line 2136, in removeAutoSaveFile
    if not autoSaveFile.exists:
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/client/__init__.py", line 396, in __getattr__
    return getattr(interface, attr)
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/client/__init__.py", line 494, in __getattr__
    return NS_InvokeByIndex(self._comobj_, method_index, args)
Exception: 2147500037 (NS_ERROR_FAILURE)
[2018-05-02 14:13:56,325] [WARNING] koDocument: setting `koDocument.codePage` is DEPRECATED, hardwired to 65001 (unicode mode): 65001 ignored
ERROR:xpcom:Unhandled exception calling 'G     int8 * exists(out retval boolean);'
Traceback (most recent call last):
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/server/policy.py", line 274, in _CallMethod_
    ret = getattr(self._obj_, name) # Let attribute error go here!
  File "/usr/local/bin/km/lib/mozilla/components/koFileEx.py", line 105, in __getattr__
    raise AttributeError, attr
AttributeError: exists
ERROR:xpcom:Unhandled exception calling 'G     int8 * exists(out retval boolean);'
Traceback (most recent call last):
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/server/policy.py", line 274, in _CallMethod_
    ret = getattr(self._obj_, name) # Let attribute error go here!
  File "/usr/local/bin/km/lib/mozilla/components/koFileEx.py", line 105, in __getattr__
    raise AttributeError, attr
AttributeError: exists
ERROR:xpcom:Unhandled exception calling 'int8 * save(in boolean);'
Traceback (most recent call last):
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/server/policy.py", line 303, in _CallMethod_
    return 0, func(*params)
  File "/usr/local/bin/km/lib/mozilla/components/koDocument.py", line 1762, in save
    self.removeAutoSaveFile()
  File "/usr/local/bin/km/lib/mozilla/components/koDocument.py", line 2136, in removeAutoSaveFile
    if not autoSaveFile.exists:
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/client/__init__.py", line 396, in __getattr__
    return getattr(interface, attr)
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/client/__init__.py", line 494, in __getattr__
    return NS_InvokeByIndex(self._comobj_, method_index, args)
Exception: 2147500037 (NS_ERROR_FAILURE)
[2018-05-02 14:13:56,386] [ERROR] console-logger: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [koIDocument.isDirty] (2) in viewbufferbase:899
Traceback (most recent call last):
  File "viewbufferbase", line 899, in 

[2018-05-02 14:13:56,435] [WARNING] console-logger: Error in parsing value for 'font-size'.  Declaration dropped. (1) in less://komodo/skin/global/global.less:205
ERROR:xpcom:Unhandled exception calling 'G     int8 * exists(out retval boolean);'
Traceback (most recent call last):
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/server/policy.py", line 274, in _CallMethod_
    ret = getattr(self._obj_, name) # Let attribute error go here!
  File "/usr/local/bin/km/lib/mozilla/components/koFileEx.py", line 105, in __getattr__
    raise AttributeError, attr
AttributeError: exists
[2018-05-02 14:14:02,335] [ERROR] koDocument: 2147500037 (NS_ERROR_FAILURE)
Traceback (most recent call last):
  File "/usr/local/bin/km/lib/mozilla/components/koDocument.py", line 1834, in releaseView
    self._set_buffer_encoded(buffer, 0)
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/components.py", line 268, in wrapperFn
    return fn(*args, **kwargs)
  File "/usr/local/bin/km/lib/mozilla/components/koDocument.py", line 978, in _set_buffer_encoded
    self.set_isDirty(was_dirty or makeDirty)
  File "/usr/local/bin/km/lib/mozilla/components/koDocument.py", line 705, in set_isDirty
    self.removeAutoSaveFile()
  File "/usr/local/bin/km/lib/mozilla/components/koDocument.py", line 2136, in removeAutoSaveFile
    if not autoSaveFile.exists:
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/client/__init__.py", line 396, in __getattr__
    return getattr(interface, attr)
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/client/__init__.py", line 494, in __getattr__
    return NS_InvokeByIndex(self._comobj_, method_index, args)
Exception: 2147500037 (NS_ERROR_FAILURE)
ERROR:xpcom:Unhandled exception calling 'int8 * releaseView(in nsISomething);'
Traceback (most recent call last):
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/server/policy.py", line 303, in _CallMethod_
    return 0, func(*params)
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/components.py", line 268, in wrapperFn
    return fn(*args, **kwargs)
  File "/usr/local/bin/km/lib/mozilla/components/koDocument.py", line 1834, in releaseView
    self._set_buffer_encoded(buffer, 0)
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/components.py", line 268, in wrapperFn
    return fn(*args, **kwargs)
  File "/usr/local/bin/km/lib/mozilla/components/koDocument.py", line 978, in _set_buffer_encoded
    self.set_isDirty(was_dirty or makeDirty)
  File "/usr/local/bin/km/lib/mozilla/components/koDocument.py", line 705, in set_isDirty
    self.removeAutoSaveFile()
  File "/usr/local/bin/km/lib/mozilla/components/koDocument.py", line 2136, in removeAutoSaveFile
    if not autoSaveFile.exists:
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/client/__init__.py", line 396, in __getattr__
    return getattr(interface, attr)
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/client/__init__.py", line 494, in __getattr__
    return NS_InvokeByIndex(self._comobj_, method_index, args)
Exception: 2147500037 (NS_ERROR_FAILURE)
[2018-05-02 14:14:02,346] [ERROR] view.editor: 
-- EXCEPTION START --
[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [koIDocument.releaseView]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: vieweditor :: set_koDoc :: line 224"  data: no]
+ toString (function) 3 lines
+ message (string) 'Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [koIDocument.releaseView]'
+ result (number) 2147500037
+ name (string) 'NS_ERROR_FAILURE'
+ filename (string) 'vieweditor'
+ lineNumber (number) 224
+ columnNumber (number) 0
+ inner (object) null
| + data (object) null
| + stack (string) 'set_koDoc@vieweditor:224:16
saveAsURI@vieweditor:1630:16
saveAs@vieweditor:1525:19
save@vieweditor:1'...731 chars
+ location (object) JS frame :: vieweditor :: set_koDoc :: line 224
| + QueryInterface (function) 3 lines
| + language (number) 2
| + languageName (string) 'JavaScript'
| + filename (string) 'vieweditor'
| + name (string) 'set_koDoc'
| + lineNumber (number) 224
| + columnNumber (number) 16
| + sourceLine (string) ''
| + caller (object) JS frame :: vieweditor :: saveAsURI :: line 1630
| + formattedStack (string) 'set_koDoc@vieweditor:224:16
saveAsURI@vieweditor:1630:16
saveAs@vieweditor:1525:19
save@vieweditor:1'...731 chars
| + stack
    set_koDoc@vieweditor:224:16
    saveAsURI@vieweditor:1630:16
    saveAs@vieweditor:1525:19
    save@vieweditor:1366:0
    viewManager.prototype.do_cmd_save@chrome://komodo/content/views.js:1594:4
    xtk.Controller.prototype.doCommand@chrome://xtk/content/controller.js:91:8
    command_doCommand@chrome://komodo/content/library/commands.js:272:0
    command_doCommandAsync@chrome://komodo/content/library/commands.js:224:0
    @chrome://komodo/content/keybindings/keybindings.js line 2533 > eval:1:0
    this.Manager.prototype.evalCommand@chrome://komodo/content/keybindings/keybindings.js:2533:22
    this.Manager.prototype.keypressHandler@chrome://komodo/content/keybindings/keybindings.js:2702:16
    gKeyHandler@chrome://komodo/content/keybindings/keybindings.js:2588:4
-- EXCEPTION END --
ERROR:xpcom:Unhandled exception calling 'G     int8 * exists(out retval boolean);'
Traceback (most recent call last):
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/server/policy.py", line 274, in _CallMethod_
    ret = getattr(self._obj_, name) # Let attribute error go here!
  File "/usr/local/bin/km/lib/mozilla/components/koFileEx.py", line 105, in __getattr__
    raise AttributeError, attr
AttributeError: exists
ERROR:xpcom:Unhandled exception calling 'S    int8 * isDirty(in boolean);'
Traceback (most recent call last):
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/server/policy.py", line 285, in _CallMethod_
    func(*params)
  File "/usr/local/bin/km/lib/mozilla/components/koDocument.py", line 705, in set_isDirty
    self.removeAutoSaveFile()
  File "/usr/local/bin/km/lib/mozilla/components/koDocument.py", line 2136, in removeAutoSaveFile
    if not autoSaveFile.exists:
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/client/__init__.py", line 396, in __getattr__
    return getattr(interface, attr)
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/client/__init__.py", line 494, in __getattr__
    return NS_InvokeByIndex(self._comobj_, method_index, args)
Exception: 2147500037 (NS_ERROR_FAILURE)
[2018-05-02 14:14:21,539] [WARNING] koDocument: setting `koDocument.codePage` is DEPRECATED, hardwired to 65001 (unicode mode): 65001 ignored
ERROR:xpcom:Unhandled exception calling 'G     int8 * exists(out retval boolean);'
Traceback (most recent call last):
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/server/policy.py", line 274, in _CallMethod_
    ret = getattr(self._obj_, name) # Let attribute error go here!
  File "/usr/local/bin/km/lib/mozilla/components/koFileEx.py", line 105, in __getattr__
    raise AttributeError, attr
AttributeError: exists
ERROR:xpcom:Unhandled exception calling 'G     int8 * exists(out retval boolean);'
Traceback (most recent call last):
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/server/policy.py", line 274, in _CallMethod_
    ret = getattr(self._obj_, name) # Let attribute error go here!
  File "/usr/local/bin/km/lib/mozilla/components/koFileEx.py", line 105, in __getattr__
    raise AttributeError, attr
AttributeError: exists
ERROR:xpcom:Unhandled exception calling 'int8 * save(in boolean);'
Traceback (most recent call last):
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/server/policy.py", line 303, in _CallMethod_
    return 0, func(*params)
  File "/usr/local/bin/km/lib/mozilla/components/koDocument.py", line 1762, in save
    self.removeAutoSaveFile()
  File "/usr/local/bin/km/lib/mozilla/components/koDocument.py", line 2136, in removeAutoSaveFile
    if not autoSaveFile.exists:
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/client/__init__.py", line 396, in __getattr__
    return getattr(interface, attr)
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/client/__init__.py", line 494, in __getattr__
    return NS_InvokeByIndex(self._comobj_, method_index, args)
Exception: 2147500037 (NS_ERROR_FAILURE)
[2018-05-02 14:14:21,597] [ERROR] console-logger: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [koIDocument.isDirty] (2) in viewbufferbase:899
Traceback (most recent call last):
  File "viewbufferbase", line 899, in 

[2018-05-02 14:14:21,645] [WARNING] console-logger: Error in parsing value for 'font-size'.  Declaration dropped. (1) in less://komodo/skin/global/global.less:205
ERROR:xpcom:Unhandled exception calling 'G     int8 * exists(out retval boolean);'
Traceback (most recent call last):
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/server/policy.py", line 274, in _CallMethod_
    ret = getattr(self._obj_, name) # Let attribute error go here!
  File "/usr/local/bin/km/lib/mozilla/components/koFileEx.py", line 105, in __getattr__
    raise AttributeError, attr
AttributeError: exists
[2018-05-02 14:14:54,327] [ERROR] koDocument: 2147500037 (NS_ERROR_FAILURE)
Traceback (most recent call last):
  File "/usr/local/bin/km/lib/mozilla/components/koDocument.py", line 1834, in releaseView
    self._set_buffer_encoded(buffer, 0)
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/components.py", line 268, in wrapperFn
    return fn(*args, **kwargs)
  File "/usr/local/bin/km/lib/mozilla/components/koDocument.py", line 978, in _set_buffer_encoded
    self.set_isDirty(was_dirty or makeDirty)
  File "/usr/local/bin/km/lib/mozilla/components/koDocument.py", line 705, in set_isDirty
    self.removeAutoSaveFile()
  File "/usr/local/bin/km/lib/mozilla/components/koDocument.py", line 2136, in removeAutoSaveFile
    if not autoSaveFile.exists:
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/client/__init__.py", line 396, in __getattr__
    return getattr(interface, attr)
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/client/__init__.py", line 494, in __getattr__
    return NS_InvokeByIndex(self._comobj_, method_index, args)
Exception: 2147500037 (NS_ERROR_FAILURE)
ERROR:xpcom:Unhandled exception calling 'int8 * releaseView(in nsISomething);'
Traceback (most recent call last):
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/server/policy.py", line 303, in _CallMethod_
    return 0, func(*params)
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/components.py", line 268, in wrapperFn
    return fn(*args, **kwargs)
  File "/usr/local/bin/km/lib/mozilla/components/koDocument.py", line 1834, in releaseView
    self._set_buffer_encoded(buffer, 0)
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/components.py", line 268, in wrapperFn
    return fn(*args, **kwargs)
  File "/usr/local/bin/km/lib/mozilla/components/koDocument.py", line 978, in _set_buffer_encoded
    self.set_isDirty(was_dirty or makeDirty)
  File "/usr/local/bin/km/lib/mozilla/components/koDocument.py", line 705, in set_isDirty
    self.removeAutoSaveFile()
  File "/usr/local/bin/km/lib/mozilla/components/koDocument.py", line 2136, in removeAutoSaveFile
    if not autoSaveFile.exists:
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/client/__init__.py", line 396, in __getattr__
    return getattr(interface, attr)
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/client/__init__.py", line 494, in __getattr__
    return NS_InvokeByIndex(self._comobj_, method_index, args)
Exception: 2147500037 (NS_ERROR_FAILURE)
[2018-05-02 14:14:54,334] [ERROR] view.editor: 
-- EXCEPTION START --
[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [koIDocument.releaseView]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: vieweditor :: set_koDoc :: line 224"  data: no]
+ toString (function) 3 lines
+ message (string) 'Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [koIDocument.releaseView]'
+ result (number) 2147500037
+ name (string) 'NS_ERROR_FAILURE'
+ filename (string) 'vieweditor'
+ lineNumber (number) 224
+ columnNumber (number) 0
+ inner (object) null
| + data (object) null
| + stack (string) 'set_koDoc@vieweditor:224:16
saveAsURI@vieweditor:1630:16
saveAs@vieweditor:1525:19
save@vieweditor:1'...731 chars
+ location (object) JS frame :: vieweditor :: set_koDoc :: line 224
| + QueryInterface (function) 3 lines
| + language (number) 2
| + languageName (string) 'JavaScript'
| + filename (string) 'vieweditor'
| + name (string) 'set_koDoc'
| + lineNumber (number) 224
| + columnNumber (number) 16
| + sourceLine (string) ''
| + caller (object) JS frame :: vieweditor :: saveAsURI :: line 1630
| + formattedStack (string) 'set_koDoc@vieweditor:224:16
saveAsURI@vieweditor:1630:16
saveAs@vieweditor:1525:19
save@vieweditor:1'...731 chars
| + stack
    set_koDoc@vieweditor:224:16
    saveAsURI@vieweditor:1630:16
    saveAs@vieweditor:1525:19
    save@vieweditor:1366:0
    viewManager.prototype.do_cmd_save@chrome://komodo/content/views.js:1594:4
    xtk.Controller.prototype.doCommand@chrome://xtk/content/controller.js:91:8
    command_doCommand@chrome://komodo/content/library/commands.js:272:0
    command_doCommandAsync@chrome://komodo/content/library/commands.js:224:0
    @chrome://komodo/content/keybindings/keybindings.js line 2533 > eval:1:0
    this.Manager.prototype.evalCommand@chrome://komodo/content/keybindings/keybindings.js:2533:22
    this.Manager.prototype.keypressHandler@chrome://komodo/content/keybindings/keybindings.js:2702:16
    gKeyHandler@chrome://komodo/content/keybindings/keybindings.js:2588:4
-- EXCEPTION END --



ERROR:xpcom:Unhandled exception calling 'G     int8 * exists(out retval boolean);'
Traceback (most recent call last):
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/server/policy.py", line 274, in _CallMethod_
    ret = getattr(self._obj_, name) # Let attribute error go here!
  File "/usr/local/bin/km/lib/mozilla/components/koFileEx.py", line 105, in __getattr__
    raise AttributeError, attr
AttributeError: exists
ERROR:xpcom:Unhandled exception calling 'int8 * haveAutoSave(out retval boolean);'
Traceback (most recent call last):
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/server/policy.py", line 303, in _CallMethod_
    return 0, func(*params)
  File "/usr/local/bin/km/lib/mozilla/components/koDocument.py", line 2145, in haveAutoSave
    if autoSaveFile.exists:
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/client/__init__.py", line 396, in __getattr__
    return getattr(interface, attr)
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/client/__init__.py", line 494, in __getattr__
    return NS_InvokeByIndex(self._comobj_, method_index, args)
Exception: 2147500037 (NS_ERROR_FAILURE)
[2018-05-07 11:29:05,893] [WARNING] console-logger: Error in parsing value for 'font-size'.  Declaration dropped. (1) in less://komodo/skin/global/global.less:205
[2018-05-07 11:29:13,268] [ERROR] views: 
-- EXCEPTION START --
[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [koIDocument.haveAutoSave]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: chrome://komodo/content/views.js :: viewManager.prototype._newViewFromURI :: line 351"  data: no]
+ toString (function) 3 lines
+ message (string) 'Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [koIDocument.haveAutoSave]'
+ result (number) 2147500037
+ name (string) 'NS_ERROR_FAILURE'
+ filename (string) 'chrome://komodo/content/views.js'
+ lineNumber (number) 351
+ columnNumber (number) 0
+ inner (object) null
| + data (object) null
| + stack (string) 'viewManager.prototype._newViewFromURI@chrome://komodo/content/views.js:351:12
viewManager.prototype.'...232 chars
+ location (object) JS frame :: chrome://komodo/content/views.js :: viewManager.prototype._newViewFromURI :: line 351
| + QueryInterface (function) 3 lines
| + language (number) 2
| + languageName (string) 'JavaScript'
| + filename (string) 'chrome://komodo/content/views.js'
| + name (string) 'viewManager.prototype._newViewFromURI'
| + lineNumber (number) 351
| + columnNumber (number) 12
| + sourceLine (string) ''
| + caller (object) JS frame :: chrome://komodo/content/views.js :: viewManager.prototype._doFileOpen :: line 485
| + formattedStack (string) 'viewManager.prototype._newViewFromURI@chrome://komodo/content/views.js:351:12
viewManager.prototype.'...232 chars
| + stack
    viewManager.prototype._newViewFromURI@chrome://komodo/content/views.js:351:12
    viewManager.prototype._doFileOpen@chrome://komodo/content/views.js:485:11
    viewManager.prototype.doFileOpenAsync/<@chrome://komodo/content/views.js:510:19
-- EXCEPTION END --

Hi, while an error traceback certainly is interesting, you have not supplied any context as to what triggered it. What were you doing? Can you consistently reproduce the problem? What are the steps? We need more information in order to reproduce the problem on our end and ultimately create a fix. Thanks.

Hi,
I guess the error is related to too long file names.
Please inspect my screenshot.
As you see on the top line of Nemo at Ubuntu, I am already on a pretty deep path.
I have two examples ways which consistenly reproduce the provided error traceback.
The example given here uses the files starting with Tachibana 2018*.txt

a) I create a new text file in Komodo, give it the full name “Tachibana 2018 - Efficiently trainable text-to-speech system based on deep convolutional networks with guided attention.txt”, store it on the given path aside with the pdf of the same name, and close the text file being opened in Komodo.
b) I (try to) open the text file “Tachibana 2018 - Efficiently trainable text-to-speech system based on deep convolutional networks with guided attention.txt” but receive the error

a) I create a new text file in Komodo, give it the short name “Tachibana 2018.txt”, store it on the given path, and close the text file being opened in Komodo.
b) Opening and closing this text file with the short name does not throw the error.
c) I rename it in Nemo from “Tachibana 2018.txt” to “Tachibana 2018 - Efficiently trainable text-to-speech system based on deep convolutional networks with guided attention.txt”, trying to open it throws again the error.

Cheers + Good luck :slight_smile:

Hi, do you get the same error with another program? (e.g. a simple text editor) I believe on Linux there is a maximum file path length of 256 characters. Based on what you are describing, you may very well be hitting that limit, but I don’t think it’s a Komodo-specific problem. I would imagine that it would happen in any other program you could use.

Hi,
on Linux, the maximum lengths for file name and path are (I copied that from my /linux/limits.h file):
#define NAME_MAX 255 /
# chars in a file name /
#define PATH_MAX 4096 /
# chars in a path name including nul */

I am definitely below 255 and 4096 for file name and path length.
Also, this is approved because I opened one of those (long name) files with other editors
and they all could open them without any problem: Gedit, Sublime Text, Emacs.
Only Komodo throws repeatedly and reproducible the mentioned error.

BTW, I use Version:
Komodo Edit, version 11.0.2, build 18122, platform linux-x86_64.
Built on Mon Dec 4 16:56:06 2017.

Good luck!

Hi, I forgot to ask you for your error log, which can be obtained via Help > Troubleshooting > View Log File. Please post the contents of that log after triggering the issue. Thank you.

Hi, here you go, log file excerpt and Screenshot of Komodo Alert Pop-Up:

[2018-05-16 15:46:21,169] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_local_change'
[2018-05-16 15:49:55,800] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'multiple_caret_area'
[2018-05-16 15:49:55,800] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_4'
[2018-05-16 15:49:55,800] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_5'
[2018-05-16 15:49:55,800] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_2'
[2018-05-16 15:49:55,800] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_3'
[2018-05-16 15:49:55,801] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_1'
[2018-05-16 15:49:55,801] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_change'
[2018-05-16 15:49:55,801] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_local_change'
[2018-05-16 15:59:03,609] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'multiple_caret_area'
[2018-05-16 15:59:03,610] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_4'
[2018-05-16 15:59:03,610] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_5'
[2018-05-16 15:59:03,610] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_2'
[2018-05-16 15:59:03,610] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_3'
[2018-05-16 15:59:03,610] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_1'
[2018-05-16 15:59:03,610] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_change'
[2018-05-16 15:59:03,611] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_local_change'
ERROR:xpcom:Unhandled exception calling 'G     int8 * exists(out retval boolean);'
Traceback (most recent call last):
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/server/policy.py", line 274, in _CallMethod_
    ret = getattr(self._obj_, name) # Let attribute error go here!
  File "/usr/local/bin/km/lib/mozilla/components/koFileEx.py", line 105, in __getattr__
    raise AttributeError, attr
AttributeError: exists
ERROR:xpcom:Unhandled exception calling 'S    int8 * isDirty(in boolean);'
Traceback (most recent call last):
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/server/policy.py", line 285, in _CallMethod_
    func(*params)
  File "/usr/local/bin/km/lib/mozilla/components/koDocument.py", line 705, in set_isDirty
    self.removeAutoSaveFile()
  File "/usr/local/bin/km/lib/mozilla/components/koDocument.py", line 2136, in removeAutoSaveFile
    if not autoSaveFile.exists:
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/client/__init__.py", line 396, in __getattr__
    return getattr(interface, attr)
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/client/__init__.py", line 494, in __getattr__
    return NS_InvokeByIndex(self._comobj_, method_index, args)
Exception: 2147500037 (NS_ERROR_FAILURE)
[2018-05-16 15:59:36,739] [WARNING] koDocument: setting `koDocument.codePage` is DEPRECATED, hardwired to 65001 (unicode mode): 65001 ignored
ERROR:xpcom:Unhandled exception calling 'G     int8 * exists(out retval boolean);'
Traceback (most recent call last):
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/server/policy.py", line 274, in _CallMethod_
    ret = getattr(self._obj_, name) # Let attribute error go here!
  File "/usr/local/bin/km/lib/mozilla/components/koFileEx.py", line 105, in __getattr__
    raise AttributeError, attr
AttributeError: exists
ERROR:xpcom:Unhandled exception calling 'G     int8 * exists(out retval boolean);'
Traceback (most recent call last):
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/server/policy.py", line 274, in _CallMethod_
    ret = getattr(self._obj_, name) # Let attribute error go here!
  File "/usr/local/bin/km/lib/mozilla/components/koFileEx.py", line 105, in __getattr__
    raise AttributeError, attr
AttributeError: exists
ERROR:xpcom:Unhandled exception calling 'int8 * save(in boolean);'
Traceback (most recent call last):
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/server/policy.py", line 303, in _CallMethod_
    return 0, func(*params)
  File "/usr/local/bin/km/lib/mozilla/components/koDocument.py", line 1762, in save
    self.removeAutoSaveFile()
  File "/usr/local/bin/km/lib/mozilla/components/koDocument.py", line 2136, in removeAutoSaveFile
    if not autoSaveFile.exists:
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/client/__init__.py", line 396, in __getattr__
    return getattr(interface, attr)
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/client/__init__.py", line 494, in __getattr__
    return NS_InvokeByIndex(self._comobj_, method_index, args)
Exception: 2147500037 (NS_ERROR_FAILURE)
[2018-05-16 15:59:36,755] [ERROR] console-logger: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [koIDocument.isDirty] (2) in viewbufferbase:899
Traceback (most recent call last):
  File "viewbufferbase", line 899, in 

[2018-05-16 15:59:36,775] [WARNING] console-logger: Error in parsing value for 'font-size'.  Declaration dropped. (1) in less://komodo/skin/global/global.less:205
ERROR:xpcom:Unhandled exception calling 'G     int8 * exists(out retval boolean);'
Traceback (most recent call last):
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/server/policy.py", line 274, in _CallMethod_
    ret = getattr(self._obj_, name) # Let attribute error go here!
  File "/usr/local/bin/km/lib/mozilla/components/koFileEx.py", line 105, in __getattr__
    raise AttributeError, attr
AttributeError: exists
[2018-05-16 16:00:02,929] [ERROR] koDocument: 2147500037 (NS_ERROR_FAILURE)
Traceback (most recent call last):
  File "/usr/local/bin/km/lib/mozilla/components/koDocument.py", line 1834, in releaseView
    self._set_buffer_encoded(buffer, 0)
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/components.py", line 268, in wrapperFn
    return fn(*args, **kwargs)
  File "/usr/local/bin/km/lib/mozilla/components/koDocument.py", line 978, in _set_buffer_encoded
    self.set_isDirty(was_dirty or makeDirty)
  File "/usr/local/bin/km/lib/mozilla/components/koDocument.py", line 705, in set_isDirty
    self.removeAutoSaveFile()
  File "/usr/local/bin/km/lib/mozilla/components/koDocument.py", line 2136, in removeAutoSaveFile
    if not autoSaveFile.exists:
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/client/__init__.py", line 396, in __getattr__
    return getattr(interface, attr)
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/client/__init__.py", line 494, in __getattr__
    return NS_InvokeByIndex(self._comobj_, method_index, args)
Exception: 2147500037 (NS_ERROR_FAILURE)
ERROR:xpcom:Unhandled exception calling 'int8 * releaseView(in nsISomething);'
Traceback (most recent call last):
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/server/policy.py", line 303, in _CallMethod_
    return 0, func(*params)
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/components.py", line 268, in wrapperFn
    return fn(*args, **kwargs)
  File "/usr/local/bin/km/lib/mozilla/components/koDocument.py", line 1834, in releaseView
    self._set_buffer_encoded(buffer, 0)
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/components.py", line 268, in wrapperFn
    return fn(*args, **kwargs)
  File "/usr/local/bin/km/lib/mozilla/components/koDocument.py", line 978, in _set_buffer_encoded
    self.set_isDirty(was_dirty or makeDirty)
  File "/usr/local/bin/km/lib/mozilla/components/koDocument.py", line 705, in set_isDirty
    self.removeAutoSaveFile()
  File "/usr/local/bin/km/lib/mozilla/components/koDocument.py", line 2136, in removeAutoSaveFile
    if not autoSaveFile.exists:
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/client/__init__.py", line 396, in __getattr__
    return getattr(interface, attr)
  File "/usr/local/bin/km/lib/mozilla/python/xpcom/client/__init__.py", line 494, in __getattr__
    return NS_InvokeByIndex(self._comobj_, method_index, args)
Exception: 2147500037 (NS_ERROR_FAILURE)
[2018-05-16 16:00:02,935] [ERROR] view.editor: 
-- EXCEPTION START --
[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [koIDocument.releaseView]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: vieweditor :: set_koDoc :: line 224"  data: no]
+ toString (function) 3 lines
+ message (string) 'Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [koIDocument.releaseView]'
+ result (number) 2147500037
+ name (string) 'NS_ERROR_FAILURE'
+ filename (string) 'vieweditor'
+ lineNumber (number) 224
+ columnNumber (number) 0
+ inner (object) null
| + data (object) null
| + stack (string) 'set_koDoc@vieweditor:224:16
saveAsURI@vieweditor:1630:16
saveAs@vieweditor:1525:19
save@vieweditor:1'...731 chars
+ location (object) JS frame :: vieweditor :: set_koDoc :: line 224
| + QueryInterface (function) 3 lines
| + language (number) 2
| + languageName (string) 'JavaScript'
| + filename (string) 'vieweditor'
| + name (string) 'set_koDoc'
| + lineNumber (number) 224
| + columnNumber (number) 16
| + sourceLine (string) ''
| + caller (object) JS frame :: vieweditor :: saveAsURI :: line 1630
| + formattedStack (string) 'set_koDoc@vieweditor:224:16
saveAsURI@vieweditor:1630:16
saveAs@vieweditor:1525:19
save@vieweditor:1'...731 chars
| + stack
    set_koDoc@vieweditor:224:16
    saveAsURI@vieweditor:1630:16
    saveAs@vieweditor:1525:19
    save@vieweditor:1366:0
    viewManager.prototype.do_cmd_save@chrome://komodo/content/views.js:1594:4
    xtk.Controller.prototype.doCommand@chrome://xtk/content/controller.js:91:8
    command_doCommand@chrome://komodo/content/library/commands.js:272:0
    command_doCommandAsync@chrome://komodo/content/library/commands.js:224:0
    @chrome://komodo/content/keybindings/keybindings.js line 2533 > eval:1:0
    this.Manager.prototype.evalCommand@chrome://komodo/content/keybindings/keybindings.js:2533:22
    this.Manager.prototype.keypressHandler@chrome://komodo/content/keybindings/keybindings.js:2702:16
    gKeyHandler@chrome://komodo/content/keybindings/keybindings.js:2588:4
-- EXCEPTION END --
[2018-05-16 16:00:09,406] [WARNING] console-logger: Error in parsing value for 'font-size'.  Declaration dropped. (1) in less://komodo/skin/global/global.less:205
[2018-05-16 16:00:09,506] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'multiple_caret_area'
[2018-05-16 16:00:09,506] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_4'
[2018-05-16 16:00:09,506] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_5'
[2018-05-16 16:00:09,507] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_2'
[2018-05-16 16:00:09,507] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_3'
[2018-05-16 16:00:09,507] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_1'
[2018-05-16 16:00:09,507] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_change'
[2018-05-16 16:00:09,507] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_local_change'

!

Good luck n thanks in advance