Welcome to Pali Q&A Forum, where you can ask questions and receive answers about the Pali language and the Digital Pali Reader.

34 questions

49 answers

55 comments

17 users

Problems with the Digital Pali Reader?

+1 vote

This is a thread dedicated to addressing issues with using the Digital Pali Reader. If you have some problem with it not working as it should, please post an answer here, and I'll try to comment as I can.

If you have a feature you would like to request, see this thread instead:

http://pali.sirimangalo.org/pali/forum/50/feature-requests-for-digital-pali-reader

Avatar Image asked Feb 3 by Yuttadhammo (301 points)   2 15

5 Answers

0 votes

Something has gone wrong in the latest commit (I'm actually not sure what the difference is between the last two that are labeled as adding sanskrit dictionary.) Things were working fine with the one that says "fixed bottom frame sizing"

The background color on the side bar has changed. Doesn't matter, but it is the most obvious thing when you open it up.

On the navigation tab, there is no text selected by default as usual. (It's usually set on the first part of the first sutta in DN.) The dropdowns are all blank and there are four of them. The book mark drop down is missing and the history drop down is not labeled as such as is usual. My history seems to have disappeared.

In the search tab, the history with its three buttons are gone completely.

And the most troubling is that texts will not load. The Please Wait wheel keeps spinning. From that action there is the following message:

Error: ch[i + 1] is undefined
Source File: chrome://digitalpalireader/content/js/navigation_sidebar.js
Line: 175

And there is one error message in the console immediately after launching the DPR (Which now I see is exactly the same as the one above.):

Error: ch[i + 1] is undefined
Source File: chrome://digitalpalireader/content/js/navigation_sidebar.js
Line: 175

Hope that helps. I have screen shots of before and after if you want them.

Avatar Image answered Feb 5 by bkh1 (78 points)   1 1 8
Working!

Should I delete the question?
Well... After the unicode bug fix, this problem seems to be back. I don't know why I'm only noticing it so late in the day. But after checking out the uinicode bug fix commit, this problem is back.
not sure if this is still a problem, please let me know.  all is working here.
Yes it is working now. Sorry I lost track of this one.
0 votes

I mentioned this in an e-mail, but I'll put it here for safe keeping.

The button for the bottom toolbar seems to be sticky, in that when you hover over it (Or more often, glided over it accidentally, which is what is annoying) it stays open. The button for the top toolbar works differently. When you move away the toolbar closes.

If possible it would be nice if both toolbar button had a fraction of a second delay so they didn't open accidentally. Frequently I am aiming for a permalink button and glide over the top tool bar button by accident. This, of course, covers the permalink button that I was aiming for.

I realize they are minor things, but seem like they would be easy to fix for someone who know what they are doing. I tried to look at the code to figure out what was different about the two buttons but couldn't figure it out.

Avatar Image answered Feb 5 by bkh1 (78 points)   1 1 8
the bottom button is gone, but the top one is still there.  Delays are not easy, I've tried.
Thank you bhante.
0 votes

The analysis bar seems to be rendering the words in Velthuis. Not the definitions, just the analysis and the headwords for the CPED. Otherwise the only problem is that in the declensions/conjugations the corresponding word is not highlighted.

Avatar Image answered Feb 5 by bkh1 (78 points)   1 1 8
reshown Feb 6 by bkh1
Working now. Thanks!
0 votes

I"m using the latest regular download version, 3.2.2 (not git) and the dictionary under the tools tab seems to be broken. When I put in a word, a new tab opens, but there is nothing there. This is the error in the console:

Error: uncaught exception: [Exception... "Component returned failure code: 0x80004002 (NSNOINTERFACE) [nsIXPCComponentsUtils.import]" nsresult: "0x80004002 (NS_NOINTERFACE)" location: "JS frame :: chrome://digitalpalireader/content/js/config.js :: addJS :: line 121" data: no]

EDIT: I tried installing 3.2 and had the same problem. I just installed 3.1.5 and that one is working. Just an FYI.

Avatar Image answered Feb 7 by bkh1 (78 points)   1 1 8
edited Feb 7 by bkh1
OK, 3.3.1 seems to be working. Thanks
0 votes

The ATI links seem to be broken. On line or off line. This is an example of the url of the blank tab that opens:

chrome://digitalpalireader/content/ati.xul?ati=an/an08/an08.006.than.html

Seems to be the same in the index listings as well as the toolbar for individual suttas.

And it's actually similar with ABT:
chrome://digitalpalireader/content/ati.xul?ati=http://www.ancient-buddhist-texts.net/Texts-and-Translations/Mahaparinibbanasuttam/index.htm

EDIT: this is in the error console:

Error: too much recursion Source File:
chrome://global/content/bindings/tabbox.xml
Line: 414

Avatar Image answered Feb 24 by bkh1 (78 points)   1 1 8
OK, seems to be working better now with 3.4.2. Thank you!

However, the tab titles are missing. and the Favicon is for the DPR and not ATI.

Personally, I preferred when I had a real link to the translation instead of a dpr permalink.  I'm not sure what the advantage of that is. For Pali, of course the permalinks are perfect and very useful. But the regular URL was already a permalink.

EDIT: Ok, I see that it's TabMixPlus that is causing nothing to display as the title. When I disable TMP, then the permalink URL appears as the tab title.

Also, it appears that translation pages rendered through the DPR have a slightly different styling--everything is quite a bit smaller. Just an FYI
this should all be better now.  The point was to get ATI translations in panels for side-by-side comparison, which requires a special dpr file, editing the ati file.