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
$ pscheduler task trace --dest psmp-gn-bw-bud-hu.geant.org
...
Problem fetching results: Failed to format result: Traceback (most recent call last):
File "/usr/libexec/pscheduler/classes/test/trace/result-format", line 69, in <module>
pscheduler.result_format_method(TEMPLATE, max_schema=MAX_SCHEMA, validator=result_is_valid)
File "/usr/lib/python3.9/site-packages/pscheduler/text.py", line 272, in result_format_method
return _format_method(template,
File "/usr/lib/python3.9/site-packages/pscheduler/text.py", line 251, in _format_method
succeed(jinja2_format(template, json_stripped, strip=True))
File "/usr/lib/python3.9/site-packages/pscheduler/text.py", line 171, in jinja2_format
finished = j2.from_string(HEADER + template).render(info)
File "/usr/lib/python3.9/site-packages/jinja2/environment.py", line 1090, in render
self.environment.handle_exception()
File "/usr/lib/python3.9/site-packages/jinja2/environment.py", line 832, in handle_exception
reraise(*rewrite_traceback_stack(source=source))
File "/usr/lib/python3.9/site-packages/jinja2/_compat.py", line 28, in reraise
raise value.with_traceback(tb)
File "<template>", line 17, in top-level template code
File "/usr/lib/python3.9/site-packages/pscheduler/text.py", line 148, in iso8601_duration_seconds_helper
delta = iso8601_as_timedelta(duration)
File "/usr/lib/python3.9/site-packages/pscheduler/iso8601.py", line 15, in iso8601_as_timedelta
duration = isodate.parse_duration(iso)
File "/usr/lib/python3.9/site-packages/isodate/isoduration.py", line 86, in parse_duration
raise TypeError("Expecting a string %r" % datestring)
TypeError: Expecting a string Undefined
Probably passing a wrong value somewhere.
Result that caused this:
The text was updated successfully, but these errors were encountered: