[Trac #1047] On-laptop library has many broken pages

Zarro Boogs per Child bugtracker at laptop.org
Tue Mar 13 20:52:24 EDT 2007


#1047: On-laptop library has many broken pages
---------------------------+------------------------------------------------
 Reporter:  gnu            |       Owner:  sj       
     Type:  defect         |      Status:  new      
 Priority:  normal         |   Milestone:  Untriaged
Component:  new component  |    Keywords:  library  
---------------------------+------------------------------------------------
 I'm very glad to see #651 fixed.  Now let's improve the local library that
 is shipped with each laptop.

 Clicking the link for "International Children's Digital Library" produces
 a page which is a
 raw directory listing (of file:///home/olpc/Library/icdl).  It's bizarre
 that it does this, because the directory includes an "index.html" file
 that ought to come up; this may be a bug in the web browser rather than in
 the library.  (If I add a trailing slash to it, the same thing happens; I
 have to explicitly specify ".../index.html" to get the real HTML index.)

 Going down into the library (by clicking on index.html), I selected the
 book "The Blue Sky" (the English translation of the Czech book).  Clicking
 on its image brought up a relatively useless summary page; clicking in the
 left column of that brought up the miniature page images of the book
 itself.  I think the index should have gone straight to the book.

 I then read "The Blue Sky", by clicking on the cover page, waiting for it
 to come up, scrolling all the way to the bottom, clicking the huge right-
 arrow, doing the same for the two pages full of nothing but blue, clicking
 the huge right-arrow again, now I'm on a page that is all white, and has
 "International Children's Digital Library" and a logo at the bottom.  I
 can see from the
 horizontal scrollbar that there's something to the right -- probably the
 cover page that includes the title of the book.  But as I press the right-
 arrow key on the keyboard (not the on-screen right arrow graphic), the
 screen starts to scroll left, then suddenly it jumps me for some reason to
 a page that doesn't exist:  "Page Load Error" "File Not Found", "The file
 /home/olpc/Library/icdl/husblsk_00040002/two cannot be found"...

 So I give up on books and go back to the main page.  I click on "Wikipedia
 - Arabic".  Immediately, up comes a page that says "OLPC Digital Library"
 and an arabic word in the page header.  On the page itself it contains a
 big sidebar "OLPC Digital Library -" and then nothing.
 There are about twelve things that look like they might be topics or page
 links, but none of them are visible, I think because the Arabic font they
 use is not in this software release.  Moving the mouse over them
 underlines them (they are right-justified in the box).  When I click on
 one of them, the very first one for example, I get a "File Not Found:  the
 file /home/olpc/Library/wp/ar/[an arabic word I don't know how to type
 here].html cannot be found.  Please check the location and try again."
 Same for the other ones I tried.  It's curious that some parts of the
 browser can display Arabic characters (e.g. the title bar, the error
 pages) and other parts can't (e.g. the OLPC page itself).

 Same thing happens with the Urdu pages.

 However, the first Spanish Wikipedia page comes up fine.  But when I click
 on "Corazón", there's no such page:  /home/olpc/Library/wp/es/Corazón.html
 cannot be found.  Note there's an accent over the o -- "ó" -- that's the
 problem.  The file in the file system is named "Coraz\303\263n.html"
 (octal 303 and octal 263 for "ó").  The link in the index page references
 "Coraz%C3%B3n.html".  Those numbers match, but perhaps "%" escapes are not
 being handled in file references, only in http URLs?  No, that's not it; I
 tried creating such a file and still no go.  So I did strace on the
 process, which shows that's it's looking for the file name
 "Coraz<F3>n.html".  I don't know how it got that idea...perhaps a Unicode
 versus UTF-8 or versus ISO Latin 1 encoding issue?

 I went back to the main page and tried "Biomes of the world".  That
 doesn't appear to do anything; I stay on the main page.  Same for "Plants
 and Animals of the world".

 But hey, "Busy bee", "Purple daisy", and "Hot air balloons" all look
 great!

 I suggest that before the next release, somebody actually sits down in
 front of the "content" that's shipped with the units, tries viewing all ON
 AN XO, and fixes everything that is obviously broken.  Clearly nobody did
 that for build 303.

-- 
Ticket URL: <http://dev.laptop.org/ticket/1047>
One Laptop Per Child <http://laptop.org/>



More information about the Bugs mailing list