Closed bearcatsandor closed 7 years ago
Hmm, that error almost looks like it's failing to resolve localhost
, could you try replacing it with 127.0.0.1
in the bpd
configuration section?
You could also just consider removing the host
setting altogether and using the default.
I get the same error with '127.0.0.1' and that line removed.
On Wed, Jun 22, 2016 at 11:21 AM, Adrian Sampson notifications@github.com wrote:
You could also just consider removing the host setting altogether and using the default.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/beetbox/beets/issues/2071#issuecomment-227815358, or mute the thread https://github.com/notifications/unsubscribe/AADgP78rlpwBgZuf4WvPIEoMBN4PH_4vks5qOW8ZgaJpZM4I7hAQ .
Bearcat M. Şándor Voice: 872.CAT.SOUL (872.228.7685) Fax: 406.235.7070 My public pgp key is included for verification of my identity
That's very peculiar indeed, it seems it's failing to look up the address...
Yes indeed; that's very mysterious! Can you try running this Python one-liner to see if something socket-related is broken on your system?
python -c 'import socket; socket.socket().bind(("", 8337))'
That returns null for both root and my beets user.
On Wed, Jun 22, 2016 at 5:09 PM, Adrian Sampson notifications@github.com wrote:
Yes indeed; that's very mysterious! Can you try running this Python one-liner to see if something socket-related is broken on your system?
python -c 'import socket; socket.socket().bind(("", 8337))'
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/beetbox/beets/issues/2071#issuecomment-227904298, or mute the thread https://github.com/notifications/unsubscribe/AADgPzScckKtWKABVDSovSAvv9BB5oYwks5qOcCYgaJpZM4I7hAQ .
Bearcat M. Şándor Voice: 872.CAT.SOUL (872.228.7685) Fax: 406.235.7070 My public pgp key is included for verification of my identity
Quite strange. Any success if you leave the port as the default too—or, more drastically, if you remove everything in your config file except the line that enables the bpd plugin?
My config now contains only:
directory: /home/hometheater/audio library: ~/.config/beets/musiclibrary.blb
plugins: bpd
Note that it complains about gst versions. I have both some 0.10 and 1.0 gst libraries installed. Shall i remove all the 0.10 stuff i can find to see if that might be the issue?
I still get the error:
beet -vv bpd start 18:07:41
user configuration: /home/bearcat/.config/beets/config.yaml
data directory: /home/bearcat/.config/beets
plugin paths:
Sending event: pluginload
library database: /home/bearcat/.config/beets/musiclibrary.blb
library directory: /home/hometheater/audio
Sending event: library_opened
/usr/lib64/python2.7/site-packages/beetsplug/bpd/gstplayer.py:31:
PyGIWarning: Gst was imported without specifying a version first. Use
gi.require_version('Gst', '1.0') before import to ensure that the right
version gets loaded.
from gi.repository import GLib, Gst
Building directory tree...
... done.
Traceback (most recent call last):
File "/usr/lib/python-exec/python2.7/beet", line 9, in
On Wed, Jun 22, 2016 at 5:47 PM, Adrian Sampson notifications@github.com wrote:
Quite strange. Any success if you leave the port as the default too—or, more drastically, if you remove everything in your config file except the line that enables the bpd plugin?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/beetbox/beets/issues/2071#issuecomment-227910492, or mute the thread https://github.com/notifications/unsubscribe/AADgP3vlrKsHL997DsFOK1JtMHbO7G57ks5qOcmbgaJpZM4I7hAQ .
Bearcat M. Şándor Voice: 872.CAT.SOUL (872.228.7685) Fax: 406.235.7070 My public pgp key is included for verification of my identity
Very strange indeed -- I don't know what else to try! Everything works fine on my end, and I can't see any reason why socket.bind
would ever fail with the default values for the host and port. I also don't see any reason why the test line I gave you would succeed while exactly the same call inside bpd
would crash.
Any ideas for other things that might be different about your system? Can you try a different computer?
PyGIWarning: Gst was imported without specifying a version first. Use gi.require_version('Gst', '1.0') before import to ensure that the right version gets loaded. from gi.repository import GLib, Gst
IIRC this order of instruction was necessary to comply to the flake style checks. Is there a way to let flake ignore this special case?
what was the flake8 error?
Something like "no imports after function call".
Edit: Found it "E402 module level import not at top of file"
yes, there is a way to make flake8 conditionally ignore stuff by adding # noqa ignore=ERROR_NO
at the end of it.
fixed the import warning in https://github.com/beetbox/beets/commit/cb6efc4c225416a9951c09237b1fbb547147bb34
Thanks, @jrobeson! Could you please add a quick changelog entry to that effect?
I'm closing this now, as it seems to be resolved.
Problem
Regarding https://github.com/beetbox/beets/pull/2062 bpd still doesn't operate properly. It starts to build the directory tree and then gives me an error about bluelet
Running this command in verbose (
-vv
) mode:Here's a link to the music files that trigger the bug (if relevant):
Setup
My configuration (output of
beet config
) is: