Hi Vittal, I tested your license file and it's fine. Are you sure it's in the right place? What's the output of `cat /usr/local/freesurfer/license.txt`?
It also looks like QDEC is trying to write to `/usr/local/freesurfer/subjects/qdec/Untitled/contrasts.sig.mgh` do you have permissions to write there? I'd suggest creating a FreeSurfer subjects directory under your home and setting the SUBJECTS_DIR environment variable accordingly, e.g. mkdir ~/fs-subjects export SUBJECTS_DIR="${HOME}/fs-subjects" -Paul ________________________________________ From: freesurfer-boun...@nmr.mgh.harvard.edu <freesurfer-boun...@nmr.mgh.harvard.edu> on behalf of vittal korann <vittalkor...@gmail.com> Sent: Friday, February 24, 2023 11:56 AM To: Freesurfer support list Subject: Re: [Freesurfer] Failing to execute QDEC External Email - Use Caution Hi Freesurfer experts, I am looking forward to resolve this issue. Any help would be greatly appreciated! With regards, Vittal On Wed, Feb 22, 2023 at 3:13 PM vittal korann <vittalkor...@gmail.com<mailto:vittalkor...@gmail.com>> wrote: Hi Freesurfer experts, I am trying to run Qdec on schizophrenia pre and post intervention scans. I created .dat and .levels files within the qdec folders and loaded the .dat file into qdec gui. It is suddenly crashing when I select my design and hit the Analyze button. And the same error message copied below from the terminal. Writing to /usr/local/freesurfer/subjects/qdec/Untitled/contrasts.sig.mgh -------------------------------------------------------------------------- ERROR: Invalid FreeSurfer license key found in license file /usr/local/freesurfer/license.txt If you are outside the NMR-Martinos Center, go to MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be http://surfer.nmr.mgh.harvard.edu<http://secure-web.cisco.com/1uhHCIAivVgEW5Bm1C6V4wiOl6PpIl1vQPQwioRo0ISy7gTvmYGRiROjYvWNLIXP4TtQ-5sG7me0I1sCSqD-KDIHQCubfD6puAoIGdTVWRhkhxv6VU95sg_g_tTHIyfErQMIT7ZwXqVBkWyEFqVc6Bcqu111xCzBA3goA4Z9jX_VUNRjfypbFPpeLWe_6o5BzNg2utZJ_4-I4416ZHp5JZdrtv6rw-mpXRuOZJoSZKjmvFJ-XCpc7ngf0VZqJjezsNzwE-vzhDTK6mEoVbbHdnL8E2-M7n3jRreMhtc0XpTAMKGj7blsedGj2hZ3G3ob_71kTFSJq7oCcn0ddBBMWBA/http%3A%2F%2Fsurfer.nmr.mgh.harvard.edu> to get a valid license file (it's free). If you are inside the NMR-Martinos Center, make sure to source the standard environment. Even though I renewed my license file, the issue still persists. FYI I did use qdec in the past and am quite comfortable with it. Also, I attached my license file if anything is missing. Any help would be appreciated! With regards Vittal _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Mass General Brigham Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline <https://www.massgeneralbrigham.org/complianceline> . Please note that this e-mail is not secure (encrypted). If you do not wish to continue communication over unencrypted e-mail, please notify the sender of this message immediately. Continuing to send or respond to e-mail after receiving this message means you understand and accept this risk and wish to continue to communicate over unencrypted e-mail.