SuttaCentral: bug reports

Ok I mananged to find the log

Bhante @sujato (Dhamma Greetings Bhante) Is there a developer that could look at this? Or any other logs that are needed I am happy to debug. I have been trying for months now, havn’t got it working.

Many thanks.
Quite Dhamma.

8238.f7c5c20c1c7dde5e7f37.js:1          GET https://suttacentral.net/api/suttaplex/sa301-400?language=en 500
(anonymous) @ 8238.f7c5c20c1c7dde5e7f37.js:1
(anonymous) @ 3309.bf17e7b05ccde1ac2edc.js:27
n @ 3309.bf17e7b05ccde1ac2edc.js:27
defer @ 3309.bf17e7b05ccde1ac2edc.js:27
(anonymous) @ 8238.f7c5c20c1c7dde5e7f37.js:1
_cacheAllItems @ 8238.f7c5c20c1c7dde5e7f37.js:1
(anonymous) @ 8238.f7c5c20c1c7dde5e7f37.js:1
Promise.then (async)
makeOffline @ 8238.f7c5c20c1c7dde5e7f37.js:1
handleEvent @ main.eabf9bae4b8f43ea9530.js:203
c @ rocket-loader.min.js:1
8238.f7c5c20c1c7dde5e7f37.js:1 Error
    at _handleErrors (8238.f7c5c20c1c7dde5e7f37.js:1:7057)
(anonymous) @ 8238.f7c5c20c1c7dde5e7f37.js:1
Promise.catch (async)
(anonymous) @ 8238.f7c5c20c1c7dde5e7f37.js:1
(anonymous) @ 3309.bf17e7b05ccde1ac2edc.js:27
n @ 3309.bf17e7b05ccde1ac2edc.js:27
defer @ 3309.bf17e7b05ccde1ac2edc.js:27
(anonymous) @ 8238.f7c5c20c1c7dde5e7f37.js:1
_cacheAllItems @ 8238.f7c5c20c1c7dde5e7f37.js:1
(anonymous) @ 8238.f7c5c20c1c7dde5e7f37.js:1
Promise.then (async)
makeOffline @ 8238.f7c5c20c1c7dde5e7f37.js:1
handleEvent @ main.eabf9bae4b8f43ea9530.js:203
c @ rocket-loader.min.js:1
8238.f7c5c20c1c7dde5e7f37.js:1          GET https://suttacentral.net/api/suttaplex/sa101-200?language=en 500
(anonymous) @ 8238.f7c5c20c1c7dde5e7f37.js:1
(anonymous) @ 3309.bf17e7b05ccde1ac2edc.js:27
n @ 3309.bf17e7b05ccde1ac2edc.js:27
defer @ 3309.bf17e7b05ccde1ac2edc.js:27
(anonymous) @ 8238.f7c5c20c1c7dde5e7f37.js:1
_cacheAllItems @ 8238.f7c5c20c1c7dde5e7f37.js:1
(anonymous) @ 8238.f7c5c20c1c7dde5e7f37.js:1
Promise.then (async)
makeOffline @ 8238.f7c5c20c1c7dde5e7f37.js:1
handleEvent @ main.eabf9bae4b8f43ea9530.js:203
c @ rocket-loader.min.js:1
8238.f7c5c20c1c7dde5e7f37.js:1 Error
    at _handleErrors (8238.f7c5c20c1c7dde5e7f37.js:1:7057)
(anonymous) @ 8238.f7c5c20c1c7dde5e7f37.js:1
Promise.catch (async)
(anonymous) @ 8238.f7c5c20c1c7dde5e7f37.js:1
(anonymous) @ 3309.bf17e7b05ccde1ac2edc.js:27
n @ 3309.bf17e7b05ccde1ac2edc.js:27
defer @ 3309.bf17e7b05ccde1ac2edc.js:27
(anonymous) @ 8238.f7c5c20c1c7dde5e7f37.js:1
_cacheAllItems @ 8238.f7c5c20c1c7dde5e7f37.js:1
(anonymous) @ 8238.f7c5c20c1c7dde5e7f37.js:1
Promise.then (async)
makeOffline @ 8238.f7c5c20c1c7dde5e7f37.js:1
handleEvent @ main.eabf9bae4b8f43ea9530.js:203
c @ rocket-loader.min.js:1
8238.f7c5c20c1c7dde5e7f37.js:1          GET https://suttacentral.net/api/suttaplex/sa701-800?language=en 500
(anonymous) @ 8238.f7c5c20c1c7dde5e7f37.js:1
(anonymous) @ 3309.bf17e7b05ccde1ac2edc.js:27
n @ 3309.bf17e7b05ccde1ac2edc.js:27
defer @ 3309.bf17e7b05ccde1ac2edc.js:27
(anonymous) @ 8238.f7c5c20c1c7dde5e7f37.js:1
_cacheAllItems @ 8238.f7c5c20c1c7dde5e7f37.js:1
(anonymous) @ 8238.f7c5c20c1c7dde5e7f37.js:1
Promise.then (async)
makeOffline @ 8238.f7c5c20c1c7dde5e7f37.js:1
handleEvent @ main.eabf9bae4b8f43ea9530.js:203
c @ rocket-loader.min.js:1
8238.f7c5c20c1c7dde5e7f37.js:1 Error
    at _handleErrors (8238.f7c5c20c1c7dde5e7f37.js:1:7057)
(anonymous) @ 8238.f7c5c20c1c7dde5e7f37.js:1
Promise.catch (async)
(anonymous) @ 8238.f7c5c20c1c7dde5e7f37.js:1
(anonymous) @ 3309.bf17e7b05ccde1ac2edc.js:27
n @ 3309.bf17e7b05ccde1ac2edc.js:27
defer @ 3309.bf17e7b05ccde1ac2edc.js:27
(anonymous) @ 8238.f7c5c20c1c7dde5e7f37.js:1
_cacheAllItems @ 8238.f7c5c20c1c7dde5e7f37.js:1
(anonymous) @ 8238.f7c5c20c1c7dde5e7f37.js:1
Promise.then (async)
makeOffline @ 8238.f7c5c20c1c7dde5e7f37.js:1
handleEvent @ main.eabf9bae4b8f43ea9530.js:203
c @ rocket-loader.min.js:1
8238.f7c5c20c1c7dde5e7f37.js:1          GET https://suttacentral.net/api/suttaplex/sa801-900?language=en 500
(anonymous) @ 8238.f7c5c20c1c7dde5e7f37.js:1
(anonymous) @ 3309.bf17e7b05ccde1ac2edc.js:27
n @ 3309.bf17e7b05ccde1ac2edc.js:27
defer @ 3309.bf17e7b05ccde1ac2edc.js:27
(anonymous) @ 8238.f7c5c20c1c7dde5e7f37.js:1
_cacheAllItems @ 8238.f7c5c20c1c7dde5e7f37.js:1
(anonymous) @ 8238.f7c5c20c1c7dde5e7f37.js:1
Promise.then (async)
makeOffline @ 8238.f7c5c20c1c7dde5e7f37.js:1
handleEvent @ main.eabf9bae4b8f43ea9530.js:203
c @ rocket-loader.min.js:1
8238.f7c5c20c1c7dde5e7f37.js:1 Error
    at _handleErrors (8238.f7c5c20c1c7dde5e7f37.js:1:7057)
(anonymous) @ 8238.f7c5c20c1c7dde5e7f37.js:1
Promise.catch (async)
(anonymous) @ 8238.f7c5c20c1c7dde5e7f37.js:1
(anonymous) @ 3309.bf17e7b05ccde1ac2edc.js:27
n @ 3309.bf17e7b05ccde1ac2edc.js:27
defer @ 3309.bf17e7b05ccde1ac2edc.js:27
(anonymous) @ 8238.f7c5c20c1c7dde5e7f37.js:1
_cacheAllItems @ 8238.f7c5c20c1c7dde5e7f37.js:1
(anonymous) @ 8238.f7c5c20c1c7dde5e7f37.js:1
Promise.then (async)
makeOffline @ 8238.f7c5c20c1c7dde5e7f37.js:1
handleEvent @ main.eabf9bae4b8f43ea9530.js:203
c @ rocket-loader.min.js:1

