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

Aleksandar Erkalovic aerkalov at gmail.com
Thu Apr 8 05:13:42 PDT 2010


it has -1 because book with that title exists (when i fixed this issue
i also tried to import that book).
basicly, if it exists it tries to add -1, -2, -3 etc. at the end.

aco

On Thu, Apr 8, 2010 at 5:16 AM, John Curwood
<marketing at lovinglearning.co.nz> wrote:
> Whoops no, I must have been using the wrong piece of text for the
> identifier when I tried importing earlier as I've tried again and the
> book has been imported with the original title, but with a "- 1 " after
> it.  As a side note, this import went fine 8-P
>
> 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
>> >
>>
>>
>
>
> _______________________________________________
> Booki-dev mailing list
> Booki-dev at lists.flossmanuals.net
> http://lists.flossmanuals.net/listinfo.cgi/booki-dev-flossmanuals.net
>



-- 
 http://www.binarni.net/



More information about the Booki-dev mailing list