|
|
Thread Tools | Search this Thread |
08-11-2012, 09:29 AM | #1 |
Grand Sorcerer
Posts: 12,063
Karma: 7874545
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
[Android App] Beta version: Android app to connect as a device to calibre using wifi
Latest version of Calibre Companion: V1.8 23/August.
FAQ sections revised on 22/August. ============================================== Calibre Companion is an Android app that permits Android devices to connect to calibre as a reading device, as opposed to connecting to the content server. A more complete description of the current release of the app is: Spoiler:
Calibre Companion is available on Google Play. It runs on Android Gingerbread (2.3) and later. Please make comments or report bugs using the devices MobileRead forum (this forum) (a thread per comment would be good), via private messages to either of us (chaley or steve_haley), or via email to “calibre_companion [at] MultiPie dot co dot uk”. Be sure to type “MultiPie” (many pies) and not “multiple”. Full disclosure: Kovid has started work in calibre to support MTP connection to devices. He isn't yet able to give a delivery date, but he is making progress. Although our app does more than calibre will do over an MTP connection, you might prefer to wait for whatever he produces. If so, again, we won't be offended. Regarding problems in the beta version: 1) There is a bug in MacOS that causes intermittent problems with connections and sending books. Although the problem is in MacOS itself, a workaround for the problem has been release in calibre 0.8.65. 2) Transferring 1000s of books causes problems. We are working on how to improve this process. NEWS: releases 1.6 and 1.7 contain many changes to ameliorate these issues. Thank you for your interest and support. CHANGE LOG: Spoiler:
FAQ:
Last edited by chaley; 08-24-2012 at 07:23 AM. |
08-12-2012, 04:41 PM | #2 |
Junior Member
Posts: 8
Karma: 10
Join Date: Aug 2012
Device: Nexus 7
|
First use on Nexus 7
I have d/l and installed the app, and have these comments:
|
Advert | |
|
08-12-2012, 04:57 PM | #3 | |||||
Grand Sorcerer
Posts: 12,063
Karma: 7874545
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Thanks for the comments.
Quote:
Quote:
Quote:
By any chance did you specify an IP address and a port? If so, did you use the port of the content server? If so, then that is the cause of the problem. See the updated FAQ response #1 in the first post. Quote:
Quote:
If you have not given calibre's content server port to the app then I suggest that your run calibre in debug mode as described in FAQ item # 3. That will tell us whether or not the app is connecting properly, and if so what the app is actually doing from calibre's perspective. |
|||||
08-12-2012, 04:57 PM | #4 |
Grand Sorcerer
Posts: 12,063
Karma: 7874545
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
An update has been put on Google Play that fixes an occasional bug when downloading metadata.
|
08-12-2012, 10:41 PM | #5 | |
US Navy, Retired
Posts: 9,868
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Quote:
If I was a betting man I'd bet he never selected any books in his library and did not click the send to device icon. But then again I don't bet because I often lose. Last edited by DoctorOhh; 08-12-2012 at 10:44 PM. |
|
Advert | |
|
08-13-2012, 05:43 AM | #6 |
Junior Member
Posts: 8
Karma: 10
Join Date: Aug 2012
Device: Nexus 7
|
Doh!
Most of my mind was on watching the Olmpics last night, and none of it on being sensible and clicking a selection!
Stand by for updates........: |
08-13-2012, 06:06 AM | #7 |
Junior Member
Posts: 8
Karma: 10
Join Date: Aug 2012
Device: Nexus 7
|
Results so far
This is what I did:
Opened Calibre in debug mode Selected a couple of books Turned on Nexus and opened app Connected Went to pc and right clicked on books Selected 'send to device'. First level options (send to main memory etc) grayed out clicked 'set default send to device action' selected main memory waited No success Log attached: calibre Debug log calibre 0.8.64 Windows-7-6.1.7601-SP1 Windows ('Windows', '7', '6.1.7601') Python 2.7.3 Windows: ('7', '6.1.7601', 'SP1', 'Multiprocessor Free') Starting up... QAccessibleWidget::rect: This implementation does not support subelements! (ID 2 unknown for QWidget) QAccessibleWidget::rect: This implementation does not support subelements! (ID 2 unknown for QWidget) Started up in 24.38 seconds with 6005 books SMART_DEV ( 0.00: 0.000) startup_on_demand try port 9090 SMART_DEV ( 0.97: 0.811) startup_on_demand listening on port 9090 QAccessibleWidget::rect: This implementation does not support subelements! (ID 966 unknown for QWidget) QAccessibleWidget::rect: This implementation does not support subelements! (ID 967 unknown for QWidget) SMART_DEV ( 63.39: 62.357) reset SMART_DEV ( 63.42: 0.000) set_progress_reporter SMART_DEV ( 63.43: 0.000) open SMART_DEV ( 63.47: 0.016) _call_client GET_INITIALIZATION_INFO SMART_DEV ( 84.82: 21.340) _call_client device went away Unable to open device <calibre.devices.smart_device_app.driver.SMART_DEV ICE_APP object at 0x03920490> Traceback (most recent call last): File "site-packages\calibre\gui2\device.py", line 170, in do_connect File "site-packages\calibre\devices\smart_device_app\driver.p y", line 43, in _synchronizer File "site-packages\calibre\devices\smart_device_app\driver.p y", line 555, in open File "site-packages\calibre\devices\smart_device_app\driver.p y", line 376, in _call_client ControlError: <unprintable ControlError object> Connect to device failed, retrying in 5 seconds... QAccessibleWidget::rect: This implementation does not support subelements! (ID 969 unknown for QWidget) QAccessibleWidget::rect: This implementation does not support subelements! (ID 966 unknown for QWidget) SMART_DEV ( 89.87: 5.012) reset SMART_DEV ( 89.90: 0.000) set_progress_reporter SMART_DEV ( 89.91: 0.000) open Unable to open device <calibre.devices.smart_device_app.driver.SMART_DEV ICE_APP object at 0x03920490> Traceback (most recent call last): File "site-packages\calibre\gui2\device.py", line 170, in do_connect File "site-packages\calibre\devices\smart_device_app\driver.p y", line 43, in _synchronizer File "site-packages\calibre\devices\smart_device_app\driver.p y", line 536, in open ControlError: <unprintable ControlError object> Device connect failed again, giving up |
08-13-2012, 06:46 AM | #8 |
US Navy, Retired
Posts: 9,868
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Did you update Calibre Companion?
Just to be clear did you click show in FAQ #1 in the first post and review the steps to connect? I won't be home for another 3 hours. Since I have a Nexus 7 too, I'll run in debug mode to see how they compare. |
08-13-2012, 09:59 AM | #9 |
US Navy, Retired
Posts: 9,868
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
I do not have any problem. The following debug info is from successful operations.
My setup follows: Windows 7 SP1 calibre 0.8.64 Calibre Companion v1.1 I attached an image (see first two attachments) of my SmartDevice App Interface settings. This is found at Preferences - Plugins - Device Interface Plugins. I never entered a IP or port into my Nexus since it was on the same network it found calibre and during handshaking calibre and the Nexus 7 decided to use port 19812. Here is my debug info from calibre connecting and successfully transferring 8 books to my Nexus 7. Spoiler:
This time I entered calibre's IP and used the default port 9090 into my Nexus 7. To do this I had to change the plugin to use port 9090 by checking the box (see attached.) This time the log shows port 9090 being used Here is my debug info from calibre connecting and successfully transferring 10 books to my device. Spoiler:
Update: I just tested a few things: Deleted all of the books on my device via calibre's UI. On the Nexus changed location of where to send the books. Sent 109 books to my device in 4 minute and 30 seconds. Books ended up in the new location. So far so good. Last edited by DoctorOhh; 08-13-2012 at 10:40 AM. |
08-13-2012, 11:52 AM | #10 |
Grand Sorcerer
Posts: 12,063
Karma: 7874545
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
@JDriver: reading that debug log, it looks like your device might have gone to sleep and shut down the network connection. Hard to know for sure, but that would account for it.
@everyone: there is a new release of Calibre Companion on Google Play. version 1.2. This release fixes the landscape/portrait problems, adds a check to verify that the device is connecting to calibre's smartdevice driver and not the content server, and prevents the device from turning off the network while connected to calibre. |
08-13-2012, 01:46 PM | #11 |
Grand Sorcerer
Posts: 12,063
Karma: 7874545
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
@everyone: "Lissa" left a review on google play mentioning that she (?) had problems with cover thumbnails not always downloading. Can anyone shed some light on this? We would like to fix the problem, but it is very hard to fix a problem that we cannot reproduce.
|
08-13-2012, 02:11 PM | #12 |
Junior Member
Posts: 8
Karma: 10
Join Date: Aug 2012
Device: Nexus 7
|
More trouble shooting
I have updated the companion to 1.2
I have enabled calibre to pass through the windows firewall On running calibre on the pc with the wireless connection enabled, then went to the area where there is wifi and started the app, which immediately asked if the ip addresses were correct, as it could not id calibre. (they are) One thing which does occur to me is that the books & database are kept on a NAS drive which is configured as a drive on the host machine. As the NAS drive has its own IP address could this cause problems? |
08-13-2012, 02:25 PM | #13 | ||
Grand Sorcerer
Posts: 12,063
Karma: 7874545
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
One way to help verify that the two networks can communicate is to start calibre's content server, then attempt to connect to it from your tablet. This process removes the effects of any lingering bugs in either our calibre driver or the app. If your device can see calibre's content server, then we must have another set of problems. I suspect firewalls and routers, but I cannot prove that. Quote:
|
||
08-13-2012, 02:56 PM | #14 |
Junior Member
Posts: 1
Karma: 10
Join Date: Aug 2012
Device: Nexus 7
|
Hi, I bought the Calibre Companion earlier today and used it to transfer a couple of books. That worked fine, but now it crashes each time I try to run it. The error is java.lang.NullPointerException and the message is "Unable to resume activity." It's 100% reproducable. Any suggestions on how to proceed? Let me know if you'd like any data from me. This is using the latest version of Calibre Companion (1.3 from Aug 13) as well as the one prior to that. The device is a Nexus 7 running Android 4.1.1.
|
08-13-2012, 04:13 PM | #15 |
Junior Member
Posts: 8
Karma: 60
Join Date: Aug 2012
Device: Kobo Touch and Nexus 7
|
So far it's fantastic. I LOVE this functionality! Thank you so much!
I have only one small request, can we have a "refresh metadata" button or something similar? For example: If I change the metadata for a book while the Nexus 7 is connected and would like to re-send the metadata for the version that is already on my device. At this point, the only way for it to re-send and sync the metadata is for me to disconnect, and then reconnect, then the auto-sync takes over. Would it be possible to add a button shortcut for this in the app? Edit: And for some strange reason, when I sort by Author but do not group them, the books by that author appear to be listed in random order. Is that normal? Is there a setting that I'm missing that would be some sort of secondary sort order? Last edited by FlareHeart; 08-13-2012 at 04:24 PM. Reason: Added second question. |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Android App] Calibre Companion 1.7 Beta testing | Adoby | Devices | 31 | 09-07-2012 11:13 PM |
[Android App] Coming: Android app to connect as a device to calibre using wifi | chaley | Devices | 92 | 09-07-2012 09:24 PM |
[Android App] Can't get Calibre Companion to connect | theangelicious1 | Devices | 2 | 09-01-2012 05:09 AM |
calibre - send to device - android running Nook App. | Mad_Robot | Devices | 6 | 10-16-2011 02:49 PM |
Android app for reading web articles with Kindle (app and device) | fivefilters | Android Devices | 0 | 07-02-2011 10:29 PM |