Skip to content
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

Python3 Compatibility Issue #378

Closed
stalinkay opened this issue Mar 15, 2018 · 2 comments
Closed

Python3 Compatibility Issue #378

stalinkay opened this issue Mar 15, 2018 · 2 comments

Comments

@stalinkay
Copy link

I'm getting the following stack trace on macOS High Sierra. See this question for a possible solution

Traceback (most recent call last):
  File "/usr/local/bin/powerline-shell", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.6/site-packages/powerline_shell/__init__.py", line 218, in main
    segment.add_to_powerline()
  File "/usr/local/lib/python3.6/site-packages/powerline_shell/segments/ruby_version.py", line 13, in add_to_powerline
    if os.environ.has_key("GEM_HOME"):
AttributeError: '_Environ' object has no attribute 'has_key'
@b-ryan
Copy link
Owner

b-ryan commented Apr 21, 2018

Was fixed in #366

@b-ryan b-ryan closed this as completed Apr 21, 2018
@stalinkay
Copy link
Author

@b-ryan Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants