-
-
Notifications
You must be signed in to change notification settings - Fork 716
Core dumped buttons of mpd's module #1007
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
Comments
This error actually occurs in libmpdclient. |
Other clients work fine. I have just tested it and the problem appears only when my MPD server has a password. |
Can you compile in debug mode, run it through gdb and give us a full backtrace with the following command: Note: It is possible that your password is visible in the backtrace, so make sure you remove it before posting. |
Thanks for the instructions, I installed the package Here is the traceback from
|
Thanks. However, if you install polybar as a package, |
From some reason when I entered again the aur directory, there was no
|
This is interesting, polybar actually crashes while it is trying to throw an error. So unfortunately we can't see the error message. I will open a PR shortly, so that we actually get helpful information from polybar. EDIT: Please try out #1024, it should give you a meaningfull error message |
I'm not sure about the comments you received for your PR but I followed this guide: https://help.github.com/articles/checking-out-pull-requests-locally/ and ran the same
As I said before, I have the environmental variable |
Ah, I see. Polybar doesn't seem to respect |
Works, thanks! I guess it's OK to keep it this way in the meantime since there is no plain-text password explicitly set in the configuration file. |
I just opened #1025 to fix this. Do you have the password set as part of MPD_HOST? |
Yes, just as explained here in Edit: The usage of |
Hmm, didn't know about this. Also mpc somehow doesn't have a manpage on my system. |
Yea I don't have it too here on Arch Linux from some reason. I remember I used to have it in the past. |
Looks like the newest mpc version uses a new documentation system which the PKGBUILD doesn't have in its makedepends array |
Cool, thanks a lot! |
1 similar comment
Cool, thanks a lot! |
Breaking Changes: * `0 < label-NAME-maxlen < 3` will now throw an exception and disable the containing module, if ellipsis is enabled for that label. (#1198) Changelog: Deprecations: * `internal/volume` is now called `internal/alsa` (#967) * temperature: The `%temperature%` is deprecated in favor of `%temperature-c%`(#897) * mpd: `icon-repeatone` is deprecated in favor of `icon-single` (#1295), see #1279 Features: * feat(mpd): Add support for icon-consume (#861) * feat(bspwm): Add workspace separator (#942) * feat(i3): Add workspace separator (#938), see #929 * feat(build): Make polybar build on FreeBSD (#931, polybar/xpp#8), see #239 * feat(volume): Add pulseaudio backend (#779) * feat(script): Add %pid% token for tail commands (#934) * feat(temp): Add temperature tokens without unit (#897) * feat(memory): Add memory used/free ramp (#1038), see #1037 * feat(memory): Add swap tokens (#1018) * feat(net): Add unknown-as-up option (#1077), see #457 * feat(config): Support fractional size and offset (#972), see #953 * feat(xwindow): Add label-empty (#1136) * feat(battery): Add animation-discharging (analog to animation-charging) (#1190) * feat(config): Support pixel offset for bar size and offset values (#1224) * feat(mpd): Add `%album-artist%` token (#1263) * feat(net): Add local_ip6 token (#1239), see #1234 * feat(net): Add nl80211 support (#1009), see #277 Fixes: * fix(mpd): Wrong elapsed time when after standby (#921), see #915 * fix(config): Wrong min, maxlen when using the same token multiple times (#974), see #971 * fix(battery): use power_now correctly (#958), see #928 * fix(mpd): Crash when mpd isn't running (#983), see #979 * fix(xworkspaces): Respect 'enable-scroll' (#1002) * fix(xbacklight): Respect 'enable-scroll' (#1014) * fix(build): support xcb-proto >=1.13 (polybar/xpp#11), see #973 * fix(mpd): Respect MPD_HOST env variable (#1025), see #1007 * fix(i3): Reconnect i3 IPC socket on restart/error (#1099), see #762 * fix(cursor): Occasional crash on mouseover (#1124), see #1117 * fix(net): Mark 'not connected' on querying failure (#1171), see #1163 * fix(gcc): Fix -Wstringop-truncation warning (#1216, polybar/i3ipcpp#7), see #1215 * fix(builder): Don't truncate colors with same channels (#1217), see #1183 * fix(bspwm): Consistent behavior when scrolling through multiple desktops (#986), see #981 * fix(builder): Respect label-ellipsis option (#1198), see #1194
I have a password protected MPD server running on
localhost
and I have the environmental$MPD_HOST
set in shell configuration files. With whatever configuration I put inmodule.mpd
I can see the bar configured just fine but if I press on one of the buttons - for example pause/play I get the following traceback:Environment:
The text was updated successfully, but these errors were encountered: