Itās not easily reproducible, but occasionally I open a sutta and the page is blank until I refresh it. Sorry that this is rather non-specificā¦
Huh, well thatās a new one! I can see the same bug, so it must be a glitch in the coding of the the files, I guess. @Blake, can you check this and see whether the latest export from Pootle might have caused this?
If this happens again, before refreshing, can you open the browser āinspectā tools, go to the āconsoleā tab and see if it says anything?
You mean this sort of message?
Failed to load SuttaCentral
_=1527557675147: No āAccess-Control-Allow-Originā header is present on the requested resource. Origin āhttps://discourse.suttacentral.netā is therefore not allowed access.
That was on the console, but Iām not sure from when, and it may be completely irrelevantā¦
Indeed.
Okay so this is the forum, not the main site. Is this what you meant in your original post? I too have noticed this occasionally on Discourse. We do not build this software, we just run it. I assume it is a bug and will be fixed in an upgrade at some point.
OK, as I said, I wasnāt sure when that message was generated.
What I was referring to was clicking a link to a sutta, and having a blank screen, which came right when I refreshed. Now I know how to find the information you want, I can look for it if it happens again.
I suspect it happens when my internet connection is a bit slow, but Iām really not sure.
Actually, looking back, it looks like it was trying to load:
https://suttacentral.net/sutta_info/sn45.1?lang=en&298:100:
Itās in line 747 of the output file:
#. </p><p> BhagavÄ avoca #. <a class="pts-cs" id="pts-cs18"></a> #. <a class="pts-vp-pli" id="pts-vp-pli1.185"></a> #. <a class="sc" id="sc21"></a> msgctxt "dn9:18.1" msgid "Taį¹ kiį¹ maƱƱasi, poį¹į¹hapÄda, " msgstr "What do you think, Poį¹į¹hapÄda? "
There is a rogue BhagavÄ avoca
in the comments section.
OK, I think it turns out that my problem is just a slow network, and if I wait long enough it loads. Here were the errors while loading: SuttaCentral
[Deprecation] Styling master document from stylesheets defined in HTML Imports is deprecated. Please refer to GitHub - TakayoshiKochi/deprecate-style-in-html-imports: Deprecating/Removing <style> application from HTML Imports for possible migration paths.
sujato:1 Slow network is detected. See Chrome Platform Status for more details. Fallback font will be used while loading: https://suttacentral.net/files/fonts/SkolarPE-Regular_3.005.woff2
sujato:1 Slow network is detected. See Chrome Platform Status for more details. Fallback font will be used while loading: https://suttacentral.net/files/fonts/SkolarSansPE-Bd_2.001.woff2
sujato:1 Slow network is detected. See Chrome Platform Status for more details. Fallback font will be used while loading: https://suttacentral.net/files/fonts/SkolarSansPE-Rg_2.004.woff2
https://suttacentral.net/iti16/en/ireland
as wise attentionfor a bhikkhu who is a learner
https://suttacentral.net/iti26/en/ireland
they would not eatwithout having shared it
missing space
https://suttacentral.net/iti41/en/ireland
Wisdom which leads to penetratioį¹
remove underdot
https://suttacentral.net/iti59/en/ireland
the domain of MÄraand shines like the sun. What are the three? Herein a bhikkhu is in possession of the non-learnerāsaggregate of virtue,
missing space
https://suttacentral.net/iti67/en/ireland
A sage possessing such perfectioį¹
underdot
https://suttacentral.net/iti80/en/ireland
A thought concerned with not being despised;a thought
space
https://suttacentral.net/iti83/en/ireland
and strong, not to be destroyedby any recluse
space
https://suttacentral.net/iti90/en/ireland
āWhatever statesthere are,
space
https://suttacentral.net/iti105/en/ireland
gaining this or losing thatthe craving
space
Thank you so much! Will make the changes to the Itivuttaka. The changes for Bhante @Sujatoās text he will have to look at.
Great Work on the new site. Much Metta!
To add to Stuās finding ā¦ after one highlights the text (text1), then highlights a new section of text (text2), non-showing of pali definition in text1 persists. This non functioning persists with future selections as well.
Keep up the great work!
The display for the badges page seems to not quite look right- text flows past the badge in some places, doesnāt wrap, and is too short to actually see what the badge is for in many cases.
Chrome on MacOS.
Yes, the css for the new theme is not that great. At some point we will look into it but have a lot of other things on our plate at the moment. However, you can always switch back to the old theme if you want in your settings.
No, this is caused by the way the abbreviations are handled. The translation is inheriting paragraphs from the Pali text, but has abbreviated a bunch of repetitions. My plan is to assess and adjust these issues at some point in the not too distant future. Hopefully such problems donāt occur too often.
Sorry, I canāt follow this; nor can I locate the message by Stu that youāre referring to. Can I ask for some more explanation?
Sorry for replying in the wrong place ā¦
This was referring to a post by Stu on March 20. I paste part of his original post below ā¦
Going to a page with a segment number (or clicking a segment number once in a page), e.g. SuttaCentral1
Settings: View textual information is on; side-by-side; Pali - English
Hovering over any pali word outside the selected segment works as expected and brings up the pali dictionary definition:
[picture from original post]
So the above is very cool, but hovering over a pali word inside the selected segment does not show a pali definition. I canāt supply a screenshot of that because PrtSc doesnāt show my cursor.
Windows 10 Pro; Version 1709; OS Build 166209.309
Google Chrome Version 65.0.3325.162 (Official Build) (64-bit)
Yes, you are right. We have noticed this too and have already an open issue ticket for this on GitHub:
I think at the moment itās best just to wait for P3 before trying to fix this bug.
Iām seeing a weird formatting glitch at SuttaCentral
with the side-by-side rendering getting jumbled into multiple columns with interleaved English and Pali.
(Window 10, Chrome)
I canāt see this in the page you link to. Did you try refreshing the page?
I also donāt see it anymore.