drensin / Remixatron

Infinite Jukebox on the command line in Python. It groups musically similar beats of a song into clusters and then plays a random path through the song that makes musical sense, but not does not repeat. It will do this infinitely.
Apache License 2.0
154 stars 26 forks source link

error during "computing final beat array..." on WebUI #22

Open yasminpierazo opened 3 years ago

yasminpierazo commented 3 years ago

I'm using Windows 10 and its crashing during "computing final beat array...", here's the log:

80.0%: computing final beat array...
Process Process-5:
Traceback (most recent call last):
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.1776.0_x64__qbz5n2kfra8p0\lib\multiprocessing\process.py", line 315, in _bootstrap
    self.run()
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.1776.0_x64__qbz5n2kfra8p0\lib\multiprocessing\process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "C:\Users\Yasmin\Desktop\Web UI\main.py", line 407, in process_audio
    jukebox = InfiniteJukebox(fn, clusters=clusters,
  File "C:\Users\Yasmin\Desktop\Web UI\Remixatron.py", line 164, in __init__
    self.__process_audio()
  File "C:\Users\Yasmin\Desktop\Web UI\Remixatron.py", line 456, in __process_audio
    beats[last_chance]['next'] = min(beats[last_chance]['jump_candidates'])
ValueError: min() arg is an empty sequence

That's the error, but it doesn't crash on every song. Can someone help me pls?

FlashlightET commented 3 years ago

same!