Ticket #4145 (closed defect: fixed)

Opened 3 months ago

Last modified 3 months ago

Add support for nook

Reported by: nookmaster Owned by: kovidgoyal
Priority: major Milestone:
Component: Graphical User Interface Version: trunk
Keywords: Cc:

Description

Calibre does not detect nook ebook reader, hence not possible to transfer books to it. I attach screenshoot of nook info, if more is needed, please let me know.

Attachments

nook.jpg Download (159.9 KB) - added by nookmaster 3 months ago.
no_device_connected.txt Download (1.2 KB) - added by nookmaster 3 months ago.
nook_output.txt Download (1.3 KB) - added by nookmaster 3 months ago.
nook_plus_sd.txt Download (1.4 KB) - added by nookmaster 3 months ago.
test_result.txt Download (2.4 KB) - added by nookmaster 3 months ago.
folders.JPG Download (57.8 KB) - added by nookmaster 3 months ago.
nook_output2.txt Download (2.4 KB) - added by nookmaster 3 months ago.
test.py Download (0.6 KB) - added by kovidgoyal 3 months ago.
debug_output.txt Download (192 bytes) - added by nookmaster 3 months ago.
debug_output2.txt Download (0.7 KB) - added by nookmaster 3 months ago.

Change History

Changed 3 months ago by nookmaster

Changed 3 months ago by nookmaster

Changed 3 months ago by nookmaster

Changed 3 months ago by nookmaster

Thanks for the quick reply. I attach the 2 files, output with no device attached and with nook attached.

Changed 3 months ago by nookmaster

Changed 3 months ago by nookmaster

I forgot to mention that the books are stored in a folder named "my documents" (all lowercase and with a space). I have uploaded a 3rd file with a SD card inserted in the nook.

Changed 3 months ago by john

One more question. Does it create some type of supplementary file for the books after you open them? For instance something along the lines of book_name.mpb?

Changed 3 months ago by kovidgoyal

Here's a windows build with the Nook driver. Please test. http://calibre-ebook.com/downloads/betas/calibre-0.6.26.msi

Changed 3 months ago by nookmaster

Thanks for the test file. Unfortunately it does not work, I attach the result of the "calibre-debug -d" output and the folder structure.

I do not see any additional files like mpb on the device.

Changed 3 months ago by nookmaster

Changed 3 months ago by nookmaster

Changed 3 months ago by kovidgoyal

Hmm that debug log doesn't make sense. Can you try rebooting your computer once.

Changed 3 months ago by nookmaster

Same result, I attach the file (I had actually restarted the 1st time as Calibre asked me to).

I see that it blocks for about 30 secons in the "Trying to open device..." stage before it fails.

Changed 3 months ago by nookmaster

Changed 3 months ago by kovidgoyal

OK time for some detailed debugging. Save the attached file test.py and execute it like this

calibre-debug -e test.py

Changed 3 months ago by kovidgoyal

Changed 3 months ago by nookmaster

It fails straight away (see attachment). Did you attach the right file? The extension indicates Python, but the contents are XML.

Changed 3 months ago by nookmaster

My bad, forget it, I'll do it again.

Changed 3 months ago by nookmaster

Sorry for the trouble, I did "save link as" instead of clicking on the download icon and got the wrong stuff. I have uploaded the output, replacing the old file (debug_output.txt).

Changed 3 months ago by nookmaster

Changed 3 months ago by kovidgoyal

Weird, that indicates detection is succeeding. Here's another test

from calibre.customize.builtins import NOOK
n = NOOK(None)
n.open()
print 'Opened at:', n._main_prefix

Save it to test2.py and run it as above.

Changed 3 months ago by nookmaster

Done.

Changed 3 months ago by nookmaster

Changed 3 months ago by kovidgoyal

There's something weird on your system. Do you have any other e-book reader you can test calibre with?

Changed 3 months ago by nookmaster

Unfortunately not. I'll try later on at home, on my other PC, to see if the results are the same.

Changed 3 months ago by kovidgoyal

never mind. found the problem. I've uploaded a build with the fix at the same location as before.

Make sure you download the fresh copy and dont get it from your browser cache

Changed 3 months ago by kovidgoyal

  • status changed from new to closed
  • resolution set to fixed

Fixed in branch trunk. The fix will be in the next release.

Changed 3 months ago by nookmaster

Excellent, I can confirm that it works. However, I see that Calibre maintains a folder structure for the books I transfer, while the nook does not support folders. Anyway, thats's a different matter. Thanks very much for the prompt updates to Calibre!

Changed 3 months ago by john

Does it not support folders or does it just ignore them. If a book is in a folder can the device still see and read it?

Changed 3 months ago by nookmaster

Ok, actually you're right, the book can be read, nook just does not show the folder structure on the memory - everything is shown flat regardless of how it is stored on the device. So the way Calibre does it is just fine.

Note: See TracTickets for help on using tickets.