Created attachment 50 [details]
patch to fix abcde-musicbrainz-tool
Calling abcde-musicbrainz-tool --command data --discid QGi07LeAr4lqmuMKVn6dZJELpxM- crashes with the error message 'Can't call method "count" on an undefined value at ./abcde-musicbrainz-tool line 99'
Apparently sometimes $release->release_event_list() doesn't return an empty list but the undef value.
The attached patch checks $release->release_event_list() before calling count() on it and fixes the bug.
Thanks for the report; I think this is fixed already in a slightly different way.
*** This bug has been marked as a duplicate of bug 57 ***