We are no longer developing Opera Widgets. Read more.

Login| Sign up

Opera Software ASA

Widgets » eBook Reader » All bugs » #4063

Bug #4063: Failure to load more than one local epub

  • 3,214 downloads last 7 days
  • 836,922 total downloads
  • Rating: +61 (login to vote)
eBook Reader, Opera application V2.0 Jul 28, 2010 2:04:30 PM

An eBook reader that reads the ePub format.


Title: Failure to load more than one local epub

Bug
#4063
Status
NEW
Created
2010-08-15 22:57:15
Reporter
User avatar carnendil
Description
I've read a comment about this, but there seems to be no bug report about it.

eBook Reader successfully imports and loads a local EPUB file, but only one. A second ebook does not appear listed in the right pane, nor does it substitute the first. Moreover, the first local ebook cannot be eliminated.

It may be of importance to note that, when a second file is selected for opening, the behaviour of the widget (e.g., "blinking" of the screen, etc.) might suggest that the ebook has been loaded in place of the previously opened file.

I'm running Lubuntu Linux 10.04 and Opera 10.61, and have experienced this problem with eBook Reader 2.0.

When I first tried eBook Reader (ver. 1.x on MSWindows XP and Opera 10.5x), this problem never occurred.

Bug Discussion 4 posts

Log in at the top of the page to post a comment.

Found a solution. It is very easy to correct. You need only to add one line in the maincontroller.js file right after you install the widget (it's located in the "script" folder where the eBook Reader is installed):

Open the file in notepad and go to lines 19-20, or else look for the lines that say:

var fileName = mountPoint.name + '_book';
var targetFile = sandBox.resolve(fileName + '.zip');

Now, replace these with the following:

var fileName = mountPoint.name + '_book';
var targetFile = sandBox.resolve(new Date().getTime() + fileName + '.zip');

Save the maincontroller.js file and start adding local books.

By kkad , # Apr 25, 2011 4:20:53 PM

Same on Windows 7 64bit and Opera 11. Loads an ePub but no more after that one. It's a shame since I really liked the idea and the simple look. Hope it gets fixed.

By algarcia , # Feb 6, 2011 4:51:25 PM

Same problem with Windows 7 32-bit Ultimate and Opera Version 10.63 (Build 3516).

By NHS2008 , # Oct 30, 2010 12:04:42 PM

I am experiencing the same problem.

This is with also eBook Reader v2 but on Windows 7 Ultimate 64-bits with Opera Version 10.61 (Build 3484).

By markvl , # Aug 30, 2010 7:08:20 PM