Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre Companion

Notices

Reply
 
Thread Tools Search this Thread
Old 09-18-2020, 08:56 AM   #1
cns1000
Member
cns1000 began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Sep 2020
Device: None
Device Timeout on local wireless transfer

I am using an Alcatel A30 tablet; as indicated in a previous post, I have been using local wireless connection to push books from my computer to this device. This has worked reasonably well up to now, but at the moment there are a large number of books at both ends, and the communication times out consistently when connecting, while transferring the list of books.

The error log is as follows:

There was a timeout while communicating with the device in function: Device did not respond in reasonable time

Traceback (most recent call last):
File "site-packages\calibre\gui2\device.py", line 90, in run
File "site-packages\calibre\gui2\device.py", line 513, in _books
File "site-packages\calibre\devices\smart_device_app\driver.p y", line 50, in _synchronizer
File "site-packages\calibre\devices\smart_device_app\driver.p y", line 1284, in books
File "site-packages\calibre\devices\smart_device_app\driver.p y", line 50, in _synchronizer
File "site-packages\calibre\devices\smart_device_app\driver.p y", line 642, in _call_client
File "site-packages\calibre\devices\smart_device_app\driver.p y", line 674, in _receive_from_client
TimeoutError: There was a timeout while communicating with the device in function: Device did not respond in reasonable time

I have restarted both the computer and tablet; this doesn't seem to help. I have also connected to my 5 GHz local network instead of the 2.4, while ensuring that the tablet is the only device on that network. That has not helped either.

I have been considering whether connecting via Ethernet would help (it probably would). The computer itself is on Ethernet and not wireless. But I have not been able to find a USB-to-Ethernet adapter online that would be compatible with the Alcatel device. It would have to be Micro USB or else I would need a Micro to USB-C connector for most of the newer adapter types, and I am not sure if that would be feasible.

Any suggestions would be appreciated.

Thanks !
Charles
cns1000 is offline   Reply With Quote
Old 09-18-2020, 05:24 PM   #2
cns1000
Member
cns1000 began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Sep 2020
Device: None
If it is any help, the faillure in communication always occurs at exactly 5min2 sec into the book list transfer.

Someone previously had posted about a similar timeout problem (about two years ago) and it was apparently resiolved by uninstalling and reinstalling CC. I have not done that yet; don't know why I should, but I will if that seems to make sense.

If it is any help, the debug log from cc at the point of failure looks like this. Error involves writing to a broken pipe:

Spoiler:

2020-09-18 17:04:10.729: Log flush
2020-09-18 17:04:10.738: Error writing to output stream.
java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutp utStream.java:112)
at java.net.SocketOutputStream.write(SocketOutputStre am.java:145)
at com.multipie.cclibrary.Network.Protocol.send(Proto col.java:105)
at com.multipie.cclibrary.Network.Communicator.sendPa cket(Communicator.java:291)
at com.multipie.cclibrary.Network.Commands.GetBooks.d oCommand(GetBooks.java:116)
at com.multipie.cclibrary.Network.Communicator.interp retAndReply(Communicator.java:264)
at com.multipie.cclibrary.Network.Communicator.runLoo p(Communicator.java:219)
at com.multipie.cclibrary.Network.Communicator.run(Co mmunicator.java:242)
2020-09-18 17:04:10.746: Log flush
2020-09-18 17:04:10.754: Error writing to output stream.
java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutp utStream.java:112)
at java.net.SocketOutputStream.write(SocketOutputStre am.java:145)
at com.multipie.cclibrary.Network.Protocol.send(Proto col.java:105)
at com.multipie.cclibrary.Network.Communicator.sendPa cket(Communicator.java:291)
at com.multipie.cclibrary.Network.Commands.GetBooks.d oCommand(GetBooks.java:116)
at com.multipie.cclibrary.Network.Communicator.interp retAndReply(Communicator.java:264)
at com.multipie.cclibrary.Network.Communicator.runLoo p(Communicator.java:219)
at com.multipie.cclibrary.Network.Communicator.run(Co mmunicator.java:242)
2020-09-18 17:04:10.764: Log flush
2020-09-18 17:04:10.766: in middle of caching: book.size=4093, numberOfBooks=4093
2020-09-18 17:04:10.767: Command GetBooks: caching, sent uuids
2020-09-18 17:04:10.768: Protocol.read: socket reports it was closed
2020-09-18 17:04:10.769: Exception in getbooks cache code
java.lang.NullPointerException: Attempt to invoke virtual method 'org.json.JSONObject org.json.JSONArray.getJSONObject(int)' on a null object reference
at com.multipie.cclibrary.Network.Commands.GetBooks.d oCommand(GetBooks.java:134)
at com.multipie.cclibrary.Network.Communicator.interp retAndReply(Communicator.java:264)
at com.multipie.cclibrary.Network.Communicator.runLoo p(Communicator.java:219)
at com.multipie.cclibrary.Network.Communicator.run(Co mmunicator.java:242)
2020-09-18 17:04:10.776: Log flush
2020-09-18 17:04:10.793: Error writing to output stream.
java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutp utStream.java:112)
at java.net.SocketOutputStream.write(SocketOutputStre am.java:145)
at com.multipie.cclibrary.Network.Protocol.send(Proto col.java:105)
at com.multipie.cclibrary.Network.Communicator.sendPa cket(Communicator.java:291)
at com.multipie.cclibrary.Network.Commands.GetBooks.d oCommand(GetBooks.java:160)
at com.multipie.cclibrary.Network.Communicator.interp retAndReply(Communicator.java:264)
at com.multipie.cclibrary.Network.Communicator.runLoo p(Communicator.java:219)
at com.multipie.cclibrary.Network.Communicator.run(Co mmunicator.java:242)
2020-09-18 17:04:10.801: Log flush
2020-09-18 17:04:10.805: Command GetBooks: finished



Thanks for any assistance with this

Charles

Last edited by theducks; 09-19-2020 at 07:59 PM. Reason: spoiler
cns1000 is offline   Reply With Quote
Advert
Old 09-19-2020, 11:50 AM   #3
cns1000
Member
cns1000 began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Sep 2020
Device: None
I will presume there is no way to resolve the above. However, I have figured out what alternate approach I should be using and that seems to be working (though there is now another problem which I will post about separately).

To summarize:

- using Local Drive connection on the Android device doesn't work because CC will not let me set the directory, other than "\"

- using wireless connection will not work because the connection continually times out when transferring the list of books

- I can, however, use USB. My device had not been showing up unless I connected wirelessly; but I did not realize that it was in fact being recognized as an MTP device when I connect via USB; however, it only appears if I have the USB connection in place at the time I start Calibre.

So I have been transferring files via USB; now I will post about the other problem, which is a directory issue.
cns1000 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wireless file transfer to boox? ist Onyx Boox 3 09-30-2019 02:53 PM
found more than one calibre: smart device / wireless device? nikoski Calibre Companion 3 08-04-2016 05:23 AM
Kobo Aura HD ... is wireless transfer possible? Kasper Hviid Devices 3 07-19-2013 11:19 PM
transfer a book from 1 kindle to another with wireless? geordiejohn Library Management 0 05-31-2013 02:25 PM
Wireless and USB transfer markvdvelde Amazon Kindle 3 01-25-2011 10:41 AM


All times are GMT -4. The time now is 07:43 PM.


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