Hi Bhante, :pray:

It never worked for me either, and I tried it every other year since the feature was first introduced. It has always been an experimental feature, I belief. Nobody seems to know why it works for some but not others. (If you do ever get it to work, please give me nudge.)

The legacy version has almost everything I need, though, and it works fine offline. (download here) Use it together with epubs of the translations, and you got almost all the content of the website offline, even though in a different format.


Let me add here also as an official bug report that installing the offline version makes the site significantly slower, in Firefox on Windows 10, even if the offline function doesn’t work.

See here. Snowbird had a similar problem. Clearing the cache fixed it for both of us.

3 Likes

Appreciated Ven @Sunyo , hopefully this bug can get sorted.


Thank-you for the offline information, I didn’t realize it was still accessible. The main reason I like the offline app is the line by line pali /english though, for those of us who arn’t so good in this area.


With Metta

But you can also see the bilingual presentation online, can’t you?

Click on “views” at the top right, then select “siede by side” or “line by line” in the second column.

Thanks for that, I have used that. My only really purpose for the site, is if the offline feature would work, I prefer to not have the internet for extended periods, so the offline feature as it worked at the start of the site, would be great.

Just seems to be not many people can get it working, and its meant to be a major feature of the site.

I have saved out a few suttas, with line by line for translation, but would be useful to have offline feature working, so the site can be used in an environment with no internet.

Many thanks anyhow.

1 Like

Oh god, please no, it should have been sunsetted long ago. It’s full of errors and old data.

doing a niche thing on a niche system. Hate to say it, but I strongly recommend Chrome for PWAs.

See my comment here:

Meanwhile you can try:

See discussion here:

But it seems to be still a work in progress.

1 Like

Bhante, I believe Bhikkhu Sunyo meant the most widely used desktop operating system in the world, installed on 76×76=58% of desktop computers and which will be supported by Microsoft until October 2025. I don’t think he meant the 2016 Windows Phone OS of the same name (Did you Bhante @Sunyo ?)

4 Likes

I hate to say it too, bhante, but I did try Chrome and a fresh install of Brave (Chromium), and it didn’t work any better. (I’m not sure if it also slowed down the site as well. I didn’t test that.)

I’m not sure how Firefox and Windows 10 would be niche. Considering that Chrome also didn’t work, I think it’s not the browser that’s the problem. And Windows 10, as Khemarato said, isn’t exactly rare. (You’re right @Khemarato.bhikkhu, it’s the desktop version.)

I tried downloading it on a different network, tried clearing cache, tried different browsers with fresh installs. Nothing works. I tried it on Chrome for Android as well, and that didn’t work either.

Cool, but looks more trouble than it’s worth. :smiling_face: Considering the legacy edition does do very well what I personally need, and that I’m geeky but not that geeky. :disguised_face:

I wouldn’t mind if this redbean thing was the only way to get it to work. The bottom line is, though, that the offline function clearly doesn’t work for a great percentage of people. But it is presented, as Ven Buddho said, as a major feature of the site.

2 Likes

I mentioned this a while back and I think you solved it elsewhere:

The font you use has an imperceptible pixel or two below base-line on some characters that causes underlines to be broken. This is on FireFox, which I know you don’t always care about supporting. But I thought I would mention it.

1 Like

It looks like the individual edition pages don’t have proper page titles?
image

1 Like

In the “site” essays, Sutta references are generally links, but there is no indication for the reader to know this:

Screenshot from 2023-03-12 14-18-50

until they hover with their mouse over one of them:

Screenshot from 2023-03-12 14-20-53

2 Likes

I was reading MN109 and opened a new tab to read DN15
I typed https://suttacentral.net/en/dn15 into the address bar and it loaded up the content for MN109 :thinking: Obviously I typed the address wrong, but I would have rather an error than a randomish sutta.

1 Like

What happens if you ctrl shift R?

It doesn’t seem like a random sutta but the last sutta you had viewed?

EDIT: Sorry, nevermind. I now see they typo in your url. BTW, I was able to recreate your experience.

I refreshed cmd+r :green_apple: and it still didn’t throw me an error… which is all I’m after :slight_smile:

1 Like

Latest edit: all working again! Not deleting post in the off chance it’s helpful in future.


sk40 isn’t loading for me on either firefox 108.0.2 or chrome 100.0.4896.75 on Mac OSX 10.14. Other pages are loading just fine. This is the console message in firefox:

XHRGEThttps://suttacentral.net/api/bilarasuttas/pli-tv-bu-vb-sk40/brahmali?lang=en
[HTTP/2 500 Internal Server Error 369ms]

	
GET
	https://suttacentral.net/api/bilarasuttas/pli-tv-bu-vb-sk40/brahmali?lang=en
Status
500
Internal Server Error
VersionHTTP/2
Transferred686 B (36 B size)
Referrer Policystrict-origin-when-cross-origin

    	
    access-control-allow-origin
    	*
    alt-svc
    	h3=":443"; ma=86400, h3-29=":443"; ma=86400
    cf-cache-status
    	BYPASS
    cf-ray
    	7b632749fada274b-ADL
    content-length
    	36
    content-type
    	application/json
    date
    	Tue, 11 Apr 2023 12:15:10 GMT
    nel
    	{"success_fraction":0,"report_to":"cf-nel","max_age":604800}
    report-to
    	{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=esUzVYpuchdh%2FBXVAc4jTucfmv8iQ1Wv7WV4EKq61ihdxWsM7lHz3Jc4VeMQBUKukxiEO22zGaWRH2QdZoRRi8nsissZZkjVOKbq57hnIQLvxt1fceEAe9kiUZYtWiCYBw8%3D"}],"group":"cf-nel","max_age":604800}
    server
    	cloudflare
    vary
    	Accept-Encoding
    X-Firefox-Spdy
    	h2
    	
    Accept
    	*/*
    Accept-Encoding
    	gzip, deflate, br
    Accept-Language
    	en-US,en;q=0.5
    Connection
    	keep-alive
    DNT
    	1
    Host
    	suttacentral.net
    Referer
    	https://suttacentral.net/pli-tv-bu-vb-sk40/en/brahmali
    Sec-Fetch-Dest
    	empty
    Sec-Fetch-Mode
    	cors
    Sec-Fetch-Site
    	same-origin
    TE
    	trailers
    User-Agent
    	Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:108.0) Gecko/20100101 Firefox/108.0

Edit: most other pages are loading fine. sk39, sk42, sk44, sk45, sk46 are also not loading.

I followed an old link to the download page:

https://suttacentral.net/downloads?view=normal

And it took me to a blank page:

Perhaps it could forward to the editions page now?

(BTW, I tried a hard refresh and still got this blank page)

1 Like

16 posts were split to a new topic: SuttaCentral Voice: bug reports

I don’t know if this is a feature or a bug. I clicked on this link in another post:

The link itself designates the language: &script=Devanagari.

After visiting that link, now all the suttas I go to are in Devanagri. To me, this is a big error. Especially since when I go to change it back to Roman I am faced with an overwhelming number of cryptic choices:

How in the world am I supposed to know which one of these I had been using for the last 3 years?

And why would I expect that clicking on someone else’s link would change my default settings? Being able to link to a page with specific settings is awesome. However it doesn’t make sense that it would change my defaults.

3 Likes

It’s Latin that you have to select, not Roman.

1 Like

Wow. That’s even more confusing.

2 Likes