-
Notifications
You must be signed in to change notification settings - Fork 745
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
Strange Segment error in certain directories #408
Comments
I've discovered that the segment errors will disappear so long as the directory contains a |
Hello, please reopen the issue I have the .gitignore file but the error persist:
|
When |
Thanks for adding to this, I’ve discovered the same thing. Some logic for handling just the situation when a repo is unmodified should be all that’s needed. |
This started happening today for me, too. But with
So I removed the But even with the export, adding "svn" to the config breaks powerline, so please don't close the issue yet. Edit: I forgot to add, this appears to be happening regardless of folder, and since it's happening with |
Initialize stats and branch of the Segment class to None. This should hopefully fix the issue outline in b-ryan#408: ``` AttributeError: 'Segment' object has no attribute 'stats' ```
I've been using Powerline for a little while now but just today I noticed that the PS1 freaks out in certain directories.
Specifically I get the following:
And this happens inside my git repository that resides here:
https://github.com/jrjhealey/MultiGeneBlastParser
However, if I clone that repo on my mac locally, everything is fine. If I
cd
in to that directory on a Ubuntu server however I get the above error.cd
-ing back in to another directory restores the powerline. Other git repos on the same Ubuntu box work without issue however.I've deleted the repo and recloned it on the Ubuntu machine and the same problem appears.
Both systems are using Bash as the shell.
Any ideas?
The text was updated successfully, but these errors were encountered: