SuttaCentral: bug reports

On the Editions page all of the table of contents don’t work when I click on them. But on the Guides page the same table of contents work as they should.

E.g. DN’s Introduction/Guide/Essay on the Editions page vs Guides page

On the Vinaya Editions page there are also footnotes that don’t work. When I click on the note button it takes me to the beginning of the text instead of the note, and when I’m looking at the notes and click on the back button it also goes to the beginning instead of where it should.


The Bibliography page for the Vinaya was unreadable for me. There were other parts that were partly unreadable like the Kd-1-introduction but in them I could at least read it in a horizontal view.


The Bibliography page was kind of like when I activate «Main» reference (and don’t have «Show as sidenotes» and «Line by line/Side by side» activated) on certain suttas like DN 1, 2, 4, 5, 9, 14, 16-18, 23, 24, 29, and 32 and there are so many untranslated segments in a row that a part of the translation on the left side gets cut off and the font gets larger.


iOS 26.3
Safari

2 Likes

I couldn’t reproduce these 3; they work correctly for me

For me, this almost works correctly - I get taken to the next number instead of the correct one (e.g. if I click on 2, then the back up button, I get taken to where 3 is).
EDIT: Actually, this works correctly for me, it’s just that the number is at the very top of the screen, obscured by the top nav bar, which makes the next number often show up in the middle.

I also confirmed that the anchor link is the correct number.
This is browser behavior, so this is difficult/finicky to change - you’d have to detect an anchor movement and scroll it a bit further up or move the anchor a few lines up. And the vertical distance may be different depending on your Views settings, as well as your device width.
Might be a “won’t fix” as such :confused:

This I could reproduce, looks mostly the same as your screenshots (my font size looks smaller though).
Seems like there’s a layout element missing.
EDIT: this looks normal on a large screen on desktop, but if I make the window smaller, it also reproduces on desktop.

Chrome 143.0.7499.192 for Android
EDIT: Also had the same results - could only reproduce the last one - on desktop:
macOS Chrome Version 143.0.7499.194 (Official Build) (x86_64).

3 Likes

The SNP page where you can view all the SNP suttas doesn’t work for me when I view the page in Deutsch, Srpski, Svenska, Züridütsch, Русский, or ไทย. I just get a 404 page not found.

I tried some of those languages in other collections. In MN 1-152 I got a 404 for all those languages except Züridütsch. In MN 1-50 I also got a 404 except Züridütsch. In MN 51-100 and 101-152 I got a 404 except Züridütsch and ไทย.

AN 1 and 3-10 got a 404 in Русский
AN 4 in Srpski
AN 1 and 5-10 in Svenska

iOS 26.3.1
Safari

1 Like

I think @HongDa may be aware of this. There was a problem with the site earlier today.

3 Likes

For me it seems to work again. How is it for you?

3 Likes

It’s also working for me now :+1:

3 Likes

Found this separate bug in the course of investigating Chinese lookup not working - #4 by agilgur5

When I am reading something in Chinese (e.g. MA1 with Chinese line-by-line or DA1’s root text) and click the button to switch to simplified, it breaks dictionary word lookups.
Even if I switch back, they are still broken. Even if I disable word lookups and re-enable them, they still won’t work. I have to refresh to get it back.

On Chrome 143.0.7499.192 for Android
and Chrome Version 143.0.7499.194 (Official Build) (x86_64) on macOS

3 Likes

When I view the SC home page in German there’s a space and a period after «Suttakarten» even though it’s not on GitHub.


On the editions page there is a space between the collection name (e.g. «Long Discourses») and the period. There’s also a space between «Australia» and the period. There is a colon in front of «Australia» which the info on the suttas don’t have.

DN editions page:

DN 1 info button:

iOS 26.3.1
Safari

2 Likes

On suttaplex cards or in the “parallels” section, there are two different Russian translations shown for example for MN110, see here. However, both links go to the same text, which is a segmented text.

If there is still a legacy translation of that same text, the link should go there. Or if there is no legacy translation, the second entry should be removed.

1 Like

Hi, there is a bug in Anguttara 4.67-70 in the Thai translation.

When clicking into the translation it just opens up the dropdown for “parallels in ancient texts”

This problem is so far as I can see only for 67-70 of book four.

For every sutta in book 1-3 the Thai translations are all okay, the issue only comes up in these 4 suttas. After 4.70 the function works fine.

This is occurring on IOS 26.3.1, I have tried on two iPhone 16. With Google and Safari. At this time I don’t have have access to a desktop to see if the issue persists.

1 Like

In segmented translations of AN1.188-197, no sutta numbers are shown on the website, although they are in the repository:

There are only the segment numbers, which are the same, i.e. 1.1, for all the suttas.

The same is the case for the subsequent files up to AN1.258-267. AN1.268-277 shows again the normal numbering:

@HongDa ?

Interesting, these two look identical to me initially. It has just the segment number initially, and then if I click “Views” and click out immediately (i.e. did not check any box), it shows the full/long number, on both

Normally it does do that when a link and your own preference are different numbering schemes, but in this case they are the same :thinking:
I’m guessing there’s some front-end logic that converts to the long number for range suttas? And it’s only running on re-render and not initial render

There are some state and declarative anti-patterns on the front-end that make that double render scenario quite easy to occur, so it ideally could use some refactoring. The pages are very complex though :sweat_smile:

1 Like

Ven. @sabbamitta
It appears that Bhante Sujato’s translation files do not contain a sutta number.

1 Like

Yes, that’s what I also came to realize. It’s the same for my own files.

Other range sutta files or vagga sutta files do have title segments with the number “0”, while these ones don’t.

Like an1.170:1.0, an1.171:1.0, etc. These segments are missing from the files that I mentioned above, which are 7 files with the suttas about the foremost disciples.

I am not sure if this is deliberate or an accident? Bhante @sujato would probably know.

1 Like

Related issue:

AN1.316-332

The second number “329” should be “329-332” instead.

I think in the repository, instead of

"an1.329:1.0": "329–332 ",
  "an1.329:1.1": "“Just as even a little bit of urine, or spit, or pus, or blood still stinks, ",
  "an1.329:1.2": "so too I don’t approve of even a little bit of continued existence, not even as long as a finger-snap.” "
}

the last three segments should be:

"an1.329-332:1.0": "329–332 ",
  "an1.329-332:1.1": "“Just as even a little bit of urine, or spit, or pus, or blood still stinks, ",
  "an1.329-332:1.2": "so too I don’t approve of even a little bit of continued existence, not even as long as a finger-snap.” "
}

(Compare https://github.com/suttacentral/bilara-data/blob/published/translation/en/sujato/sutta/an/an1/an1.296-305_translation-en-sujato.json.)

The same is the case for other segmented translations of this vagga.

1 Like

The same problem as in the suttas on the foremost disciples is again the case in AN1.378-393:

The sutta numbers are missing.

Meanwhile I don’t believe this is intentional.

1 Like