New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error trying to run telepresence on osx (Python 3.4 is too old, need 3.5+) #136

Closed
ntrvic opened this Issue May 3, 2017 · 5 comments

Comments

Projects
None yet
2 participants
@ntrvic

ntrvic commented May 3, 2017

My environment is osx 10.11.1 and python 3.4. After following the brew installation process, I tried to run telepresence but am getting the following error:

Traceback (most recent call last):
  File "/usr/local/bin/telepresence", line 914, in <module>
    main()
  File "/usr/local/bin/telepresence", line 868, in main
    args = parse_args()
  File "/usr/local/bin/telepresence", line 125, in parse_args
    "Telepresence: local development proxied to a remote Kubernetes "
TypeError: __init__() got an unexpected keyword argument 'allow_abbrev'
@itamarst

This comment has been minimized.

Contributor

itamarst commented May 3, 2017

Hi,

Thanks for the bug report. Python 3.5 is required, but I neglected to indicate that in the Homebrew dependencies, my apologies. I suggest manually upgrading to python 3.5 or 3.6 with homebrew.

I'll also update the dependencies so that happens automatically in the future.

@itamarst itamarst added the bug label May 3, 2017

@itamarst itamarst added this to Next in Telepresence May 3, 2017

@itamarst itamarst changed the title from Error trying to run telepresence on osx to Error trying to run telepresence on osx (Python 3.4 is too old, need 3.5+) May 3, 2017

@itamarst

This comment has been minimized.

Contributor

itamarst commented May 3, 2017

Oh, and additional bug this found: telepresence's automatic "do you want to file a bug?" code is not triggered if an error occurs during parsing arguments. So need to fix that too.

@itamarst itamarst moved this from Next to In progress in Telepresence May 3, 2017

@itamarst

This comment has been minimized.

Contributor

itamarst commented May 3, 2017

Fixed in master.

@itamarst itamarst closed this May 3, 2017

@itamarst itamarst moved this from In progress to Done in Telepresence May 3, 2017

@ntrvic

This comment has been minimized.

ntrvic commented May 3, 2017

Thank you!

@itamarst

This comment has been minimized.

Contributor

itamarst commented May 3, 2017

(Unfortunately it doesn't seem like Homebrew gives me any way to force an upgrade to newer Python, so I just added a nicer error on startup.)

@itamarst itamarst removed this from Done in Telepresence Jun 22, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment