Parisson / TimeSide

scalable audio processing framework and server written in Python
https://timeside.ircam.fr/docs/
GNU Affero General Public License v3.0
369 stars 59 forks source link

Wrong Grapher arguments #200

Closed yomguy closed 1 year ago

yomguy commented 4 years ago

Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/celery/app/trace.py", line 385, in trace_task
R = retval = fun(*args, *kwargs)
File "/usr/local/lib/python3.7/dist-packages/celery/app/trace.py", line 650, in __protected_call__
return self.run(
args, **kwargs)
File "/srv/lib/timeside/timeside/server/tasks.py", line 39, in experience_run
item.run(experience)
File "/srv/lib/timeside/timeside/server/models.py", line 545, in run
pipe.run()
File "/srv/lib/timeside/timeside/core/processor.py", line 526, in run
totalframes=last.totalframes())
File "/srv/lib/timeside/timeside/core/grapher.py", line 167, in setup
"RGBA", (self.image_width, self.image_height), self.bg_color)
File "/usr/local/lib/python3.7/dist-packages/PIL/Image.py", line 2544, in new
return im._new(core.fill(mode, size, color))
SystemError: new style getargs format but argument is not a tuple

gnuletik commented 4 years ago

Some context : If a task is created with a Grapher (and other presets), the Grapher fails, all other presets are dismissed (not processed) and the task status is set to "Done".

So, until this issue is resolved, grapher presets should not be used with other presets.