[Booki-dev] [Booki and Objavi Development] #163: epub importing bug

John Curwood marketing at lovinglearning.co.nz
Wed Apr 7 20:07:04 PDT 2010


No worries,  I've just realised that a book I imported from archive.org
back during the code sprint has a similar problem.  Since I have
imported a few more books since then from archive.org and they all look
healthy, I'd like to give this one another go, but I think the fact that
the book I am trying to import will have the same name as the orginal
blank version is preventing me from importing a second time. :-S

cheers,

John

On Thu, 2010-04-08 at 04:57 +0200, adam hyde wrote:
> very good bug report, thank you :)
> 
> adam
> 
> 
> On Thu, 2010-04-08 at 02:52 +0000, Booki and Objavi Development wrote:
> > #163: epub importing bug
> > --------------------+-------------------------------------------------------
> >  Reporter:  john    |       Owner:  adam, aco, douglas                                              
> >      Type:  defect  |      Status:  new                                                             
> >  Priority:  major   |   Milestone:  Bugs                                                            
> > Component:  Booki   |    Keywords:  import, ePub, Gutenberg, contents, chapter, empty, title, titles
> > --------------------+-------------------------------------------------------
> >  I have tried importing two different books from project gutenberg.
> >  Manual of Gardening (Second Edition)        and
> >  Agriculture for Beginners / Revised Edition
> > 
> >  in both cases the import process proceded fine and the book ended up in
> >  the book list, however when I went to read the books they were lacking
> >  content.
> > 
> >  The manual of gardening lists 3 chapters when loaded in Booki, however,
> >  the first two chapters are just the title of the book split into two
> >  separate chapters for some reason, The second of these two chapters
> >  contains some text around copywrite.  The third chapter looks like it will
> >  contain the entire contents of the book however, when I click on it to
> >  read, it is empty.  I have tried downloading the ebook to my computer from
> >  project gutenberg and used an epub reader to view the book and everything
> >  is there.
> >  The website for the manual of gardening on project gutenberg is:
> >  http://www.gutenberg.org/ebooks/9550
> >  and the link to the epub is:
> >  http://www.gutenberg.org/cache/epub/9550/pg9550.epub
> > 
> >  with Agriculture for Beginners, the import seemed to work better as the
> >  contents pane was full of chapters.  However from the Agrigulture for
> >  beginners -1 chapter to the spraying mixtures, the content of each chapter
> >  is empty. A different issue that was generated with this import was that
> >  there are two chapters entitled agriculture for beginers causing the
> >  following error when trying to access the chapters:
> >  MultipleObjectsReturned at /agriculture-for-beginners-revised-edition
> >  /agriculture-for-beginners/
> > 
> >  get() returned more than one Chapter -- it returned 2! Lookup parameters
> >  were {'book': <Book: Agriculture for Beginners / Revised Edition>,
> >  'url_title': u'agriculture-for-beginners'}
> > 
> >  This import also seemed to split titles into several chapters with the
> >  first xxx chapters titled:
> >  -Agriculture for beginners
> >  -by
> >  -charles william burket
> >  -frank lincoln stevens
> >  -daniel harvey hill
> >  which to me looks like they should be the contents of the title page.
> > 
> >  The gutenberg web page for this book was:
> >  http://www.gutenberg.org/ebooks/20772
> >  and the epub link is:
> >  http://www.gutenberg.org/cache/epub/20772/pg20772.epub
> > 
> >  I hope this is enough detail, if not let me know
> > 
> >  cheers,
> > 
> >  john
> > 
> 
> 





More information about the Booki-dev mailing list