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
[P:1] [error] [T:10] op_write: Could not open data object for write.
Relevant code:
// TODO(#61): figure out why writing to a resource makes test fail// Message from logs: could not open data object for write// Create a data object targeting the replication resource.byte[] contents = "hello, iRODS HTTP API!".getBytes();
DataObjectWriteParamswriteParams = newDataObjectWriteParams();
writeParams.setResource(rescRepl);
writeParams.setOffset(0);
res = rods.dataObject().write(rodsToken, dataObject, contents, writeParams);
Running the request without this line:
writeParams.setResource(rescRepl);
works without any problems, so I'm thinking the problem is with writing to the resource.
The text was updated successfully, but these errors were encountered:
Message in logs:
Relevant code:
Running the request without this line:
works without any problems, so I'm thinking the problem is with writing to the resource.
The text was updated successfully, but these errors were encountered: