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
Segment not showing up with powerline-daemon #1
Comments
Hi Benno, Thanx for showing interest in this segment! Unfortunately I don't really have an answer for you :( When I started I switched from Bash to ZSH, and noticed that using In stead I switched to using In all cases, the segment showed up just fine, so I cannot say why it's not showing up for you. |
At first, when I tried to use the powerline-daemon, I didn't notice any difference either, I suspect the daemon was simply not used. However, now I can see a significant performance increase when using the daemon. I am using Bash, and I couldn't find a lot of info on libzpython. Can you point me in the right direction? |
@Bensge I can reproduce this exact behavior on my machine as well. I run powerline with the I did a bit of "hacky" testing on a copy of the |
So it could be I'm still on an older version of Powerline. I'll upgrade and run some tests when I can find some time. Thanks for the feedback! |
I just tried downgrading powerline and discovered some interesting things. Firstly, the powerline-gitstatus segment seems to work with the powerline daemon in version 2.0 of powerline. However, I don't notice any performance improvements from the daemon over the standalone client, unlike in powerline 2.1. I tested that with and without the custom git segment and the git segment is not the origin of that problem. I have the impression that the daemon isn't used at all in < 2.1. I think we should create and issue over at the main powerline repo and link this specific issue. |
@Bensge That was exactly the impression I got as well, no performance boost, that's why I switched to If you want to open an issue at Powerline, go ahead, but by the sound of it I suspect they'll respond with something in the line of "we fixed it, upgrade to 2.1". |
Sorry it takes a while before I can investigate this issue. So much to do, so little time :) But I haven't forgot you guys! |
I've upgrade Powerline on my system to 2.1, and "it works on my machine" :) But like I said, I'm using ZSH with I've set up a virtual box with Bash, and can confirm the issue: When using the daemon, the segment doesn't show. Killing the daemon and the segment immediately appears. Starting it again and the segment is also gone again. I've enabled a log-file and set the log level to |
I'm glad to report that this issue has been fixed in v1.0.3! |
Thanks, that's great news. I just tested it on my Mac and can confirm that it works flawlessly here as well. I can finally enjoy this plugin and have a performant shell prompt! Thanks for the effort and time you put into fixing this issue once again |
Thanks for the fix @jaspernbrouwer ! I can confirm that v1.0.3 addresses the issue with the missing segment and powerline-daemon. In case this helps anyone else, the problem wasn't initially fixed just by upgrading packages. I had to manually kill the daemon and restart it before your updates were applied. $ powerline-daemon -k
# Kill command sent to daemon, if it does not die in a couple of seconds use kill to kill it
$ powerline-daemon -q Info on the daemon process can be found here for reference. |
@jaspernbrouwer I want you to write explicitly what is necessary. |
The segment is tested with:
If you're having trouble, could you:
Thank you! |
@Bensge, @23maverick23: Sorry guys! I've messed up a bit with these working directory issues (#1 and #4) :( There's a new release (v1.1.0) that should fix them once and for all! |
Hello, I've been using your segment for a few days now and it's great! However, I noticed that it just doesn't show up when I'm using the powerline-daemon to speed up powerline. This is very unfortunate because powerline is unbearably slow without the daemon. I have followed your install instructions carefully. I also tried copying the python files to
~/.config/powerline/segments/
and~/Library/Python/2.7/lib/python/site-packages/powerline_gitstatus/
as well as adjusting the segment configuration to the following:However, the segment still just doesn't show up when using the powerline-daemon. As soon as I kill the daemon and powerline uses local processing, or if I let the server run in the foreground (
powerline-daemon --forground
) the segment is there again.Do you have any tips to get your segment to work with the daemon? Any help appreciated
Cheers,
Benno
The text was updated successfully, but these errors were encountered: