[Loris-dev] Issues with landing page, data query and BrainBrowser

Morales Pinzon, Alfredo AMORALESPINZON at BWH.HARVARD.EDU
Wed Jan 6 12:29:51 EST 2021


Dear LorisDev team,

We are experiencing the following issues in Loris. Could you please help me or guide me on how address them.

1. After login into LORIS, the webpage does not allow the user to go to any link until the graph under "Study Progression" is created. This is taking more than one minute to load. I guess this is because we have hundreds of centers. Is it possible to remove the graph from the landing page? (See attachment)



2. When using the Data Query Tool the front-end crashes with error 500.

This is what I can see in the loris-error.log

===
[Wed Jan 06 12:23:31.920274 2021] [php7:error] [pid 12100] [client 216.15.126.108:56023] PHP Fatal error:  Uncaught ConfigurationException: NDB_Factory::CouchDB() requires all parameters to be supplied. in /var/www/loris/php/libraries/NDB_Factory.class.inc:297\nStack trace:\n#0 /var/www/loris/modules/dataquery/php/dataquery.class.inc(59): NDB_Factory->couchDB('%COUCH_DATABASE...', '%COUCH_HOSTNAME...', 0, '%COUCH_USERNAME...', '%COUCH_PASSWORD...')\n#1 /var/www/loris/php/libraries/NDB_Form.class.inc(188): LORIS\\dataquery\\Dataquery->setup()\n#2 /var/www/loris/src/Middleware/UserPageDecorationMiddleware.php(171): NDB_Form->handle(Object(Zend\\Diactoros\\ServerRequest))\n#3 /var/www/loris/src/Middleware/PageDecorationMiddleware.php(49): LORIS\\Middleware\\UserPageDecorationMiddleware->process(Object(Zend\\Diactoros\\ServerRequest), Object(LORIS\\dataquery\\Dataquery))\n#4 /var/www/loris/php/libraries/NDB_Page.class.inc(659): LORIS\\Middleware\\PageDecorationMiddleware->process(Object(Zend\\Diactoros\\ServerRequest), Object(LORIS\\dataquery\\Dataquery))\n#5 /var/www/loris/php/libraries/Module.class.inc(341): NDB_Page->process(Object(Zend\\ in /var/www/loris/php/libraries/NDB_Factory.class.inc on line 297, referer: https://ipmsa-loris.bic.mni.mcgill.ca/imaging_browser/viewSession/?sessionID=85935
===



3. In the statistics section (Reports -> Statistics) I can see the following message at the bottom of the page:

===
Oops

It seems like the scan type selected does not have a corresponding column in the mri_parameter_form table in the database.
In order to display the statistics for the scan type, make sure the mri_parameter_form table contains a column in the exact format SCANTYPE_Scan_done

===

In the loris-error.log a see a large list of the following messages:

===
[Wed Jan 06 12:26:24.730900 2021] [php7:notice] [pid 25824] [client 216.15.126.108:56738] PHP Notice:  Undefined index: Female in /var/www/loris/modules/statistics/php/stats_demographic.class.inc on line 137, referer: https://ipmsa-loris.bic.mni.mcgill.ca/statistics/
[Wed Jan 06 12:26:24.730935 2021] [php7:notice] [pid 25824] [client 216.15.126.108:56738] PHP Notice:  Undefined index: OLYMPUS_CLINICAL_SCREENING in /var/www/loris/modules/statistics/php/stats_demographic.class.inc on line 133, referer: https://ipmsa-loris.bic.mni.mcgill.ca/statistics/
[Wed Jan 06 12:26:24.730944 2021] [php7:notice] [pid 25824] [client 216.15.126.108:56738] PHP Notice:  Undefined index: Male in /var/www/loris/modules/statistics/php/stats_demographic.class.inc on line 133, referer: https://ipmsa-loris.bic.mni.mcgill.ca/statistics/
===


4. I am not able to visualiza any image. A message “LOADING …” appears but nothing happens.
Looking at the loris-error.log I can see that the path to the images is missing a ‘/‘

===
PHP Warning:  readfile(/data_/ipmsa/loris_data/IPMSA/dataassembly/343633/baseline/mri/native/IPMSA_343633_baseline_flair_001.mnc): failed to open stream: No such file or directory in /var/www/loris/modules/brainbrowser/ajax/image.php on line 56, referer: https://ipmsa-loris.bic.mni.mcgill.ca/brainbrowser/?minc_id=[112603]
===

Do you know where can this missing ‘/‘ should be set?

Thank you in advance for your help.

Best regards,
Alfredo.

[cid:385AE0BA-DCBF-4FFF-985B-4DD28B51BCFD]
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 http://www.massgeneralbrigham.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.bic.mni.mcgill.ca/pipermail/loris-dev/attachments/20210106/c7f65ede/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: StudyProgessionGraph.png
Type: image/png
Size: 65647 bytes
Desc: StudyProgessionGraph.png
URL: <http://mailman.bic.mni.mcgill.ca/pipermail/loris-dev/attachments/20210106/c7f65ede/attachment-0001.png>


More information about the Loris-dev mailing list