<div dir="ltr">Hello,<div><br></div><div>Regarding your first question. As Dave mentioned we haven't experienced any issues with loading when we click on the link/site under the graph. We did however noticed some formatting issues which should be fixed in the new version of LORIS but nothing related to the loading functionality.</div><div><br></div><div><br></div><div>Thank you</div><div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jan 6, 2021 at 12:51 PM Dave MacFarlane <<a href="mailto:dave.macfarlane@mcin.ca" target="_blank">dave.macfarlane@mcin.ca</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">On Wed, Jan 6, 2021 at 12:30 PM Morales Pinzon, Alfredo <<a href="mailto:AMORALESPINZON@bwh.harvard.edu" target="_blank">AMORALESPINZON@bwh.harvard.edu</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div>
<div>Dear LorisDev team,</div>
<div><br>
</div>
<div>We are experiencing the following issues in Loris. Could you please help me or guide me on how address them.</div>
<div><br>
</div>
<div>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)</div>
<div><br></div></div></blockquote><div><br></div><div>I don't believe it should take that long even with a large number of sites. I'll let someone from CCNA handle this part of the question since they also have hundreds of sites and might have more insight..</div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>2. When using the Data Query Tool the front-end crashes with error 500.</div>
<div><br>
</div>
<div>
<div>This is what I can see in the loris-error.log</div>
<div><br>
</div>
<div>===</div>
<div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures;background-color:rgb(19,150,163)">[</span><span style="font-variant-ligatures:no-common-ligatures">Wed Jan 06 12:23:31.920274 2021</span><span style="font-variant-ligatures:no-common-ligatures;background-color:rgb(19,150,163)">]</span><span style="font-variant-ligatures:no-common-ligatures"> [php7:error]
 [pid 12100] [client <a href="http://216.15.126.108:56023" target="_blank">216.15.126.108:56023</a>] 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: <a href="https://ipmsa-loris.bic.mni.mcgill.ca/imaging_browser/viewSession/?sessionID=85935" target="_blank">
https://ipmsa-loris.bic.mni.mcgill.ca/imaging_browser/viewSession/?sessionID=85935</a></span></div>
</div>
<div>===</div>
</div>
<div><br></div></div></blockquote><div><br></div><div>The DQT currently requires a CouchDB backend with the data imported into it. It looks like the CouchDB hostname/database/username/ password/etc aren't set up. The Configurations section of the file modules/dataquery/README.md should have more information about the setup required. Is the `<CouchDB>` tag in project/config.xml setup as described in step 3 of that document? <br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>3. In the statistics section (Reports -> Statistics) I can see the following message at the bottom of the page:</div>
<div><br>
</div>
<div>===</div>
<div>
<h2 style="box-sizing:border-box;margin-bottom:10px;font-weight:500;margin-top:20px;color:rgb(51,51,51);font-size:30px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;line-height:1.1;font-variant-ligatures:normal;background-color:rgb(255,255,255)">
Oops</h2>
<p style="box-sizing:border-box;margin:0px 0px 10px;color:rgb(51,51,51);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;font-variant-ligatures:normal;background-color:rgb(255,255,255)">
It seems like the scan type selected does not have a corresponding column in the mri_parameter_form table in the database.<br style="box-sizing:border-box">
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</p>
</div>
<div>===</div>
<div><br></div></div></blockquote><div><br></div><div>The statistics page using an instrument named "mri_parameter_form" to determine numbers for the scan done. For each scan type in the mri_scan_types table* it expects there to be a column named "SCANTYPE_Scan_Done" to use for reporting statistics. I believe there's somewhere in the MRI documentation that goes into more depth but I'm not entirely sure where, maybe Cecile can chime in..<br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div>
</div>
<div>In the loris-error.log a see a large list of the following messages:</div>
<div><br>
</div>
<div>===</div>
<div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures">[Wed Jan 06 12:26:24.730900 2021] [php7:notice] [pid 25824] [client <a href="http://216.15.126.108:56738" target="_blank">216.15.126.108:56738</a>] PHP Notice:  Undefined index: Female in /var/www/loris/modules/statistics/php/stats_demographic.class.inc
 on line 137, referer: <a href="https://ipmsa-loris.bic.mni.mcgill.ca/statistics/" target="_blank">
https://ipmsa-loris.bic.mni.mcgill.ca/statistics/</a></span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures">[Wed Jan 06 12:26:24.730935 2021] [php7:notice] [pid 25824] [client <a href="http://216.15.126.108:56738" target="_blank">216.15.126.108:56738</a>] PHP Notice:  Undefined index: OLYMPUS_CLINICAL_SCREENING in /var/www/loris/modules/statistics/php/stats_demographic.class.inc
 on line 133, referer: <a href="https://ipmsa-loris.bic.mni.mcgill.ca/statistics/" target="_blank">
https://ipmsa-loris.bic.mni.mcgill.ca/statistics/</a></span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures">[Wed Jan 06 12:26:24.730944 2021] [php7:notice] [pid 25824] [client <a href="http://216.15.126.108:56738" target="_blank">216.15.126.108:56738</a>] PHP Notice:  Undefined index: Male in /var/www/loris/modules/statistics/php/stats_demographic.class.inc
 on line 133, referer: <a href="https://ipmsa-loris.bic.mni.mcgill.ca/statistics/" target="_blank">
https://ipmsa-loris.bic.mni.mcgill.ca/statistics/</a></span></div>
</div>
<div>===</div>
<div><br></div></div></blockquote><div><br></div><div>What version of LORIS is this? I think the notices are unrelated and probably harmless but should still be fixed if they haven't been yet.</div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div>
</div>
<div><br>
</div>
<div>4. I am not able to visualiza any image. A message “LOADING …” appears but nothing happens. </div>
<div>Looking at the loris-error.log I can see that the path to the images is missing a ‘/‘</div>
<div><br>
</div>
<div>===</div>
<div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures">PHP Warning:  readfile(/data_/ipmsa/loris_data/IPMSA/<span style="background-color:rgb(255,0,0)">dataassembly</span>/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:
<a href="https://ipmsa-loris.bic.mni.mcgill.ca/brainbrowser/?minc_id=[112603" target="_blank">
https://ipmsa-loris.bic.mni.mcgill.ca/brainbrowser/?minc_id=[112603</a>]</span></div>
</div>
<div><span style="color:rgb(0,0,0)">===</span></div>
<div><span style="color:rgb(0,0,0)"><br>
</span></div>
<div><font color="#000000">Do you know where can this missing ‘/‘ should be set?</font></div>
<div><br></div></div></blockquote><div><br></div><div>It looks like that code is using the imagePath configuration variable which should have a trailing /.  It should be the configuration option labeled "Path to images for display in Imaging Browser (e.g. /data/$project/data/)" in the Configuration module frontend.</div><div><br></div></div><div class="gmail_quote">- Dave<br></div></div>
_______________________________________________<br>
Loris-dev mailing list<br>
<a href="mailto:Loris-dev@bic.mni.mcgill.ca" target="_blank">Loris-dev@bic.mni.mcgill.ca</a><br>
<a href="https://mailman.bic.mni.mcgill.ca/mailman/listinfo/loris-dev" rel="noreferrer" target="_blank">https://mailman.bic.mni.mcgill.ca/mailman/listinfo/loris-dev</a><br>
</blockquote></div></div>