docker-picard icon indicating copy to clipboard operation
docker-picard copied to clipboard

"Add Cluster as Release" plugin not working

Open techie2000 opened this issue 3 years ago • 6 comments

On trying to execute the "Add Cluster as Release" nothing visibly happens. On checking the logs, it reports:

xdg-mime: mimetype argument missing
Try 'xdg-mime --help' for more information.
Failed to move to new namespace: PID namespaces supported, Network namespace supported, but failed: errno = Operation not permitted

[1233:1233:0100/000000.690181:ERROR:zygote_linux.cc(647)] write: Broken pipe (32)

'just for fun' I tried starting up with --cap-add=SYS_ADMIN option, and it worked! Not a great solution admittedly ;)

techie2000 avatar Apr 21 '21 09:04 techie2000

Whilst i had positive result opening the web page off the back of that workaround, I noticed I am now getting a lot of other errors in the log when I use it

xdg-mime: mimetype argument missing
Try 'xdg-mime --help' for more information.
[1215:1285:0421/214042.423378:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")

[1215:1285:0421/214042.423645:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")

xdg-mime: mimetype argument missing
Try 'xdg-mime --help' for more information.
[1215:1285:0421/214042.423378:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")

[1215:1285:0421/214042.423645:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")

[1215:1285:0421/214042.436506:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")

[1215:1285:0421/214042.436608:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")

libva error: va_getDriverName() failed with unknown libva error,driver_name=(null)

[1281:1281:0421/214042.473994:ERROR:viz_main_impl.cc(150)] Exiting GPU process due to errors during initialization

[1215:1408:0421/214042.488767:ERROR:object_proxy.cc(621)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files

[1215:1408:0421/214042.488921:ERROR:object_proxy.cc(621)] Failed to call method: org.freedesktop.UPower.GetDisplayDevice: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files

[1215:1408:0421/214042.489059:ERROR:object_proxy.cc(621)] Failed to call method: org.freedesktop.UPower.EnumerateDevices: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files

[1391:1391:0421/214042.492327:ERROR:vaapi_wrapper.cc(596)] Could not get a valid VA display

[1391:1391:0421/214042.492413:ERROR:gpu_init.cc(426)] Passthrough is not supported, GL is egl

techie2000 avatar Apr 21 '21 20:04 techie2000

Hi @techie2000,

I have had very little time to spend on this, apologies. Just wondering if the problem still exists, as there have been a few picard releases since you created this issue.

mikenye avatar Jul 04 '21 13:07 mikenye

I have had very little time to spend on this, apologies. Just wondering if the problem still exists, as there have been a few picard releases since you created this issue.

I'm struggling to think what Release I was trying to get into Musicbrainz when I generated this issue :grimacing:

I have the latest release, but have no files I can immediately think of to test this out on I'm afraid.

techie2000 avatar Jul 04 '21 18:07 techie2000

Hi @mikenye I've had reason to try and use the plugin again and can report a similar error as previously experienced.

xdg-mime: mimetype argument missing
Try 'xdg-mime --help' for more information.
[1147:1177:1129/103447.382259:ERROR:bus.cc(392)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")

[1147:1177:1129/103447.382298:ERROR:bus.cc(392)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")

[1147:1177:1129/103447.392566:ERROR:bus.cc(392)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")

[1147:1177:1129/103447.392582:ERROR:bus.cc(392)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")

[1218:1218:1129/103447.393260:ERROR:gpu_init.cc(441)] Passthrough is not supported, GL is swiftshader

[1147:1256:1129/103447.408951:ERROR:object_proxy.cc(642)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files

[1147:1256:1129/103447.409061:ERROR:object_proxy.cc(642)] Failed to call method: org.freedesktop.UPower.GetDisplayDevice: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files

[1147:1256:1129/103447.409156:ERROR:object_proxy.cc(642)] Failed to call method: org.freedesktop.UPower.EnumerateDevices: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files

[1147:1177:1129/103447.418607:ERROR:bus.cc(392)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")

[1147:1177:1129/103447.418631:ERROR:bus.cc(392)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")

[1219:1240:1129/103452.855237:ERROR:broker_posix.cc(46)] Received unexpected number of handles

[1219:1240:1129/103453.534186:ERROR:broker_posix.cc(46)] Received unexpected number of handles

[1219:1240:1129/103453.534588:ERROR:broker_posix.cc(46)] Received unexpected number of handles

[1219:1240:1129/103453.535522:ERROR:broker_posix.cc(46)] Received unexpected number of handles

[1219:1240:1129/103453.543259:ERROR:broker_posix.cc(46)] Received unexpected number of handles

[1219:1240:1129/103453.543600:ERROR:broker_posix.cc(46)] Received unexpected number of handles

[1219:1240:1129/103453.546982:ERROR:broker_posix.cc(46)] Received unexpected number of handles

[1219:1240:1129/103453.547492:ERROR:broker_posix.cc(46)] Received unexpected number of handles

[1219:1240:1129/103453.548954:ERROR:broker_posix.cc(46)] Received unexpected number of handles

[1219:1240:1129/103453.636991:ERROR:broker_posix.cc(46)] Received unexpected number of handles

[1219:1240:1129/103453.655023:ERROR:broker_posix.cc(46)] Received unexpected number of handles

[1219:1240:1129/103453.655514:ERROR:broker_posix.cc(46)] Received unexpected number of handles

[1219:1240:1129/103453.657224:ERROR:broker_posix.cc(46)] Received unexpected number of handles

[1219:1240:1129/103453.723873:ERROR:broker_posix.cc(46)] Received unexpected number of handles

[1219:1240:1129/103455.579989:ERROR:broker_posix.cc(46)] Received unexpected number of handles

[1219:1240:1129/103455.876426:ERROR:broker_posix.cc(46)] Received unexpected number of handles

[1219:1240:1129/103455.877102:ERROR:broker_posix.cc(46)] Received unexpected number of handles

[1219:1240:1129/103455.877783:ERROR:broker_posix.cc(46)] Received unexpected number of handles

[1219:1240:1129/103455.878427:ERROR:broker_posix.cc(46)] Received unexpected number of handles

[1219:1240:1129/103455.898607:ERROR:broker_posix.cc(46)] Received unexpected number of handles

techie2000 avatar Nov 29 '21 10:11 techie2000

This is what appears when that error has been generated image

Looking at 'Data submitted with this request' shows the track data as I would expect.

I'm suspecting that this is something to do with the fact that it (apparently) writes a tmp file whose contents is then read in.

techie2000 avatar Nov 29 '21 11:11 techie2000

Interesting.....I noticed that because I hadn't used MusicBrainz in a while (life kind of got in the way!), it had logged me out.

I logged back in and did manage to submit the new release :)

I have been getting Chromium issues for a long time which shows itself mainly as very sluggish to move between tabs/open content, and seeing browsers errors similar to issue #29 but with 'Error Code: 6' rather than 'Error Code: 4'

techie2000 avatar Nov 29 '21 11:11 techie2000

This issue is likely obsolete. "Submit cluster as release" functionality has been integrated into Picard itself as the plugin had some issues in modern browser that could not be easily resolved the way the plugin works. For details see https://tickets.metabrainz.org/browse/PICARD-2203

It needs to be tested, but I think the built-in functionality could resolve the issue here.

phw avatar Dec 08 '22 14:12 phw

I had tested this, the built-in "Submit cluster as release" functionality of Picard is working also inside the container.

phw avatar Dec 09 '22 14:12 phw

I have submitted several clusters recently and had no issues and agree with above, that this is no longer an issue.

techie2000 avatar Dec 11 '22 19:12 techie2000