Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 06-25-2022, 02:33 PM   #1
Rexthewolf
Member
Rexthewolf began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Jul 2016
Device: Samsung Galaxy S2
Problem moving books to a tablet

Ive been trying to move some more books from my Calibre Library on a PC to a storage card within an android tablet (Android 7) or even to the main memory of the tablet, but I keep getting error messages as below: I dont know what any of this means but so far I have upgraded Calibre to the latest version, tried several different data cables and reset Calibre setting to default. I should say that I have been using Calibre for many years without trouble and think I know what I'm doing?? I have approx 150 books in my Calibre library and around 50 on my tablet, so I have done this in the past.

Im using Windows 10 PC and can read the contents of the card and the tablet using the same cable via the Win 10 explorer - no problem.

Any help much appreciated.

calibre, version 5.44.0
ERROR: Error: Error communicating with device

C:\r\src\src\calibre\devices\mtp\windows\content_e numeration.cpp:336:Failed to EnumObjects() of folder from device:[hr=0x80070490 wCode=0] Element not found.: o240B

Traceback (most recent call last):
File "calibre\gui2\device.py", line 87, in run
File "calibre\gui2\device.py", line 548, in _books
File "calibre\devices\mtp\driver.py", line 219, in books
File "calibre\devices\mtp\driver.py", line 191, in get_driveinfo
File "calibre\devices\mtp\windows\driver.py", line 271, in filesystem_cache
wpd.WPDError: C:\r\src\src\calibre\devices\mtp\windows\content_e numeration.cpp:336:Failed to EnumObjects() of folder from device:[hr=0x80070490 wCode=0] Element not found.: o240B
Rexthewolf is offline   Reply With Quote
Old 06-25-2022, 04:15 PM   #2
georgemk
Addict
georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.
 
Posts: 243
Karma: 291844
Join Date: Oct 2019
Device: Kobo Nia
Hi Rexthewolf
the answer is given in this thread https://www.mobileread.com/forums/sh...d.php?t=347266
georgemk is offline   Reply With Quote
Old 06-25-2022, 04:44 PM   #3
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 14,046
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Connect a local folder/directory created for this to Calibre as a device. Send the books to it.

Put the storage card in PC (via USB adaptor if no card reader, they are cheap). Use the file manager (explorer) to copy your local folder/directory contents to a folder called books on the card. This WON'T work if the card is encrypted as built-in storage rather than removable portable storage. In that case plug in the tablet with card in it and ONLY have the file manager (Explorer) open (close Calibre, Media players etc) and copy the files.

The issue is Android MTP.
Quoth is offline   Reply With Quote
Old 06-29-2022, 03:55 PM   #4
Rexthewolf
Member
Rexthewolf began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Jul 2016
Device: Samsung Galaxy S2
Question

Quote:
Originally Posted by Quoth View Post
Connect a local folder/directory created for this to Calibre as a device. Send the books to it.

Put the storage card in PC (via USB adaptor if no card reader, they are cheap). Use the file manager (explorer) to copy your local folder/directory contents to a folder called books on the card. This WON'T work if the card is encrypted as built-in storage rather than removable portable storage. In that case plug in the tablet with card in it and ONLY have the file manager (Explorer) open (close Calibre, Media players etc) and copy the files.

The issue is Android MTP.
Thanks for the info, I have also read the post from Georgemk (thanks also) I may have deleted the original folder on the device for receiving books in my efforts to send them direct to the card. I have decided now to forego the card. Can I simply create a folder on the android device, call it EBooks, and instruct Calibre to send new books to the Ebook folder

Many thanks
Rexthewolf is offline   Reply With Quote
Old 06-29-2022, 04:20 PM   #5
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,188
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Look at Calibre Sync for Android it might be what you want.

https://www.mobileread.com/forums/sh...d.php?t=345380

bernie
Quote:
Originally Posted by Rexthewolf View Post
Thanks for the info, I have also read the post from Georgemk (thanks also) I may have deleted the original folder on the device for receiving books in my efforts to send them direct to the card. I have decided now to forego the card. Can I simply create a folder on the android device, call it EBooks, and instruct Calibre to send new books to the Ebook folder

Many thanks
gbm is offline   Reply With Quote
Old 06-29-2022, 04:28 PM   #6
Rexthewolf
Member
Rexthewolf began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Jul 2016
Device: Samsung Galaxy S2
Have now removed Card A from the android tablet and tried to move 1 book to the device and got the following Failure message: Any other suggestions?

