<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Tahoma",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Tahoma",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Tahoma",sans-serif;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-CA" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">I’ve been trying to track down a problem with loading of download summary table visualization on abstract pages and I can’t seem to figure it out.
<o:p></o:p></p>
<p class="MsoNormal">The problem only seems to appear in Google Chrome, on Firefox and Edge all is well.<o:p></o:p></p>
<p class="MsoNormal">On Chrome, however, the graph visualizations don’t appear on the abstract pages, most of the time.<o:p></o:p></p>
<p class="MsoNormal">Clicking on “Reload” will make it appear every now and again, so the issue is intermittent to some extent; but mostly the loader just keeps spinning and it doesn’t appear.<o:p></o:p></p>
<p class="MsoNormal">I have tried to track down the issue, and as far as I see, the XHR call to getData works fine, and data is returned without problems, and passed to the correct functions.<o:p></o:p></p>
<p class="MsoNormal">The problem appears right at this line:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> var data = new google.visualization.DataTable();<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">So line 328 in this file: <a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprints%2Firstats2%2Fblob%2F74ce563ff855f7ba9702c4cd98532e95a17166a3%2Flib%2Fstatic%2Fjavascript%2Fauto%2F90_irstats2.js%23L328&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cdd87a7b41886432cdcc408d813c11749%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=EGVaZLiAZXeJcJhHxXZ%2Fz27zWtiiXRyO1IJDLW18oMU%3D&reserved=0" originalSrc="https://github.com/eprints/irstats2/blob/74ce563ff855f7ba9702c4cd98532e95a17166a3/lib/static/javascript/auto/90_irstats2.js#L328" shash="LRZ7gVQhOwDlPM7ckO1oOOWafK9+tDwXBdBbGaRAeoq4IcVfR7MF5+wM8pmm2UQqpp5JKpPkiTg+jH9WgGjSp5Gi5pZ8HMlGQ7ZlFlImOWeFeg7fCxBfnqrSC+cx8PEbVhmaNZHl05+Y4P17P4klf8OoQwCsc7YarciPWGJ299E=">
https://github.com/eprints/irstats2/blob/74ce563ff855f7ba9702c4cd98532e95a17166a3/lib/static/javascript/auto/90_irstats2.js#L328</a>
<o:p></o:p></p>
<p class="MsoNormal">When I put a “Break” (in the debugger in the browser) on this line, I see that it is reached, and the retrieved data (about downloads) is there in the function, but the browser almost never comes back from this line and reaches no subsequent
break points. Sometimes it does come back, reaches the next line, and then stops, and then sometimes, it does keep going to the end and then the graph does display.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I tried disabling the CoreRecommender, as there are some warnings in Chrome about SameSite settings/cookies on that (not sure what that is all about either), in case that was the cause, but it didn’t change anything. I also tried changing
how Google Charts / JSAPI is included/loaded, the version number of the library, but nothing seems to fix it.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Any ideas? Do you display a chart of downloads on abstract pages, and is it working well in Chrome?
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Tomasz<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="background:white"><span style="font-size:8.0pt;font-family:"Courier New";color:#A6A6A6">________________________________________________</span><span style="font-family:"Calibri",sans-serif;color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:17.85pt;background:white">
<span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:black">Tomasz Neugebauer<br>
Digital Proj</span><span lang="FR-CA" style="font-size:9.0pt;font-family:"Arial",sans-serif;color:black">ects & Systems Development Librarian / Bibliothécaire des Projets Numériques & Développement de Systèmes<br>
Library / Bibliothèque<br>
Concordia University / Université Concordia</span><span lang="FR-CA" style="font-family:"Calibri",sans-serif;color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:17.85pt;background:white">
<span lang="FR-CA" style="font-size:9.0pt;font-family:"Arial",sans-serif;color:black">Tel. / Tél. 514-848-2424 ext. / poste 7738<br>
Email / courriel: </span><span style="font-family:"Calibri",sans-serif;color:#212121"><a href="mailto:tomasz.neugebauer@concordia.ca" target="_blank"><span lang="FR-CA" style="font-size:9.0pt;font-family:"Arial",sans-serif;color:windowtext">tomasz.neugebauer@concordia.ca</span></a></span><span lang="FR-CA" style="font-family:"Calibri",sans-serif;color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:17.85pt;background:white">
<u><span lang="IT" style="font-size:9.0pt;font-family:"Arial",sans-serif;color:purple"><a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.concordia.ca%2Ffaculty%2Ftomasz-neugebauer.html&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cdd87a7b41886432cdcc408d813c11749%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=YML98h7ae1Ls07xFAwwkPQAtGuhKl6l4pXc6pNu%2Fdw4%3D&reserved=0" originalSrc="http://www.concordia.ca/faculty/tomasz-neugebauer.html" shash="DChtaAWcaMhVjA/szseGHpI5CcfOmw/Ow+rdHHaeTdaw7tO0D0Cu5W/W1tvVjhoS5Bir5/Bxvb0QqIHEBOUWR4BQS37lPfYk71EDvN0fjSRVsdRiu4vzTrAIaoxsUQfA7meJdPKfxD92QtKgwp0ed060qqIAS0OfPQYZwsn2PdY="><span lang="FR-CA" style="color:windowtext">www.concordia.ca/faculty/tomasz-neugebauer.html</span></a></span></u><u><span lang="FR-CA" style="font-family:"Calibri",sans-serif;color:#212121"><o:p></o:p></span></u></p>
<p class="MsoNormal" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:17.85pt;background:white">
<span lang="FR-CA" style="font-size:9.0pt;font-family:"Arial",sans-serif;color:black">Mailing address / adresse postale: 1455 De Maisonneuve Blvd. W., LB-540-03, Montreal, Quebec H3G 1M8<br>
Street address / adresse municipale: 1400 De Maisonneuve Blvd. W., LB-540-03, Montreal, Quebec H3G 1M8</span><span lang="FR-CA" style="font-family:"Calibri",sans-serif;color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:17.85pt;background:white">
<u><span lang="IT" style="font-size:9.0pt;font-family:"Arial",sans-serif;color:purple">library.concordia.ca<o:p></o:p></span></u></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>