Closed fgretief closed 1 year ago
Hi,
The way file transfer options (such as reliable
) get sent has changed. Although the REST API still supports (for now) the old method for backwards compatibility, the new versions of the Python client only sends them the new way: via the options
parameter (described here).
You could either upgrade the server to Yamcs 5.7.13, or use an older version of the Python client.
(uploadOptions
and downloadOptions
in the API are deprecated since 5.7.10, and overwrite
, parents
and reliable
are deprecated in the Python client since 1.8.7)
Some of our Python scripts stopped uploading files using CFDP class 2 after a yamcs-client upgrade from v1.8.4 to v1.8.8. The Python scripts now use CFDP class 1 only.
Our production server is Yamcs v5.7.9.2.
The Yamcs web interface still upload files CFDP class 2 when the "reliable" checkbox is selected. And I verified that the HTTP API is still working correctly. See code below.
The following Python snippet stopped working in v1.8.8:
The following code still works on v1.8.8: