Can't open remote file (but can browse)

9.3 nightly, but this exists in 9.2 as well. I was never able to open a file remote file.

I’m use SCP with passwordless (public key) auth.

So I added the server, I can connect to it, and even browse the remote filesystem. So I finally select a file to open and it just hangs there, even if server timeout is set to 3 seconds. Note that I am not using a mounted filesystem, I’m using scp.

Anything in your error log?

pystderr.log in your profile folder - http://community.activestate.com/faq/komodo-file-locations#appdata_dir

1 byte. Seems to be \n

That’s … not possible :stuck_out_tongue: Assuming you got Komodo to run? Please make sure you are looking at the right folder (there are multiple profile folders, based on the version of Komodo you are running).

Also note that your error log is truncated each time you start Komodo.

pystderr.log, not pystdout.log.

Well your pystderr.log over there is 121 KB, not 1 byte… ?

Btw what is pystdout.log? It’s always empty for me :\

A remnant of a time before us.

[2015-10-07 17:49:59,113] [INFO] Startup: Welcome to Komodo IDE 9.3.0 build 87880 (platform macosx, running on Darwin 14.3.0 version Darwin Kernel Version 14.3.0: Mon Mar 23 11:59:05 PDT 2015; root:xnu-2782.20.48~5/RELEASE_X86_64)
[2015-10-07 17:49:59,113] [INFO] Startup: /Volumes/Komodo IDE 9/Komodo IDE 9.app/Contents/MacOS/komodo built on Mon Oct 5 02:28:03 2015
[2015-10-07 17:49:59,134] [WARNING] koInitService: Unable to determine the current locale settings, defaulting to mac-roman
[2015-10-07 17:49:59,725] [WARNING] console-logger: mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create (1) in resource://gre/modules/Preferences.jsm:381
[2015-10-07 17:49:59,825] [WARNING] console-logger: Expected end of value but found 'solid'.  Error in parsing value for 'border-width'.  Declaration dropped. (1) in chrome://global/skin/global.css:2588
[2015-10-07 17:49:59,862] [WARNING] console-logger: Expected end of value but found 'solid'.  Error in parsing value for 'border-width'.  Declaration dropped. (1) in chrome://global/skin/global.css:2588
[2015-10-07 17:50:00,020] [WARNING] root: ko.logging has been converted to a CommonJS module; use require("ko/logging") instead (since Komodo 9.0.0a1).
    @chrome://komodo/content/komodo.js:15:1

[2015-10-07 17:50:00,730] [WARNING] console-logger: mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create (1) in file:///Volumes/Komodo%20IDE%209/Komodo%20IDE%209.app/Contents/Resources/components/koamAddonManager.js:138
[2015-10-07 17:50:00,818] [WARNING] keybindings: [Meta+Shift+Down] was used for 'cmd_selectDocumentHome', overriding to use 'cmd_selectDocumentEnd'
[2015-10-07 17:51:48,448] [ERROR] editorconfig: Invalid filename specified
[2015-10-07 17:51:48,554] [ERROR] editorconfig: Exception while parsing editorconfig
-- EXCEPTION START --
SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
+ stack
    viewChanged@chrome://editorconfig/content/editorconfig.js:24:21
-- EXCEPTION END --
[2015-10-07 17:51:50,389] [WARNING] root: ko.findresults was already loaded, re-creating it.

[2015-10-07 17:51:52,971] [INFO] komodospellchecker: Spell checker loaded.
[2015-10-07 17:51:52,972] [INFO] komodospellchecker: Using dictionary en-US
[2015-10-07 17:51:53,565] [ERROR] koScopeDocs-Py: Could not find cix for jquery
Exception in thread Index Builder:
Traceback (most recent call last):
  File "/Volumes/Komodo IDE 9/Komodo IDE 9.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python2.7/threading.py", line 808, in __bootstrap_inner
    self.run()
  File "/Volumes/Komodo IDE 9/Komodo IDE 9.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python2.7/threading.py", line 761, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/Volumes/Komodo IDE 9/Komodo IDE 9.app/Contents/Resources/extensions/scope-docs@activestate.com/components/koScopeDocs.py", line 139, in _preload
    path = self._cixPathFor(name)
  File "/Volumes/Komodo IDE 9/Komodo IDE 9.app/Contents/Resources/extensions/scope-docs@activestate.com/components/koScopeDocs.py", line 164, in _cixPathFor
    for filename in os.listdir(stdlibDir):
