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
sadsfae
changed the title
QUADS 2.0.0 timedate / stacktrace on converting strptime for passing --date to M&R
QUADS 2.0.0 timedate / stacktrace on converting strptime for passing --date to move-hosts
Jun 19, 2024
[root@quads2-stage quads]# quads --move-hosts --dry-run --date "2024-06-19T14:02"
Traceback (most recent call last):
File "/usr/bin/quads", line 33, in <module>
sys.exit(load_entry_point('quads==2.0', 'console_scripts', 'quads')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/quads/cli/main.py", line 64, in main
_exit_code = qcli.run(
^^^^^^^^^
File "/usr/lib/python3.12/site-packages/quads/cli/cli.py", line 64, in run
exit_code = action_meth()
^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/quads/cli/cli.py", line 1504, in action_movehosts
date = datetime.strptime(self.cli_args.get("datearg"), "%Y-%m-%d %H:%M").isoformat()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/_strptime.py", line 554, in _strptime_datetime
tt, fraction, gmtoff_fraction = _strptime(data_string, format)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/_strptime.py", line 333, in _strptime
raise ValueError("time data %r does not match format %r" %
ValueError: time data '2024-06-19T14:02' does not match format '%Y-%m-%d %H:%M'
We're not able to get valid returns for `quads --move-hosts --dry-run --date "YYYY-MM-DD" like we can in 1.1 series:
2.0.0
1.1.8
Logs:
The text was updated successfully, but these errors were encountered: