A summary of the issue and the browser/OS environment in which it occurs.
- Redash Version: 8.0.0+b32245, 8.0.2.b37747
- Browser/OS: Chrome, MacOS Catalina
- How did you install Redash: Via kubernetes contrib Helm Chart
I’m receiving the following error:
[2020-07-24 17:16:47,260][PID:25][INFO][Beat] Scheduler: Sending due task refresh_queries (redash.tasks.refresh_queries)
[2020-07-24 17:16:47,263][PID:6][INFO][MainProcess] Received task: redash.tasks.refresh_queries[66861e35-fa05-4164-9aa4-e0c0c1c76585]
[2020-07-24 17:16:47,264][PID:34][INFO][ForkPoolWorker-16] task_name=redash.tasks.refresh_queries task_id=66861e35-fa05-4164-9aa4-e0c0c1c76585 Refreshing queries…
[2020-07-24 17:16:47,299][PID:34][ERROR][ForkPoolWorker-16] Task redash.tasks.refresh_queries[66861e35-fa05-4164-9aa4-e0c0c1c76585] raised unexpected: TypeError(‘float() argument must be a string or a number’,)
Traceback (most recent call last):
File “/usr/local/lib/python2.7/site-packages/celery/app/trace.py”, line 385, in trace_task
**R = retval = fun(*args, kwargs)
query_text = query.parameterized.apply(parameters).query
File “/app/redash/models/parameterized_query.py”, line 125, in apply
invalid_parameter_names = [key for (key, value) in parameters.iteritems() if not self._valid(key, value)]
File “/app/redash/models/parameterized_query.py”, line 169, in _valid
File “/app/redash/models/parameterized_query.py”, line 89, in _is_number
TypeError: float() argument must be a string or a number
The actual deployment contains a database migrated from a self-hosted redash deployment running on a GCP VM with version 7.0.0.
If I change the env values for the adhocworker in the helmfile values the problem seems to be “solved” but of course it does not accomplish with the need.
I think this is the portion of helmfile which is giving this error but I don’t quite understand why it’s happening.
Hope someone can help me solving this error.