OSError: [Errno 2] No such file or directory: '/Volumes/Komodo IDE 9/Komodo IDE 9.app/Contents/MacOS/python/komodo/codeintel2/stdlibs'

[2015-10-07 17:51:57,107] [ERROR] koPlaceTreeView: Request:refreshTreeOnOpen
Traceback (most recent call last):
  File "/Volumes/Komodo IDE 9/Komodo IDE 9.app/Contents/Resources/distribution/bundles/places@activestate.com/components/koPlaceTreeView.py", line 2435, in run
    rv = getattr(self, request)(args)
  File "/Volumes/Komodo IDE 9/Komodo IDE 9.app/Contents/Resources/distribution/bundles/places@activestate.com/components/koPlaceTreeView.py", line 2454, in refreshTreeOnOpen
    self.refreshTreeOnOpen_Aux(requester, uri)
  File "/Volumes/Komodo IDE 9/Komodo IDE 9.app/Contents/Resources/distribution/bundles/places@activestate.com/components/koPlaceTreeView.py", line 2483, in refreshTreeOnOpen_Aux
    items = requester.getDirListFromRemoteURI(uri)
  File "/Volumes/Komodo IDE 9/Komodo IDE 9.app/Contents/Resources/distribution/bundles/places@activestate.com/components/koPlaceTreeView.py", line 2370, in getDirListFromRemoteURI
    (path, conn.server))
Exception: Can't read path:/p4/server/node on server:dev
[2015-10-07 17:53:45,142] [ERROR] console-logger: downloadable font: kern: bad table version, table discarded (font-family: "coda" style:normal weight:normal stretch:normal src index:0)
source: data:font/ttf;base64,
<BASE64 CONTENT OMITTED>
in file:///Users/jason/Library/Application%20Support/KomodoIDE/9.3/XRE/icons/fileicons/YAMLYML16.png.forcedAttrs.svg:4
Traceback (most recent call last):
  File "file:///Users/jason/Library/Application%20Support/KomodoIDE/9.3/XRE/icons/fileicons/YAMLYML16.png.forcedAttrs.svg", line 4, in 

[2015-10-07 17:53:50,507] [WARNING] koDocument: For file lookuptables.js, favoring contents language Node.js over filename language JavaScript
[2015-10-07 17:53:50,589] [WARNING] views: Inconsistent view count in view_closed event
[2015-10-07 17:53:50,860] [WARNING] views: Inconsistent view count in view_opened event

NOTE, THAT THIS IS PROBABLY A RESULT OF THE relative path issue, I’ve described elsewhere.

Are you saying you’re using relative paths when trying to open a remote file?

I have an update.
Well, I just tried this. I verified that the server config in preferences has a full path. (/home/jason/p4/server/node)
But I still get: Exception: Can’t read path:/p4/server/node on server:dev

I have no idea how I can affect the outcome of this.

It looks like that / problem in the SCP logic is the issue.

So the error message still includes the relative path, despite you having updated your config to use the absolute path?

Correct 12345

Could you try restarting Komodo, just to ensure the setting has taken effect?

restarted.

That’s very odd. Does that error now trigger on startup? If not, what triggers that exact error? Ie. what action?

yes, on startup.

Please try switching your Places context to a local folder and the remote server again, it probably stored the path from your last session.

Ok, That worked, But still can’t open remote files. even after re-opening the remote dir.