Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dicomLoader] Confusing error for already converted upload #1124

Open
maximemulder opened this issue May 10, 2024 · 0 comments
Open

[dicomLoader] Confusing error for already converted upload #1124

maximemulder opened this issue May 10, 2024 · 0 comments
Labels

Comments

@maximemulder
Copy link
Contributor

I got a confusing error when I ran dicomLoader.pl on an already converted DICOM. First, I got the error after the whole conversion was done, and second, no useful information was printed into the console.

(loris-mri-python) lorisadmin@mmulder-test-26:/data/testing$ /opt/Loris-MRI/bin/mri/uploadNeuroDB/tarchiveLoader.pl -profile prod -uploadID 131 2008/DCM_2008-07-31_DCC090_587630_V2.tar
...
 ProjectID is:
PSCID is: DCC090
 CandID id: 587630
 visit_label is: V2

 ProjectID is:
PSCID is: DCC090
 CandID id: 587630
 visit_label is: V2

 ProjectID is:

  --> The minc file cannot be registered since unknown does not exist in prod or it did not pass the extra_file_checks
Use of uninitialized value $mail_user in concatenation (.) or string at /opt/Loris-MRI/bin/mri/uploadNeuroDB/tarchiveLoader.pl line 643.
mail: Cannot open mailbox /var/mail/lorisadmin: No such file or directory
No mail for lorisadmin

 No Mincs inserted

(loris-mri-python) lorisadmin@mmulder-test-26:/data/testing$ 

Obviously my mailbox is not well configured, but having a better error message in the console would be nice. However, I think it is a pretty minor bug and should not be a blocker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant