[Loris-dev] Data insertion problem

Mouna Safi-Harab mouna.safi-harb at mail.mcgill.ca
Mon Jul 23 13:12:38 EDT 2018


Hi Ali,


Based on your screenshots,


1) it looks like your scans are being uploaded into the `/tmp/` directory. So if you want them to go to `/data/incoming`/, can you please configure the MRI-Upload Directory in the Configuration module, under the Path submenu, to read /data/incoming/, and ensure this path is accessible and writable by the front end user


2) it looks like some dependencies are missing in your install; can you please refer to Installation Troubleshooting Notes in: https://github.com/aces/Loris/wiki/Imaging-Database (there is a section on missing dependencies, and the ones in the example on the Wiki seem to be the ones you are missing as well)



3) Setting/Not setting up the instruments should not impact your scan insertion workflow


Let me know if this answers your questions!


- Mouna



________________________________
From: loris-dev-bounces at bic.mni.mcgill.ca <loris-dev-bounces at bic.mni.mcgill.ca> on behalf of Ali Aarefi <aliaarefi1997 at gmail.com>
Sent: Sunday, July 22, 2018 11:54:34 AM
To: loris-dev at bic.mni.mcgill.ca
Subject: [Loris-dev] Data insertion problem

Dear LORIS support team,
I'm a research assistant at NIAG (Neuro Imaging and Analysis Group) at NeuroImaging Center, Imam Khomeini Hospital, Tehran, Iran as a part of TUMS (Tehran University of Medical Science).

We've been trying to upload DICOM files using imaging uploader on our already installed LORIS server but we faced some problems.

All of following sections were done successfully with respect to github wiki page:
1. Installing loris
2. Project customization

Third section (Behavioural database) ignored (does it matter?)

And in the fourth section (imaging database) the subsections mentioned below was done successfully:
1. Install the imaging pipeline codebase
2. Setup imaging insertion scripts
3. Loading a scan into loris

In this subsection, while executing post-upload script (pre-processing and insertion into loris) an error has occurred in line 19 in imaging_upload_file.pl<http://imaging_upload_file.pl> with this following message:


command : uploadNeuroDB/imaging_upload_file.pl<http://imaging_upload_file.pl> -profile prod -verbose -upload_id 1 ~/Desktop/MTL0000_336898_V1.zip # we know that the .zip file should be in /data/incoming , but after loading the scan into loris, this directory kept empty !

```
Can't locate DBI.pm in @INC (you may need to install the DBI module) (@INC contains: /data/project-name/bin/mri/uploadNeuroDB /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /data/project-name/bin/mri/uploadNeuroDB/NeuroDB/DBI.pm line 19.
BEGIN failed--compilation aborted at /data/project-name/bin/mri/uploadNeuroDB/NeuroDB/DBI.pm line 19.
Compilation failed in require at uploadNeuroDB/imaging_upload_file.pl<http://imaging_upload_file.pl> line 19.
BEGIN failed--compilation aborted at uploadNeuroDB/imaging_upload_file.pl<http://imaging_upload_file.pl> line 19.
```

And also the /data/incoming directory is empty (the uploaded file that was assigned an upload_id, doesn't exist in this directory)

Some other information that might be useful:
- The upload successful pop-up message was shown in imaging uploader module.
- upload_id was assigned to our upload tries.
- In the imaging uploader, there is no progress status.
- In the server processes manager module, some columns are meaningless like error codes with respect to loris documents.

Some screenshots attacked to this email for more information.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.bic.mni.mcgill.ca/pipermail/loris-dev/attachments/20180723/74c1edaa/attachment.html>


More information about the Loris-dev mailing list