-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
None
I'm using beets to submit my collection on acousticbrainz. When I do this, I get the following set of errors:
```
absubmit: Failed to analyse Ludwig van Beethoven - Missa Solemnis / Mass in C - Mass in C major, Op. 86: I. Kyrie for AcousticBrainz: b'/home/soergeld/abzsubmit-0.1/streaming_extractor_music' exited with status 5
absubmit: Failed to analyse Ludwig van Beethoven - The Early String Quartets, op. 18 - String Quartet in B-flat major, op. 18 no. 6: II. Adagio ma non troppo for AcousticBrainz: b'/home/soergeld/abzsubmit-0.1/streaming_extractor_music' exited with status -11
absubmit: Failed to analyse Ludwig van Beethoven - Complete String Quartets - String Quartet No. 1 in F major, Op. 18 No. 1: I. Allegro con brio for AcousticBrainz: b'/home/soergeld/abzsubmit-0.1/streaming_extractor_music' exited with status 4
absubmit: Failed to analyse Ludwig van Beethoven - Missa Solemnis / Mass in C - Mass in D major "Missa Solemnis", Op. 123: II. Gloria: Gloria in excelsis Deo. for AcousticBrainz: b'/home/soergeld/abzsubmit-0.1/streaming_extractor_music' exited with status 5
absubmit: Failed to analyse Ludwig van Beethoven - The Complete EMI Recordings - Cello Sonata no. 4 in C, op. 102 no. 1: I. Andante - Allegro vivace for AcousticBrainz: b'/home/soergeld/abzsubmit-0.1/streaming_extractor_music' exited with status -11
absubmit: Failed to analyse Ludwig van Beethoven - The Late String Quartets, opp. 95, 127, 130–133 & 135 - String Quartet in F minor, op. 95: IV. Larghetto espressivo – Allegretto agitato – Allegro for AcousticBrainz: b'/home/soergeld/abzsubmit-0.1/streaming_extractor_music' exited with status 1
absubmit: Failed to analyse Ludwig van Beethoven - Complete String Quartets - String Quartet No. 1 in F major, Op. 18 No. 1: II. Adagio affettuoso ed appassionato for AcousticBrainz: b'/home/soergeld/abzsubmit-0.1/streaming_extractor_music' exited with status 4
absubmit: Failed to analyse Ludwig van Beethoven - Missa Solemnis / Mass in C - Mass in D major "Missa Solemnis", Op. 123: II. Gloria: Qui tollis for AcousticBrainz: b'/home/soergeld/abzsubmit-0.1/streaming_extractor_music' exited with status 5
absubmit: Failed to analyse Ludwig van Beethoven - Complete String Quartets - String Quartet No. 1 in F major, Op. 18 No. 1: III. Scherzo. Allegro molto for AcousticBrainz: b'/home/soergeld/abzsubmit-0.1/streaming_extractor_music' exited with status 4
absubmit: Failed to analyse Ludwig van Beethoven - Complete String Quartets - String Quartet No. 2 in G major, Op. 18 No. 2: I. Allegro for AcousticBrainz: b'/home/soergeld/abzsubmit-0.1/streaming_extractor_music' exited with status 4
absubmit: Failed to analyse Ludwig van Beethoven - Missa Solemnis / Mass in C - Mass in D major "Missa Solemnis", Op. 123: II. Gloria: Quoniam for AcousticBrainz: b'/home/soergeld/abzsubmit-0.1/streaming_extractor_music' exited with status 5
absubmit: Failed to analyse Ludwig van Beethoven - Missa Solemnis / Mass in C - Mass in D major "Missa Solemnis", Op. 123: III. Credo: Credo for AcousticBrainz: b'/home/soergeld/abzsubmit-0.1/streaming_extractor_music' exited with status 5
absubmit: Failed to analyse Ludwig van Beethoven - Missa Solemnis / Mass in C - Mass in D major "Missa Solemnis", Op. 123: III. Credo: Et incarnatus est for AcousticBrainz: b'/home/soergeld/abzsubmit-0.1/streaming_extractor_music' exited with status 5
absubmit: Failed to analyse Ludwig van Beethoven - Missa Solemnis / Mass in C - Mass in D major "Missa Solemnis", Op. 123: V. Agnus Dei: Agnus Dei for AcousticBrainz: b'/home/soergeld/abzsubmit-0.1/streaming_extractor_music' exited with status 5
absubmit: Failed to analyse Ludwig van Beethoven - Mozart / Schubert / Beethoven / Wagner - Fidelio op. 72, Act 2: "Gott! Welch dunkel hier!" in des Lebens Frühlingstagen" for AcousticBrainz: b'/home/soergeld/abzsubmit-0.1/streaming_extractor_music' exited with status 1
Traceback (most recent call last):
File "/usr/local/bin/beet", line 11, in <module>
load_entry_point('beets==1.5.0', 'console_scripts', 'beet')()
File "/usr/local/lib/python3.6/dist-packages/beets/ui/_init_.py", line 1267, in main
_raw_main(args)
File "/usr/local/lib/python3.6/dist-packages/beets/ui/_init_.py", line 1254, in _raw_main
subcommand.func(lib, suboptions, subargs)
File "/usr/local/lib/python3.6/dist-packages/beetsplug/absubmit.py", line 126, in command
util.par_map(self.analyze_submit, items)
File "/usr/local/lib/python3.6/dist-packages/beets/util/_init_.py", line 1050, in par_map
pool.map(transform, items)
File "/usr/lib/python3.6/multiprocessing/pool.py", line 266, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File "/usr/lib/python3.6/multiprocessing/pool.py", line 644, in get
raise self._value
File "/usr/lib/python3.6/multiprocessing/pool.py", line 119, in worker
result = (True, func(*args, **kwds))
File "/usr/lib/python3.6/multiprocessing/pool.py", line 44, in mapstar
return list(map(*args))
File "/usr/local/lib/python3.6/dist-packages/beetsplug/absubmit.py", line 131, in analyze_submit
analysis = self._get_analysis(item)
File "/usr/local/lib/python3.6/dist-packages/beetsplug/absubmit.py", line 174, in _get_analysis
analysis = json.load(tmp_file)
File "/usr/lib/python3.6/json/_init_.py", line 299, in load
parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
File "/usr/lib/python3.6/json/_init_.py", line 354, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.6/json/decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.6/json/decoder.py", line 357, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 627 column 21 (char 50703)
```
The errors are coming from the acousticbrainz CLI tool, PKG-version:
```
Metadata-Version: 1.1
Name: abzsubmit
Version: 0.1
Summary: Submission client for AcousticBrainz project
Home-page: http://acousticbrainz.org
Author: Universitat Pompeu Fabra
Author-email: alastair.porter@upf.edu
License: GPL3+
Description: UNKNOWN
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Programming Language :: Python
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Topic :: Multimedia :: Sound/Audio :: Analysis
Classifier: Topic :: Scientific/Engineering :: Information Analysis
```
I get status 4, 5, 1 and -11 and I can't find in the documentation what they refer to (I actually couldn't find any detailed documentation, where is it?). I also get a ```json.decoder.JSONDecodeError```. I also opened a report on beets: https://github.com/beetbox/beets/issues/3527 , but the error comes from the acousticbrainz CLI tool.