C:\r\src\src\calibre\devices\mtp\windows\content_e numeration.cpp:336:Failed to EnumObjects() of folder from device:[hr=0x8007000d wCode=0] The data is invalid.: o240D

Traceback (most recent call last):
File "calibre\gui2\device.py", line 87, in run
File "calibre\gui2\device.py", line 628, in _upload_books
File "calibre\devices\mtp\driver.py", line 412, in upload_books
File "calibre\devices\mtp\driver.py", line 384, in prefix_for_location
File "calibre\devices\mtp\windows\driver.py", line 271, in filesystem_cache
wpd.WPDError: C:\r\src\src\calibre\devices\mtp\windows\content_e numeration.cpp:336:Failed to EnumObjects() of folder from device:[hr=0x8007000d wCode=0] The data is invalid.: o240D
Rexthewolf is offline   Reply With Quote
Old 06-30-2022, 01:58 AM   #7
tlwright
Member
tlwright began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Oct 2018
Device: Android tablet; Kindle PW; Fire 10
I have 12k books on a 128GB SD card in a tablet running Android 7. I started having similar issues when my card got corrupted.

Try reformatting the SD card in the tablet, then redoing the device configuration in case you have a specific filename template. Make sure nothing else is trying to access the SD card on the tablet and do not disturb is set. I was having issues with notifs interrupting transfers.
tlwright is offline   Reply With Quote
Old 06-30-2022, 12:44 PM   #8
Rexthewolf
Member
Rexthewolf began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Jul 2016
Device: Samsung Galaxy S2
Quote:
Originally Posted by tlwright View Post
I have 12k books on a 128GB SD card in a tablet running Android 7. I started having similar issues when my card got corrupted.

Try reformatting the SD card in the tablet, then redoing the device configuration in case you have a specific filename template. Make sure nothing else is trying to access the SD card on the tablet and do not disturb is set. I was having issues with notifs interrupting transfers.
Thanks for the suggestion, but frankly I don't believe that the SD card is the problem. As per my last post, I had removed the card and re-configured so as the storage was back on the device memory of my tablet. This resulted in another error message - see my last post. Unfortunately I do not understand the meaning of the error messages. Unless I hear otherwise the only solution that I can think of is to save all of my books (about 150) to my pc hard drive, completely uninstall Calibre and try to reinstall again.

Again thanks for your help
Rexthewolf is offline   Reply With Quote
Old 06-30-2022, 01:42 PM   #9
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,188
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Use the wireless solution I suggested in post #5.


bernie
Quote:
Originally Posted by Rexthewolf View Post
Thanks for the suggestion, but frankly I don't believe that the SD card is the problem. As per my last post, I had removed the card and re-configured so as the storage was back on the device memory of my tablet. This resulted in another error message - see my last post. Unfortunately I do not understand the meaning of the error messages. Unless I hear otherwise the only solution that I can think of is to save all of my books (about 150) to my pc hard drive, completely uninstall Calibre and try to reinstall again.

Again thanks for your help
gbm is offline   Reply With Quote
Old 06-30-2022, 01:57 PM   #10
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 14,046
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Calibre is unlikely to be the issue.

I have SD cards on Android 6 Phone, Android 8 eink Mars (32 G) and on Lenovo tablet Android 10 (128 G card) working with Calibre.
Quoth is offline   Reply With Quote
Old 06-30-2022, 03:43 PM   #11
Rexthewolf
Member
Rexthewolf began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Jul 2016
Device: Samsung Galaxy S2
Quote:
Originally Posted by Quoth View Post
Calibre is unlikely to be the issue.

I have SD cards on Android 6 Phone, Android 8 eink Mars (32 G) and on Lenovo tablet Android 10 (128 G card) working with Calibre.
My Samsung 64 card worked too until recently and still works. I have about 50 books on this card but can only read my current book when I reinstall the card. The memory in the tablet is about 80% full that why I prefer to store books on the card. There are about 150 books in my Calibre Library which is in the Documents folder of my Win 10 PC. Is there any good reason why I shouldnt copy the contents of this folder to a usb stick, un-install Calibre, re-install a fresh copy and move all the books from the usb back into the newly created Calibre folder. My feeling is that it is a setting that has been changed (probably by me) that I can no longer find.
BTW I am reading the books on FBReader paid version BETA if thats relevant

