Skip to content

Instantly share code, notes, and snippets.

@the5fire
Created March 7, 2018 02:27
Show Gist options
  • Save the5fire/ca7d05ab37abd0427a19bb37a2891935 to your computer and use it in GitHub Desktop.
Save the5fire/ca7d05ab37abd0427a19bb37a2891935 to your computer and use it in GitHub Desktop.
powerline-issue
Traceback (most recent call last):
File "/usr/local/bin/powerline-shell", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python2.7/site-packages/powerline_shell/__init__.py", line 191, in main
segment.add_to_powerline()
File "/usr/local/lib/python2.7/site-packages/powerline_shell/segments/username.py", line 16, in add_to_powerline
if pwd.getpwuid(os.getuid())[0] == "root":
KeyError: 'getpwuid(): uid not found: 501'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment