Ticket #2486 (closed defect: fixed)

Opened 3 years ago

Last modified 15 months ago

Read Activity page number save issues

Reported by: jdsimmons Owned by: godiard
Priority: Unspecified by Maintainer Milestone: 0.96
Component: Read Version: 0.95.x
Severity: Minor Keywords: olpc-test
Cc: Distribution/OS: OLPC
Bug Status: Unconfirmed

Description

When I use the Read Activity it remembers the page I am on so it can go back to it if I quit the Activity and resume it later. However, I have noticed with PDFs that at some point it stops saving a new page number. For instance, in the PDF I'm reading now it has 358 pages. No matter where I leave off reading it always resumes on page 261. There are no log messages to suggest why this is, so I don't know if the problem is with Read or with Sugar's support for custom metadata. I've seen it on more than one PDF.

I'm using the 180py Paraguay build on my XO laptop.

Change History

Changed 2 years ago by alsroot

  • owner set to sayamindu
  • component changed from untriaged to Read

Changed 17 months ago by godiard

  • owner changed from sayamindu to godiard
  • status changed from new to assigned
  • version changed from 0.84.x to 0.95.x
  • milestone changed from 0.84 to 0.96

We need test it with PDF files.

I have this problem too with epub files.

Changed 15 months ago by godiard

Probably related to #1956

Changed 15 months ago by godiard

Working ok in PDF files. (Tested with a PDF of 393 pages, Read version 97).

With epub files we have a different problem, running with the same epub file we randomly get different height values for the same chapters:

1332957126.317689 ERROR root: File /tmp/tmpBSDd6o/OPS/cover.xml height 836
1332957126.331570 ERROR root: File /tmp/tmpBSDd6o/OPS/title.xml height 816
1332957126.344145 ERROR root: File /tmp/tmpBSDd6o/OPS/about.xml height 816
1332957126.351301 ERROR root: File /tmp/tmpBSDd6o/OPS/main0.xml height 816
1332957126.368940 ERROR root: File /tmp/tmpBSDd6o/OPS/main1.xml height 4776
1332957126.382886 ERROR root: File /tmp/tmpBSDd6o/OPS/main2.xml height 4206
1332957126.403978 ERROR root: File /tmp/tmpBSDd6o/OPS/main3.xml height 12186
1332957126.416037 ERROR root: File /tmp/tmpBSDd6o/OPS/main4.xml height 3446
1332957126.423863 ERROR root: File /tmp/tmpBSDd6o/OPS/main5.xml height 3332

1332957234.163493 ERROR root: File /tmp/tmpAzEpKo/OPS/cover.xml height 836
1332957234.184226 ERROR root: File /tmp/tmpAzEpKo/OPS/title.xml height 816
1332957234.196536 ERROR root: File /tmp/tmpAzEpKo/OPS/about.xml height 816
1332957234.204860 ERROR root: File /tmp/tmpAzEpKo/OPS/main0.xml height 816
1332957234.222534 ERROR root: File /tmp/tmpAzEpKo/OPS/main1.xml height 4776
1332957234.231652 ERROR root: File /tmp/tmpAzEpKo/OPS/main2.xml height 4168
1332957234.254277 ERROR root: File /tmp/tmpAzEpKo/OPS/main3.xml height 12015
1332957234.277253 ERROR root: File /tmp/tmpAzEpKo/OPS/main4.xml height 3446
1332957234.286492 ERROR root: File /tmp/tmpAzEpKo/OPS/main5.xml height 3332

Changed 15 months ago by godiard

  • keywords olpc-test added
  • status changed from assigned to closed
  • resolution set to fixed

I have created a new ticket for epub files #3413.

Sam: In my tests pdf files are ok (with last Read activity xo), please test and reopen if needed.

Note: See TracTickets for help on using tickets.