Unable to delete "undefined" session

126 views
Skip to first unread message

Andy Shieh

unread,
Sep 18, 2021, 9:58:31 PM9/18/21
to xnat_discussion
Dear all,

I recently ran into a problem where XNAT wouldn't let me delete a session which seems to be "ill-defined".
This is a session created automatically by our own in house upload script that walks through our DICOM collections and upload using the service import API.
This session initially only had a single scan which is a non standard DICOM report format which is probably why it broke the session.
I was able to delete the scan.
However when tryin to delete the session using the delete function, I got "Failed to delete undefined". (see attached).
If I go the subject view, I can see this session, but there is no link to click into this session. The only way for me to get into this session is to search for its session label.

Is there any other way I can delete this session? Would deleting this session from certain database tables be safe (I do not need this session at all anymore).

Thank you!

Untitled.png

Moore, Charlie

unread,
Sep 20, 2021, 9:44:28 AM9/20/21
to xnat_di...@googlegroups.com
Hello,

That looks like the same issue as this thread: https://groups.google.com/g/xnat_discussion/c/PUwk9Dk8_gw  . The best way would be to find the data type of the session and go through the steps I listed there. If that fails, another workaround would be:
  1. Go to the subject​ page for this problem session.
  2. Download the XML for the subject.
  3. Edit the XML by removing the problem session from the experiments section.
  4. Reupload the XML via Upload > XML.
Thanks,
Charlie

From: xnat_di...@googlegroups.com <xnat_di...@googlegroups.com> on behalf of Andy Shieh <andy....@snac.com.au>
Sent: Saturday, September 18, 2021 8:58 PM
To: xnat_discussion <xnat_di...@googlegroups.com>
Subject: [XNAT Discussion] Unable to delete "undefined" session
 

* External Email - Caution *

--
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 on the web visit https://groups.google.com/d/msgid/xnat_discussion/eba065ae-1c05-4da8-8872-45a2b47fad8an%40googlegroups.com.

 


The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail.

Andy Shieh

unread,
Sep 21, 2021, 7:46:03 AM9/21/21
to xnat_di...@googlegroups.com
Thank you Charlie. Adding the data type for that session did indeed fix the problem for me! Cheers.

You received this message because you are subscribed to a topic in the Google Groups "xnat_discussion" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/xnat_discussion/Yky74IrUZAg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to xnat_discussi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/xnat_discussion/CH2PR02MB67109F8A6BCDC4907973DC1BFEA09%40CH2PR02MB6710.namprd02.prod.outlook.com.


--
Andy Shieh , PhD | Chief Software Architect
Sydney Neuroimaging Analysis Centre
94 Mallett Street, Camperdown NSW 2050
Mobile: +61-411-790-746 | Phone:  +61-2-9114 4236 | Fax: +61-293510653 | andy....@snac.com.au

This email and any files transmitted with it are confidential and may be privileged information that is intended only for the individual or entity named in the email address. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. SNAC will NOT accept liability in connection with any computer virus, data corruption, delay or interruption and do not warrant that this email and its attachments are free from unauthorised amendment or other defect.
Reply all
Reply to author
Forward
0 new messages