archive REST API won't work

12 views
Skip to first unread message

Yuqian Liu

unread,
8:59 AM (5 hours ago) 8:59 AM
to xnat_discussion
Hi,

I am trying to use API to archive but got error of missing a file. Did I send the correct request?

Thanks
Yuqian


<html>
<head>
   <title>Status page</title>
</head>
<body>
<h3>FAILED: Unable to archive 259165: java.io.FileNotFoundException: /vuiisxnat/xnat1_6/prearchive/JEFFERSONVMAP/20251205_074807453/259165.xml (No such file or directory)</h3><p>You can get technical details <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.5.1">here</a>.<br>
Please continue your visit at our <a href="/">home page</a>.
</p>
</body>
</html>

Timothy Olsen

unread,
9:39 AM (4 hours ago) 9:39 AM
to xnat_di...@googlegroups.com
If you navigate to the prearchive in the website, does that session show up?  And is it in a 'Ready' status?
Tim

Timothy R Olsen 

Founder, President




--
You received this message because you are subscribed to the Google Groups "xnat_discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xnat_discussi...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/xnat_discussion/36944e20-4047-4b13-b905-7f100759ae41n%40googlegroups.com.

Yuqian Liu

unread,
9:49 AM (4 hours ago) 9:49 AM
to xnat_discussion
Thank you so much for response.

This one is not in READY. I can try later.

I have another test case which is in READY but it is Unassiged project; I did the following request, also got error.


<html>
<head>
   <title>Status page</title>
</head>
<body>
<h3>org.nrg.xnat.helpers.uri.archive.impl.ProjURI</h3><p>You can get technical details <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.5.1">here</a>.<br>

Please continue your visit at our <a href="/">home page</a>.
</p>
</body>
</html>

Timothy Olsen

unread,
9:51 AM (4 hours ago) 9:51 AM
to xnat_di...@googlegroups.com
If I remember right, you can only archive sessions that are in a project in the prearchive and have a Ready status.  You'd need to first move the session from Unassigned to the right project, and then archive it.  For the one that isn't in Ready status, you could click the Build button to try to reset it to Ready.

All the best,
Tim

Timothy R Olsen 

Founder, President



Yuqian Liu

unread,
10:08 AM (4 hours ago) 10:08 AM
to xnat_discussion
Thank you so much! Rebuilt a RECEIVING session/assign a project to Uassigned session worked for these two requests.

Thanks agian
Yuqian

Reply all
Reply to author
Forward
0 new messages