Thanks for your interest
Rexthewolf is offline   Reply With Quote
Old 07-01-2022, 01:35 AM   #12
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by Rexthewolf View Post
My Samsung 64 card worked too until recently and still works. I have about 50 books on this card but can only read my current book when I reinstall the card. The memory in the tablet is about 80% full that why I prefer to store books on the card. There are about 150 books in my Calibre Library which is in the Documents folder of my Win 10 PC. Is there any good reason why I shouldnt copy the contents of this folder to a usb stick, un-install Calibre, re-install a fresh copy and move all the books from the usb back into the newly created Calibre folder. My feeling is that it is a setting that has been changed (probably by me) that I can no longer find.
Yes, there is a good reason not to do that. Because it is unlikely to be calibre causing the problem. A better thing to do would be to go to another PC and try again. If it fails, then it is the device. If it doesn't fail, it is probably the first PC.

Looking at the error, that is saying that when calibre tries to access something on the tablet, it is failing. It seems to be the card in the tablet. Have you tried to use Windows to access the card when the tablet is connected? Have you tried removing the card and seeing if calibre can see the tablet? Have you tested the card directly in the computer or some other device? Maybe it is failing. Or try an other card in the tablet.
davidfor is offline   Reply With Quote
Old 07-01-2022, 07:46 AM   #13
Rexthewolf
Member
Rexthewolf began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Jul 2016
Device: Samsung Galaxy S2
Quote:
Originally Posted by davidfor View Post
Yes, there is a good reason not to do that. Because it is unlikely to be calibre causing the problem. A better thing to do would be to go to another PC and try again. If it fails, then it is the device. If it doesn't fail, it is probably the first PC.

Looking at the error, that is saying that when calibre tries to access something on the tablet, it is failing. It seems to be the card in the tablet. Have you tried to use Windows to access the card when the tablet is connected? Have you tried removing the card and seeing if calibre can see the tablet? Have you tested the card directly in the computer or some other device? Maybe it is failing. Or try an other card in the tablet.
David
Thanks for the detailed reply. Im off on holiday tomorrow so may resort to a paper-backs for now.
Unfortunately I don't have another PC to try on. Are you thinking its a firewall problem - I hadn't considered that.
Calibre is NOT able to access either the built-in memory of the S2 tablet or the card. When I try to access either, this is when the error is thrown up. I can access both the tablet structure and see/access book files on the card. Its when I try to add a new book either to the main memory or the sd card that the problem arises. Furthermore I can still read books from the card - dont think I could do that if the card was corrupted??
I have a screen-shot from my PC but cant seem to attach it- will try again as an additional post
Rexthewolf is offline   Reply With Quote
Old 07-01-2022, 08:51 AM   #14
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
@Rexthewolf: sometimes these problems can be fixed by rebooting both the computer and the device. By reboot I mean turn the power all the way off (not put the device to sleep), wait 30 seconds or so, then turn the power on.

Reason: the MTP handlers in both devices can get confused. Rebooting resets them.
chaley is offline   Reply With Quote
Old 07-01-2022, 10:50 AM   #15
Rexthewolf
Member
Rexthewolf began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Jul 2016
Device: Samsung Galaxy S2
Quote:
Originally Posted by chaley View Post
@Rexthewolf: sometimes these problems can be fixed by rebooting both the computer and the device. By reboot I mean turn the power all the way off (not put the device to sleep), wait 30 seconds or so, then turn the power on.

Reason: the MTP handlers in both devices can get confused. Rebooting resets them.
Thanks but I have already done that a few times - will do it again anyway
Rexthewolf is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem moving books from Kindle into Calibre Library peterglass Library Management 2 05-30-2022 05:05 PM
Troubleshooting Moving Kindle books to micro-SD card on Samsung Tab A (Android) Tablet Stridr Amazon Kindle 2 07-16-2018 01:33 AM
Moving documents from Android Tablet to Kindle BuzzB Amazon Kindle 2 09-01-2017 08:25 AM
moving books from 1.7 to 2.73 problem Tan Library Management 1 11-30-2016 04:12 AM
Problem moving books to device cmcgranahan Calibre 6 01-11-2011 07:04 PM


All times are GMT -4. The time now is 06:29 AM.


MobileRead.com is a privately owned, operated and funded community.