mbruggmann / i2ssh

ssh into a cluster of machines using iTerm 2 split panes on OSX.
Apache License 2.0
16 stars 8 forks source link

Getting error from new installation #7

Open TobyHFerguson opened 7 years ago

TobyHFerguson commented 7 years ago

I'm getting the following error:

toby-MBP:director-azure toby$ i2ssh azure
/var/folders/yw/d423wsm173b00s0xctd1mj5c0000gp/T/tmpRP2uIc:4849:4855: script error: Expected “,” but found class name. (-2741)

Not sure what to do.

Here's how I got here:

I installed i2ssh:

pip install i2ssh
.
.
.
Successfully installed i2ssh-0.4.0 pyobjc-core-3.2.1 pyobjc-framework-Cocoa-3.2.1 pyyaml-3.12 quik-0.2.2`

I then used the following cluster file:
````sh
azure_small:
  hosts:
    - director21.westus.cloudapp.azure.com
    - director22.westus.cloudapp.azure.com
    - director23.westus.cloudapp.azure.com
    - director24.westus.cloudapp.azure.com
    - director25.westus.cloudapp.azure.com 

After that I got the error I showed at the top :-(

TobyHFerguson commented 7 years ago

It appears this is because I was using iterm, not iterm2 - perhaps that should be checked and a more helpful error thrown?

mbruggmann commented 7 years ago

Yeah, adding a check that we are running in iterm2 sounds like a good idea. Are you up for providing that as a PR @TobyHFerguson?

TobyHFerguson commented 7 years ago

I can give it a try ... I'll file that in a few days

toby | +1 408 386 9343

On Thu, Apr 13, 2017 at 3:18 AM, Marc Bruggmann notifications@github.com wrote:

Yeah, adding a check that we are running in iterm2 sounds like a good idea. Are you up for providing that as a PR @TobyHFerguson https://github.com/TobyHFerguson?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mbruggmann/i2ssh/issues/7#issuecomment-293850623, or mute the thread https://github.com/notifications/unsubscribe-auth/AGORBQaipiAhxxN7krIbmC7XUFoFquYoks5rvfaNgaJpZM4M6pdb .