08-12-2021, 02:35 AM | #1 |
Enthusiast
Posts: 47
Karma: 5532
Join Date: Jul 2017
Device: MoonReader+ Android app on Samsung Galaxy S6 Lite and otherst
|
Crash on connecting LG V20 phone
I had copied a few books to my phone to read with Moon+Reader Pro (same app I use on my tablet, where I do most of my reading), and was trying to use the sync-to-Google Drive feature to, well, sync them up. It's not syncing as it should, and I discovered that I have two different sync files in my GDrive, with variations on the filename. That probably explains the sync failure - the two devices are each looking for a slightly different sync file.
The most obvious difference is that with the tablet, I connect it to the computer via USB and with the phone, I've been using Calibre's content server. So tonight I tried connecting the phone by USB to copy books that way, but whenever I do that Calibre crashes once it notices that the phone is attached. I'm using 5.24.0 portable. I ran in debug mode, and here are some lines that I hope will be useful: Spoiler:
Last edited by theducks; 08-12-2021 at 06:40 AM. Reason: spoilered log |
08-12-2021, 03:03 AM | #2 |
creator of calibre
Posts: 43,864
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
crashes with what error?
|
Advert | |
|
08-13-2021, 02:18 AM | #3 |
Enthusiast
Posts: 47
Karma: 5532
Join Date: Jul 2017
Device: MoonReader+ Android app on Samsung Galaxy S6 Lite and otherst
|
No error message at all. It just closes down. Usually it's almost immediately after it sees the phone, sometimes it takes a minute or two, or scrolling a bit or searching for a book. This behavior is persistent and re-occurred after the computer had been shut down & restarted. I have not had this problem with either of my two Android tablets, just the phone.
|
08-13-2021, 03:01 AM | #4 |
creator of calibre
Posts: 43,864
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Then that will be a crash in the mtp driver. I fixed all of those i could find by code inspection, but apparently there is still something left. Sadly without a way to reproduce its not going to be possible to fix. You will have to use one of the wireless transfer methods for this device: https://manual.calibre-ebook.com/faq...kindle-fire-hd
|
08-13-2021, 09:42 PM | #5 |
Enthusiast
Posts: 47
Karma: 5532
Join Date: Jul 2017
Device: MoonReader+ Android app on Samsung Galaxy S6 Lite and otherst
|
So the reason I was trying to use the USB method on my phone was to fix problems I was having with Moon+Reader in syncronizing reading position across devices. Apparently, its sync file name is based on the device-file name, and those names are different across the devices. That would certainly explain the sync-failure since they're not recognized as the same book.
I found a Calibre setting under Preferences - Sending books to devices, and it is set at the default: {author_sort}/{title} - {authors}. For the tablet, which generally receives books via USB, I'm seeing (at least for the file I'm currently reading & trying to sync with my phone) {title_sort} - {Authors}. For my phone, getting books via Content Server, I'm getting files named {title} - {authors}. Temporarily changing the setting in Preferences - Sending Books to {title_sort} - {authors}, then deleting and re-sending the book to the phone, I still got a file named {title} - {authors} and the sync-failure continued. So clearly, I'm not fully understanding how this preference is supposed to function. So, is there a way to get Calibre to send the same file name to the receiving device regardless of sending method? I do see in the Sending books to devices preference a mention of adjusting preferences by device, but I haven't tried that with my tablet, so it should follow the defaults, and I can't try it for my phone, because Calibre bails when it sees my phone connected. |
Advert | |
|
08-13-2021, 10:18 PM | #6 |
creator of calibre
Posts: 43,864
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No if you use wireless the the filename is ultimately controlled by the software on the device not calibre.
|
Tags |
crash, lg phone, sync |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sync Calibre Library on DropBox to SDHC on LG V20 cell phone | lancre | Alternative Devices | 0 | 07-06-2020 06:14 PM |
Crash when connecting to folder | triggerfish | Library Management | 2 | 12-15-2012 03:40 AM |
connecting ipad to the internet through an android phone? | jojoba | Apple Devices | 4 | 11-13-2011 07:34 AM |
Connecting to Windows Phone 7 devices | solitaire | Calibre | 19 | 11-19-2010 07:11 PM |