You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running into this error when using script-server 1.18.0 and executing a script.
Traceback (most recent call last):
File "src/web/server.py", line 410, in post
execution_id = self.application.execution_service.start_script(config_model, user)
File "src/execution/execution_service.py", line 55, in start_script
executor.start(execution_id)
File "src/execution/executor.py", line 72, in start
env_variables = _build_env_variables(parameter_values, self.config.parameters, execution_id)
File "src/execution/executor.py", line 271, in _build_env_variables
env_var = _to_env_name(param_name)
File "src/execution/executor.py", line 245, in _to_env_name
transliterated = transliterate(key)
File "src/utils/transliteration.py", line 89, in transliterate
transliterated = text.translate(table)
AttributeError: 'NoneType' object has no attribute 'translate'
The text was updated successfully, but these errors were encountered:
I was missing the "name" of some constant parameter in the script config... A better error message would be good when required fields are missing.
tristanlatr
changed the title
Crash: 'NoneType' object has no attribute 'translate'
Crash: 'NoneType' object has no attribute 'translate' when required parameters fields are missing
Nov 21, 2023
I'm running into this error when using script-server 1.18.0 and executing a script.
The text was updated successfully, but these errors were encountered: