{"action":"created","issue":{"url":"https://api.github.com/repos/emacs-ess/ESS/issues/138","labels_url":"https://api.github.com/repos/emacs-ess/ESS/issues/138/labels{/name}","comments_url":"https://api.github.com/repos/emacs-ess/ESS/issues/138/comments","events_url":"https://api.github.com/repos/emacs-ess/ESS/issues/138/events","html_url":"https://github.com/emacs-ess/ESS/issues/138","id":54549038,"number":138,"title":"ESS hangs when starting a remote julia process with tramp","user":{"login":"ikirill","id":1158512,"avatar_url":"https://avatars.githubusercontent.com/u/1158512?v=3","gravatar_id":"","url":"https://api.github.com/users/ikirill","html_url":"https://github.com/ikirill","followers_url":"https://api.github.com/users/ikirill/followers","following_url":"https://api.github.com/users/ikirill/following{/other_user}","gists_url":"https://api.github.com/users/ikirill/gists{/gist_id}","starred_url":"https://api.github.com/users/ikirill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ikirill/subscriptions","organizations_url":"https://api.github.com/users/ikirill/orgs","repos_url":"https://api.github.com/users/ikirill/repos","events_url":"https://api.github.com/users/ikirill/events{/privacy}","received_events_url":"https://api.github.com/users/ikirill/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-16T07:55:56Z","updated_at":"2015-01-16T08:23:42Z","closed_at":null,"body":"I was trying to start a remote julia process by asking for working directory to be /ssh:remote-server: and ESS hanged; this doesn't happen with the same remote server when running R. \r\n\r\nBacktrace:\r\n\r\n    Debugger entered--Lisp error: (quit)\r\n      accept-process-output(#<process julia> 0.5)\r\n      ess-wait-for-process(#<process julia> nil 0.01)\r\n      inferior-ess(\"--color=no \")\r\n      julia(nil)\r\n\r\nThe last line of tramp's debugging output (with tramp-verbose = 6) is\r\n\r\n    02:50:51.334509 tramp-send-command (6) # cd XXX && exec  env TERMCAP\\= COLUMNS\\=80 EMACS\\=t INSIDE_EMACS\\=25.0.50.36\\,comint STATATERM\\=emacs PS1\\=/ssh\\:XXX\\:\\ \\#\\$\\  julia --color\\=no\r\n\r\nThe `*ESS*` buffer looks like this:\r\n\r\n\r\n    (julia): ess-dialect=nil, buf=*scratch*, start-arg=nil\r\n     current-prefix-arg=nil\r\n    (inf-ess 1): lang=nil, dialect=nil, tmp-dialect=julia, buf=*scratch*\r\n    (inf-ess 1.1): procname=julia temp-dialect=julia, buf-name=*julia* \r\n    (inf-ess 2.0) Method #2 start=nil buf=*julia*\r\n    (ess-setq-vars-LOCAL): language=julia, dialect=julia, buf=nil, comint..echoes=nil, comint..sender=inferior-ess-input-sender\r\n    (inf-ess 2.1): ess-language=julia, ess-dialect=julia buf=*julia* \r\n    (ess-setq-vars-LOCAL): language=julia, dialect=julia, buf=nil, comint..echoes=nil, comint..sender=inferior-ess-input-sender\r\n    (i-ess 1): buf=*julia*, lang=julia, comint..echo=nil, comint..sender=inferior-ess-input-sender,\r\n    (i-ess end): buf=*julia*, lang=julia, comint..echo=nil, comint..sender=inferior-ess-input-sender,\r\n    (inf-ess 3.0): prog=julia, start-args=--color=no , echoes=nil\r\n    Making Process...Buf *julia*, :Proc julia, :Prog julia\r\n     :Args= --color=no \r\n    Start File=nil\r\n    (inferior-ess: waiting for process to start (before hook)\r\n\r\n\r\nI checked that running the command directly in a shell starts the julia process, and I also checked that running R in the same way (with the same remote server) starts an R session correctly. "},"comment":{"url":"https://api.github.com/repos/emacs-ess/ESS/issues/comments/70221751","html_url":"https://github.com/emacs-ess/ESS/issues/138#issuecomment-70221751","issue_url":"https://api.github.com/repos/emacs-ess/ESS/issues/138","id":70221751,"user":{"login":"vspinu","id":1363467,"avatar_url":"https://avatars.githubusercontent.com/u/1363467?v=3","gravatar_id":"","url":"https://api.github.com/users/vspinu","html_url":"https://github.com/vspinu","followers_url":"https://api.github.com/users/vspinu/followers","following_url":"https://api.github.com/users/vspinu/following{/other_user}","gists_url":"https://api.github.com/users/vspinu/gists{/gist_id}","starred_url":"https://api.github.com/users/vspinu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vspinu/subscriptions","organizations_url":"https://api.github.com/users/vspinu/orgs","repos_url":"https://api.github.com/users/vspinu/repos","events_url":"https://api.github.com/users/vspinu/events{/privacy}","received_events_url":"https://api.github.com/users/vspinu/received_events","type":"User","site_admin":false},"created_at":"2015-01-16T08:23:42Z","updated_at":"2015-01-16T08:23:42Z","body":"> I checked that running the command directly in a shell starts the julia process,\r\n\r\nWhat shell? Emacs shell? \r\n\r\nESS is waiting for prompt from julia process. And it looks like it is not getting it.  There were problems in the pass with julia not working inside emacs. Make sure the remote has the most recent julia installed. \r\n\r\nIf julia works in emacs shell, there is no reason it should not work under ESS. "}}