Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Onyx Boox

Notices

Reply
 
Thread Tools Search this Thread
Old 07-12-2024, 12:26 PM   #1
PattyPositive
Member
PattyPositive began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jul 2024
Device: Kindle Paperwhite Signature Edition, Boox Page
Boox Pagecalibre error

Hi guys, I just got a new Onyx Boox Page, and when I connect it to my PC and open calibre an try to transfer books, I get error communicating with device, with this error message.

's10001'

Traceback (most recent call last):
File "calibre\gui2\device.py", line 112, in run
File "calibre\gui2\device.py", line 596, in _sync_booklists
File "calibre\devices\mtp\driver.py", line 370, in sync_booklists
File "calibre\devices\mtp\driver.py", line 360, in write_metadata_cache
File "calibre\devices\mtp\driver.py", line 200, in put_calibre_file
File "calibre\devices\mtp\windows\driver.py", line 37, in check_thread
File "calibre\devices\mtp\windows\driver.py", line 447, in put_file
File "calibre\devices\mtp\windows\driver.py", line 37, in check_thread
File "calibre\devices\mtp\windows\driver.py", line 431, in delete_file_or_folder
File "calibre\devices\mtp\filesystem_cache.py", line 120, in parent
KeyError: 's10001'


I have factory reset it and everything. Even though it says error the books do transfer, advice/thoughts? Thank you so much!
PattyPositive is offline   Reply With Quote
Old 07-12-2024, 05:33 PM   #2
Renate
Onyx-maniac
Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.
 
Posts: 3,118
Karma: 12439909
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
Did you have Calibre working on your previous device?
Renate is offline   Reply With Quote
Advert
Old 07-12-2024, 07:45 PM   #3
PattyPositive
Member
PattyPositive began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jul 2024
Device: Kindle Paperwhite Signature Edition, Boox Page
Quote:
Originally Posted by Renate View Post
Did you have Calibre working on your previous device?
yes yesterday it worked without errors. An my Kindle has n o issues whatsoever. Ideas?
PattyPositive is offline   Reply With Quote
Old 07-12-2024, 08:58 PM   #4
Renate
Onyx-maniac
Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.
 
Posts: 3,118
Karma: 12439909
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
Sorry, I'm intentionally very ignorant about MTP and Calibre.
It could be that you're missing a directory/permission where it's trying to store something.
You might be able to get more info if you run an "adb logcat" on the Page while syncing.

There are lots of Calibre pros around here though.
See: https://www.mobileread.com/forums/sh...45&postcount=3
Renate is offline   Reply With Quote
Old 07-12-2024, 09:23 PM   #5
PattyPositive
Member
PattyPositive began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jul 2024
Device: Kindle Paperwhite Signature Edition, Boox Page
Quote:
Originally Posted by Renate View Post
Sorry, I'm intentionally very ignorant about MTP and Calibre.
It could be that you're missing a directory/permission where it's trying to store something.
You might be able to get more info if you run an "adb logcat" on the Page while syncing.

There are lots of Calibre pros around here though.
See: https://www.mobileread.com/forums/sh...45&postcount=3
Thank you I tried all those, to no success. no idea what's going on but oh well, it still is working.
PattyPositive is offline   Reply With Quote
Advert
Old 07-13-2024, 09:12 AM   #6
BenTheGreat
Junior Member
BenTheGreat began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jul 2024
Device: Kindle Scribe
I just started to have the same issue after the update, except on my Kindle Scribe. No other changes were made. Like the OP, despite it giving me an error alert, it still performs the tasks I select.

Despite it simply being annoying, I would still be interested as to what would be causing this issue suddenly. I will try a few things and report back here if I have any success.

Last edited by BenTheGreat; 07-13-2024 at 09:14 AM.
BenTheGreat is offline   Reply With Quote
Old 07-13-2024, 03:11 PM   #7
PattyPositive
Member
PattyPositive began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jul 2024
Device: Kindle Paperwhite Signature Edition, Boox Page
Quote:
Originally Posted by BenTheGreat View Post
I just started to have the same issue after the update, except on my Kindle Scribe. No other changes were made. Like the OP, despite it giving me an error alert, it still performs the tasks I select.

Despite it simply being annoying, I would still be interested as to what would be causing this issue suddenly. I will try a few things and report back here if I have any success.
At least I'm not the only one. Yeah it's annoying as hell, and even a factory reset didn't solve my issue, I look forward to any insight you may find. Cheers!
PattyPositive is offline   Reply With Quote
Old 07-13-2024, 04:38 PM   #8
Renate
Onyx-maniac
Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.
 
Posts: 3,118
Karma: 12439909
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
Look for a file called "metadata" somewhere.
Calibre is trying to delete that to replace it with a new file full of JSON.
Try deleting it. Or is it a directory or some other problem?
Does that fix the problem? Or does it allow it to work correctly only once?
Renate is offline   Reply With Quote
Old 07-13-2024, 07:04 PM   #9
PattyPositive
Member
PattyPositive began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jul 2024
Device: Kindle Paperwhite Signature Edition, Boox Page
Quote:
Originally Posted by Renate View Post
Look for a file called "metadata" somewhere.
Calibre is trying to delete that to replace it with a new file full of JSON.
Try deleting it. Or is it a directory or some other problem?
Does that fix the problem? Or does it allow it to work correctly only once?
I did try that, sadly it did not correct the issue.
PattyPositive is offline   Reply With Quote
Old 07-13-2024, 07:17 PM   #10
Renate
Onyx-maniac
Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.
 
Posts: 3,118
Karma: 12439909
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
Quote:
Originally Posted by PattyPositive View Post
I did try that, sadly it did not correct the issue.
Yes, but if you delete that file any error you get immediately afterwards must be different.
You should quote the traceback.
Renate is offline   Reply With Quote
Old 07-15-2024, 03:29 PM   #11
PattyPositive
Member
PattyPositive began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jul 2024
Device: Kindle Paperwhite Signature Edition, Boox Page
Quote:
Originally Posted by Renate View Post
Yes, but if you delete that file any error you get immediately afterwards must be different.
You should quote the traceback.
I just tried your suggestion; there was no change

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

's10001'

Traceback (most recent call last):
File "calibre\gui2\device.py", line 112, in run
File "calibre\gui2\device.py", line 596, in _sync_booklists
File "calibre\devices\mtp\driver.py", line 370, in sync_booklists
File "calibre\devices\mtp\driver.py", line 360, in write_metadata_cache
File "calibre\devices\mtp\driver.py", line 200, in put_calibre_file
File "calibre\devices\mtp\windows\driver.py", line 37, in check_thread
File "calibre\devices\mtp\windows\driver.py", line 447, in put_file
File "calibre\devices\mtp\windows\driver.py", line 37, in check_thread
File "calibre\devices\mtp\windows\driver.py", line 431, in delete_file_or_folder
File "calibre\devices\mtp\filesystem_cache.py", line 120, in parent
KeyError: 's10001'
PattyPositive is offline   Reply With Quote
Old 07-15-2024, 03:55 PM   #12
Renate
Onyx-maniac
Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.
 
Posts: 3,118
Karma: 12439909
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
Quote:
Originally Posted by PattyPositive View Post
I just tried your suggestion; there was no change
Ok, but you don't know if that error occurs on the second time it tries to write the metadata.
Is there a new "metadata" file regenerated there, despite that error?

How did you delete metadata? With ADB? With a file explorer on Android?
Try deleting metadata using File Explorer in Windows.

Is the Android actually disconnecting? Does it make Windows make a "bong"?

Get ADB working on Android.
Do things that get Calibre and/or Window errors while watching "adb logcat" go by.

Last edited by Renate; 07-15-2024 at 04:03 PM.
Renate is offline   Reply With Quote
Old 07-15-2024, 04:48 PM   #13
PattyPositive
Member
PattyPositive began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jul 2024
Device: Kindle Paperwhite Signature Edition, Boox Page
Quote:
Originally Posted by Renate View Post
Ok, but you don't know if that error occurs on the second time it tries to write the metadata.
Is there a new "metadata" file regenerated there, despite that error?

How did you delete metadata? With ADB? With a file explorer on Android?
Try deleting metadata using File Explorer in Windows.

Is the Android actually disconnecting? Does it make Windows make a "bong"?

Get ADB working on Android.
Do things that get Calibre and/or Window errors while watching "adb logcat" go by.
The error occurs every time I delete the metadata file, regardless of how I delete or try to update the file. I did it through the file explorer in Windows, it produced no change.
PattyPositive is offline   Reply With Quote
Old 07-17-2024, 04:49 AM   #14
Renate
Onyx-maniac
Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.
 
Posts: 3,118
Karma: 12439909
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
Oops, sorry, I missed your response.
As the code shows, this is how Calibre saves the metadata:
  • Turn metadata into a big JSON string
  • Does the file "metadata" exist? Then delete it.
  • Write the string to the file "metadata"
That there is that file means that it works sometimes (when there is no file already).
That we get that error means that the deletion process is the problem.
99% of what Calibre is doing is writing files to Android (copying books).
The 1% is things like this metadata.

It looks like this is a bug in filesystem_cache.py
It seems that it can't find the parent of metadata although the file exists.
There were major changes in this file in the last few weeks.
You can try replacing that file with the last version.
https://raw.githubusercontent.com/ko...ystem_cache.py
Renate is offline   Reply With Quote
Old 07-17-2024, 12:27 PM   #15
PattyPositive
Member
PattyPositive began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jul 2024
Device: Kindle Paperwhite Signature Edition, Boox Page
Could this just been an update error with Calibre that may get sorted in the future? I'll try what you suggested, thank you!
PattyPositive is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Boox Note (Pro) Book Date Import Error otta56 Onyx Boox 2 05-10-2020 03:38 PM
BOOX 2.2.2 firmware update is now available for all BOOX that run Android 6.0 OS. Onyx Boox Onyx Boox 14 01-15-2020 10:47 PM
Firmware V2.2.2 is available for the BOOX Max3 & BOOX Note2 Onyx Boox Onyx Boox 1 12-16-2019 06:02 AM
BOOX about to release BOOX Note(10.3") and a BOOX typewriter... bthb Onyx Boox 67 05-20-2018 03:27 AM
KOReader does not refresh on Boox Max 2 & Boox Note linshi KOReader 0 01-21-2018 04:12 AM


All times are GMT -4. The time now is 09:40 PM.


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