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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 08-11-2012, 08:29 AM   #1
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: 11,691
Karma: 6240117
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:
The app connects to calibre as a device without using a cable, instead using wifi. In effect, it replaces the USB cable.

Why is this necessary? Calibre currently supports devices in two ways. The first is by connecting the device to the computer with a USB cable. When a device is connected this way, calibre is in charge. One uses calibre to send books to the device, delete books from the device, etc. The "on device" checkmarks show in the library when using this method.

The second way of connecting is by using calibre#s content server. When connecting this way, the device is in charge. The user taps/types on the device to navigate through calibre's web pages, getting books etc. There is no "on device" indication, either in calibre or on the device.

One problem becoming more and more common with the first method, and a major driver for this app, is that newer Android devices cannot be connected to calibre by a cable. These newer versions of Android (versions 3 and up, Honeycomb, Ice Cream Sandwich, and Jellybean) do not support being connected as a "disk drive", something calibre requires to be able to "see" the device. The app we are developing gets around this problem by connecting to calibre wirelessly (wifi, no cable).

The app currently supports:
  • Full support of calibre's device interface, including add and delete books, "on device", plugin notification, and automatic conversion.
  • Book display on the device grouped by title, author, tags, series, and publisher with first-letter navigation.
  • Book display grouped by custom fields.
  • Support for calibre's automatic metadata management facility. The app displays metadata supplied by calibre, not the metadata contained in the book's file.
  • Launching of reader apps if they advertize their capabilities. It works with (at least) FBReader, Cool Reader, and Adobe reader. Kindle for Android does not play nice, so files to be read with it must be placed in the "kindle" folder.
  • Collections (similar to Sony collections, Nook shelves & Kindle collections). The collections will appear in the same way as grouping by tags/series etc. The collections will be managed by calibre similarly to calibre's collection management for Sony devices.
  • Simplified driver control in calibre. The driver can be started and stopped using the Connect/Share menu.
  • Optional password-protected access and rogue client flood-connection detection.
  • Manual IP setup in case the network/wifi router does not support finding calibre automatically or if the device and calibre are not on the same local network.
  • Support for Android 2.3 and up.
  • Multiple folder format routing.
  • The ability to manually specify storage folders to support external SD cards with vendor-specific names.
What is not in the current app:
  • Detailed/complete metadata display (book details).
  • The content server interface.
  • Some menus, such as Setup, aren't as pretty as we would like.
  • The ability to delete books from calibre companion's database in calibre companion, without involving calibre.

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:
Version 1.8.1 (24/Aug/2012)
Spoiler:
NEW FEATURES:
  • Added pdf and azw3 to the default extensions
BUG FIXES:
  • Fixed problem with DB upgrades when the DB had been damaged somehow
Version 1.8 (23/Aug/2012)
Spoiler:
NEW FEATURES:
  • Dramatic performance improvements in searching and grouping
  • Performance improvements when connecting to calibre
  • Progress bars when uploading metadata to calibre or downloading metadata from calibre.
  • Ability to enter arbitrary paths for folders, allowing access to "non-standard" SD cards.
  • Notifications during certain database upgrade operations.
BUG FIXES:
  • Better use of memory when downloading books. Should help devices like the Nook Color.
  • Font color problems when choosing folders
  • Improved separation of items when grouping, to avoid confusion between items containing commas and items separated by commas.
  • Improvements in connection, attempting to avoid spurious connection failure messages.
  • Better information in calibre about IP addresses and ports.
  • Fixed a problem when sorting by series.
  • Indicate on the action bar when grouping is active.
Version 1.7.1 (21/Aug/2012)
Spoiler:

BUG FIXES:
  • Fixed problem in changing storage folders.
Version 1.7 (20/Aug/2012)
Spoiler:
NEW FEATURES:
  • Improved function of the back button.
  • Dramatically improved performance when not using grouping. (Grouping performance improvements to come.)
  • Improved "flinging" performance by displaying covers in the background.
BUG FIXES:
  • Fixed license verification for older devices when using multiple google accounts.
  • Multiple send-book jobs no longer confuse the progress dialog.
  • More reductions in memory usage.
  • Cleanly disconnect from calibre when the app is exited using the back button.
Version 1.6.1 (18/Aug/2012)
Spoiler:
NEW FEATURES:
BUG FIXES:
  • Fix regression in group-by displays. (sigh. Long days lead to silly mistakes.)
Version 1.6 (18/Aug/2012)
Spoiler:
NEW FEATURES:
  • Grouping is saved and restored
  • Book/format folder routing (folder per extension)
  • Splash screen on startup while loading books
  • Message saying "transfer books now" when library is empty
BUG FIXES:
  • Total redo of memory management to (one hopes) eliminate the out-of-memory errors when sending books and on display of large libraries.
  • Don't force a particular sort when grouping
  • Ask for WiFi permissions, something that HTC seems to demand.
Version 1.5 (17/Aug/2012)
Spoiler:
NEW FEATURES:
  • Add error messages for incorrect IP addresses, for example to the content server.
  • Book/format folder routing (folder per extension)
BUG FIXES:
  • Better handle screen rotations when showing progress dialogs.
  • More information from the license manager
Version 1.4 (15/Aug/2012)
Spoiler:
NEW FEATURES:
BUG FIXES:
  • Fix regression in IP address handling
Version 1.3 (14/Aug/2012)
Spoiler:
NEW FEATURES:
  • Better IP address and password dialogs
  • Multi-level sorting
BUG FIXES:
  • Fix crash caused by missing covers.
  • Make progress bars survive application sleeping
Version 1.2 (13/Aug/2012)
Spoiler:
NEW FEATURES:
  • Attempt to detect connecting to the content server instead of the device handler.
  • Prevent WiFi sleeping when connected
  • Add the CC version number to the dialog with calibre.
BUG FIXES:
  • Make transfer and initialization dialogs sticky.
Version 1.1 (12/Aug/2012)
Spoiler:
NEW FEATURES:
BUG FIXES:
  • Fix problems caused by library redisplay while downloading.
  • Don't redisplay on every book. See if more books will arrive in time.
  • Fix problem with creation of default folder.


FAQ:
  1. The app won’t connect to calibre!
    Spoiler:
    1. First, ensure that you have started the wireless device driver in calibre. Click on Connect/Share, then “Start wireless device connection”.
      Click image for larger version

Name:	01-calibre_menu.png
Views:	628
Size:	89.9 KB
ID:	90526
    2. If the above isn't enough to get you going, then it is possible that your wireless router has disabled multicast or that your firewall does not handle dynamic port assignment. See the next item if your firewall is configured port-by-port. Regarding multicast: this feature is sometimes called multicast-DNS, zero-config, or bonjour. Some Cisco routers have this “feature”. It is impractical for us to provide detailed instructions for all the routers out there. Check the manual for your router to see how to enable multicast.
    3. If you can’t enable multicast, if your device and the computer running calibre are not on the same local network, or if you are running a firewall that does not handle dynamic port assignment, then you must provide calibre’s IP address to your phone.

      First, in calibre, go to the device customization panel for the Smartdevice driver (Preferences -> plugins -> Device interface plugins -> Smartdevice app interface). Check the box "Use a fixed network port". Change the default port number (9090) if you wish. You must not enter the same port used calibre's content server. Make a note of the port number that you use.
      Click image for larger version

Name:	13-calibre_device_customization.png
Views:	678
Size:	232.0 KB
ID:	90593
      Next, start the wireless driver in calibre. You will then be able to see calibre’s IP address, as shown in the following:
      Click image for larger version

Name:	02-IP_Address.png
Views:	639
Size:	97.3 KB
ID:	90527
      Note the IP address.

      Now, enter the IP address on your phone. Click on the “Calibre’s IP address” menu item.
      Click image for larger version

Name:	03-app_ip_address.png
Views:	656
Size:	21.5 KB
ID:	90528
      You will see the following dialog.
      Click image for larger version

Name:	04-app_ip_dialog-1.png
Views:	576
Size:	22.9 KB
ID:	91092
      Enter the IP address you noted. Enter the port number you noted in device customization (above) in the port box. If your machine has a domain name, you can (at least in theory) enter that name instead of the IP address. You must always enter both an IP address/name and a port number.

      Last: be sure that the firewall you are running allows incoming connections to the chosen port number.
  2. I have books on my device that don’t show up in calibre. How do I fix this?
    Spoiler:
    For the moment the app does not scan your device for books. The only way calibre knows about a book is if calibre sent it to the device. For several reasons related to how calibre gets metadata from “unknown” books, scanning would be very slow.

    We are considering adding a feature to the app that permits adding books on the device to the app’s database. The user would provide the correct title and author when the book is added, eliminating the need for calibre to scan the book’s internal metadata (the part that is so slow). We might be able to get the author/title information from the book automatically for some formats, in particular epub, but as book-contained metadata is often wrong we would still provide a way for the user to change this information.

    This feature will interact with extension (format) routing, so it won't happen before extension routing is implemented.
  3. The app connects but then sits there doing nothing. What do I do?
    Spoiler:
    Calibre Companion connects to calibre as a "device", which means that calibre is in charge. After Calibre Companion connects, you then use calibre to send books to your device and delete books from your device, just as if your device were connected using a cable. There is (currently) no way for Calibre Companion to ask calibre to send books.
  4. I want to help get my problems fixed. What do I do?
    Spoiler:
    The first thing to do is tell us about the problem by any of sending us an email, a private message, posting on this thread, or creating a new thread. We will do what we can to help you, but we can't do much to help if we don't know you are having the problem.

    Reporting problems or asking for help in reviews on Google Play is the most difficult for us. Our first problem is contacting you for more info; it isn't easy to find an email address for a reviewer, and in fact might be impossible. The second problem is that other people who might have solved to problem cannot answer at all. The third problem is that we can't be sure that you even want a response and that you might consider us contacting you an invasion of privacy. We are not suggesting that people should not leave reviews, good, bad, or indifferent. Instead, we are suggesting that if you want a personal response from us, there are better ways to go about contacting us than a review.

    It could be that we will need a calibre debug log to solve the problem. You can get a debug log by running calibre in debug mode. Start calibre, then click the small down arrow next to preferences as shown in this screenshot.
    Click image for larger version

Name:	12-calibre_debug_mode.png
Views:	650
Size:	85.1 KB
ID:	90594
    Click on "Start calibre in debug mode". Let calibre restart and answer OK to the dialog that confirms that calibre is in debug mode. Attempt to connect to calibre. Get to where you are having the problem, then close calibre. You will see a debug log in a new window. An example is
    Spoiler:
    SMART_DEV ( 0.00: 0.002) startup_on_demand try port 18700
    SMART_DEV ( 0.89: 0.803) startup_on_demand listening on port 18700
    Started up in 37.73 seconds with 66 books
    SMART_DEV ( 95.11: 12.261) reset
    SMART_DEV ( 95.12: 0.000) set_progress_reporter
    SMART_DEV ( 95.14: 0.000) open
    SMART_DEV ( 95.17: 0.016) _call_client GET_INITIALIZATION_INFO
    SMART_DEV ( 95.90: 0.718) open selected formats [u'epub', u'mobi']
    SMART_DEV ( 95.92: 0.000) card_prefix
    SMART_DEV ( 96.17: 0.218) set_progress_reporter
    Job: 1 Get device information started
    SMART_DEV ( 96.20: 0.000) get_device_information
    SMART_DEV ( 96.25: 0.016) _call_client GET_DEVICE_INFORMATION
    SMART_DEV ( 96.56: 0.281) _call_client SET_CALIBRE_DEVICE_INFO
    SMART_DEV ( 96.82: 0.249) card_prefix
    SMART_DEV ( 96.84: 0.000) free_space
    SMART_DEV ( 96.85: 0.000) _call_client FREE_SPACE
    DeviceJob: 1 Get device information done, calling callback
    DeviceJob: 1 Get device information callback returned
    SMART_DEV ( 97.18: 0.312) set_progress_reporter
    Job: 2 Get list of books on device started
    SMART_DEV ( 97.20: 0.000) books None
    SMART_DEV ( 97.21: 0.000) _call_client GET_BOOK_COUNT
    Job: 1 Get device information finished
    No details available.
    SMART_DEV ( 104.11: 6.879) books carda
    SMART_DEV ( 104.14: 0.000) books cardb
    DeviceJob: 2 Get list of books on device done, calling callback
    SMART_DEV ( 107.98: 3.822) set_plugboards
    READING LIST: Metadata available: {u'main': {u'device_store_uuid': u'efc3cde6-794f-4d23-bf8d-c7f95613e2b3', u'prefix': u'', u'device_name': u'SmartDevice', u'calibre_version': u'0.8.64', u'location_code': u'main', u'last_library_uuid': u'62e15c2b-a8ca-40fd-a784-05773082742a', u'date_last_connected': u'2012-08-12T12:17:32.261000+00:00'}}
    READING LIST: Sync Now - force_sync= False
    DeviceJob: 2 Get list of books on device callback returned
    Job: 2 Get list of books on device finished
    No details available.
    SMART_DEV ( 108.18: 0.187) set_progress_reporter
    Job: 3 Send metadata to device started

  5. What does this really app do?
    Spoiler:
    Calibre currently supports devices in two ways. The first is by connecting the device to the computer with a USB cable. When a device is connected this way, calibre is in charge. One uses calibre to send books to the device, delete books from the device, etc. The "on device" checkmarks show in the library when using this method.

    The second way of connecting is by using calibre#s content server. When connecting this way, the device is in charge. The user taps/types on the device to navigate through calibre's web pages, getting books etc. There is no "on device" indication, either in calibre or on the device.

    One problem becoming more and more common with the first method, and a major driver for this app, is that newer Android devices cannot be connected to calibre by a cable. These newer versions of Android (versions 3 and up, Honeycomb, Ice Cream Sandwich, and Jellybean) do not support being connected as a "disk drive", something calibre requires to be able to "see" the device. The app we are developing gets around this problem by connecting to calibre wirelessly (wifi, no cable).
  6. I am a Sony user and I want my collections!
    Spoiler:

    First, check if the grouping and sorting features available in the app don’t already provide an alternate way to get the same information. If they do not, then you can enable collections for the Smartdevice driver in the same way you did for the Sony driver. Go to the device preferences (in calibre, go to preferences -> plugins -> device plugins -> Smartdevice App Interface), and enter the lookup names for the columns for which you want collections. The Sony collections tweaks work here as well. Reconnect the device and your collections will appear under the group menu item “User Categories”.
    Click image for larger version

Name:	05-app_group_menu.png
Views:	632
Size:	15.8 KB
ID:	90530
  7. Why does the sort menu disappear when I select User Categories (collections)?
    Spoiler:
    Collections are sorted by calibre, and the app must respect that order. Although it would be possible to add yet another sort type to the list, we thought that the need would be too rare to compensate for the extra confusion about what it means.
  8. How do I add my custom columns to the Group menu?
    Spoiler:
    Calibre Companion supports grouping on calibre text-type custom columns (text, text like tags, fixed set of values, and built from other columns). To group on such a column, add the column’s calibre lookup key (the word beginning with #, as in #genre) to the app’s list of custom columns to show. You do this by clicking the menu button on your device (usually three dots) and selecting Custom Categories.
    Click image for larger version

Name:	06-custom_columns.png
Views:	659
Size:	15.5 KB
ID:	90531
    Enter the names in the text box shown in the resulting dialog. Be sure to include the leading # character.
    Click image for larger version

Name:	07-custom_column_dialog-1.png
Views:	563
Size:	11.5 KB
ID:	91093
    Note: it is not an error if a lookup name you enter does not actually exist in any books on your device. This can happen if you connect to multiple libraries that have differing custom column setups. That said, if you expect to see information when you click on a lookup name in the group menu but don't, check the spelling of the lookup key.

    When you add or change the custom column keys, Calibre Companion must rebuild some information in the database. This rebuild process will happen next time Calibre Companion is "restarted", something that because of how android works could be almost any time. If you have a large library this process can take a few moments. You can see a progress indicator by checking the status bar.
  9. How do I control which book extensions (“formats” in calibre-speak) are transferred when I use calibre’s send-to-device command? How do I change the folder on my device where they are stored?
    Spoiler:
    Unlike devices that calibre supports by cable, you control in the app which formats are acceptable along with their priority on the device. This helps if you have multiple devices for which you want to use a different list or different priority.

    To set up the extensions, click the menu button on your device (usually three dots) and select Select extensions.
    Click image for larger version

Name:	08-extensions_menu-1.png
Views:	574
Size:	12.7 KB
ID:	91094
    Next, scroll through the long list of extensions and check the ones you want calibre to be able to send to your device. Don’t try to order them at this point, it is easier to do in a second pass.
    Click image for larger version

Name:	09-extensions_dialog-1.png
Views:	568
Size:	24.2 KB
ID:	91095
    After you have "checked" all the extensions you want to use, it is time to set their priority. This is easiest to do if you close and reopen the dialog, because all the checked extensions will be at the top. So press OK, then reopen the dialog. Now use the arrows to move the selected extensions up and down. The higher an extension, the higher its priority.

    You can use this dialog to change the folders where extensions are stored. See the following image of the extensions dialog.
    Click image for larger version

Name:	10-extensions_dialog-1.png
Views:	589
Size:	25.2 KB
ID:	91096
    To change the default folder (the one used if no specific folder is chosen for an extension), open the extensions dialog and click where the "1" points. To change the folder for a specific extension, click below the arrows on that extensions line. Number "2" in the dialog image shows where you would click to change the folder for epubs.

    If you start changing a storage folder, you will see the following warning dialog telling you that continuing will remove the books from the app (erase its database).
    Click image for larger version

Name:	15-change_storage_warning.png
Views:	592
Size:	19.2 KB
ID:	90738
    Press the "Change" button if you wish to continue. You will see the following dialog.
    Click image for larger version

Name:	16-change_storage_dialog.png
Views:	593
Size:	19.0 KB
ID:	90740
    If, for example, you are changing the storage folder for mobi books to the folder used by Kindle for Android, scroll the list of folders until you see the "kindle" folder. Tap that folder to enter into it, then tap the "This folder" button.

    In the Kindle for Android case, after having changed the storage folder, to read the books you must manually start K4A. It will import the books you have sent to Calibre Companion so you can read them.
  10. When I first look at the extensions dialog, it contains only epub and mobi. Why?
    Spoiler:
    The app gets the complete list of extensions from calibre the first time it connects. If you want to add extensions, connect once to calibre then disconnect. The list of formats will be available.
  11. Sending books seems slow
    Spoiler:
    We agree. There is some interaction between wifi and the protocol we have chosen to send the books. We have some ideas for increasing the performance, and will look at it when time permits.
  12. What does the Delete Passwords menu item do?
    Spoiler:
    You can tell calibre to require a password from the device when the device connects. If you do this, then the app will ask you for that password and remember it. Selecting Delete passwords will force the app to forget all remembered passwords.
  13. I see a scary warning message when I try to change a storage folder on my device. What gives?
    Spoiler:
    For various reasons our app needs to reinitialize its database when you change a storage folder, removing all the metadata for the books you have sent. You need to send the books again for the app to have the metadata.

    Note that the books themselves are not deleted from the old folder. If for some reason the books are no longer in calibre, you can copy them from your device and re-add them to calibre. Once you are happy with the new folder you chose, you should delete the old copies of the books, and possibly their containing folder as well.
  14. How do I get Kindle for Android to open my books?
    Spoiler:
    Kindle for Android is one of the very few reader apps that does not publish to Android the kinds of books that it can open. Because of this, Calibre Companion cannot automatically pass books to it.

    You can resolve this problem one of two ways:
    1. Use a different reader app that can open .mobi files. There are several. This will work only if your books are not infested with DRM.
    2. Set Calibre Companion's storage folder to Kindle for Amazon's books folder. Its name is "kindle". Its location depends on the version of Android you are running.
      Important: changing the storage folder will erase Calibre Companion's books database. You will need to send the books again. The books themselves are not deleted from the old location. You should delete those books from your phone once you are sure you have no further use for them.

      See FAQ "How do I control which book extensions" above for instructions on how to change the storage folder.

      After having changed the storage folder, to read the books you must manually start Kindle for Android. K4A will import the books you have sent to Calibre Companion so you can read them.
  15. Why is there cat hair in some of the dialogs?
    Spoiler:
    Charles’ cat Lizzie insists on sitting on his keyboard. Some fur she sheds is molecularly transmitted through the keys into the app’s code.
    Click image for larger version

Name:	11-Lizzie.png
Views:	630
Size:	55.1 KB
ID:	90536

Last edited by chaley; 08-24-2012 at 06:23 AM.
chaley is offline   Reply With Quote
Old 08-12-2012, 03:41 PM   #2
JDriver
Junior Member
JDriver began at the beginning.
 
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:
  • Connection *seems* to be instant, and a circle rotates along with the words 'Synching with calibre' etc
  • The box disappears instantly the screen is touched, and the connection seems to be broken as 'connect' appears on the top menu, instead of 'disconnect'
  • If I rotate the screen the box goes, but this time the connectioin seems to stay
  • I have a big database (6500 books) and it has been connected for 45mions so far.
  • It would be good if there was some indication of the data volume having been transmitted, as I have little faith in WiFi. Having a connection is one thing, having a useful one is quite different.
I am now sitting and waiting for some evidence of data on the Nexus
JDriver is offline   Reply With Quote
Advert
Old 08-12-2012, 03:57 PM   #3
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: 11,691
Karma: 6240117
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Thanks for the comments.
Quote:
Originally Posted by JDriver View Post
I have d/l and installed the app, and have these comments:
  • Connection *seems* to be instant, and a circle rotates along with the words 'Synching with calibre' etc
  • The box disappears instantly the screen is touched, and the connection seems to be broken as 'connect' appears on the top menu, instead of 'disconnect'
Yes, it does. This is a bug. The best I can say at this point is "don't do that".
Quote:
  • If I rotate the screen the box goes, but this time the connectioin seems to stay
Yes. This is the same as the problem that was mentioned in the problems section in the first post.
Quote:
  • I have a big database (6500 books) and it has been connected for 45mions so far.
The size of the books database is not relevant. What matters is the number of books that have been sent to the device.

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:
  • It would be good if there was some indication of the data volume having been transmitted, as I have little faith in WiFi. Having a connection is one thing, having a useful one is quite different.
There is a progress dialog when doing longer things like downloading books. The fact that you are seeing extremely long delays but are not seeing a progress dialog tells me that something else is going wrong. We have seen this behavior before when calibre's content server IP address & port were given to the app instead of the port of the smartdevice driver.
Quote:
I am now sitting and waiting for some evidence of data on the Nexus
For a new connection where no books have been transferred, the initial synchronization takes seconds.

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.
chaley is offline   Reply With Quote
Old 08-12-2012, 03:57 PM   #4
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: 11,691
Karma: 6240117
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.
chaley is offline   Reply With Quote
Old 08-12-2012, 09:41 PM   #5
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by JDriver View Post
I have a big database (6500 books) and it has been connected for 45mions so far.
FYI. Just connecting to calibre does not transfer or sync any actual books. You must select the books you want sent and then click send to device. Good luck.

Quote:
Originally Posted by chaley View Post
The fact that you are seeing extremely long delays but are not seeing a progress dialog tells me that something else is going wrong.
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 09:44 PM.
DoctorOhh is offline   Reply With Quote
Advert
Old 08-13-2012, 04:43 AM   #6
JDriver
Junior Member
JDriver began at the beginning.
 
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........:
JDriver is offline   Reply With Quote
Old 08-13-2012, 05:06 AM   #7
JDriver
Junior Member
JDriver began at the beginning.
 
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
JDriver is offline   Reply With Quote
Old 08-13-2012, 05:46 AM   #8
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
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.
DoctorOhh is offline   Reply With Quote
Old 08-13-2012, 08:59 AM   #9
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
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:

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...
SMART_DEV ( 0.00: 0.001) startup_on_demand try port 19812
SMART_DEV ( 0.88: 0.802) startup_on_demand listening on port 19812
Started up in 12.24 seconds with 9568 books
SMART_DEV ( 81.31: 80.357) reset
SMART_DEV ( 81.34: 0.000) set_progress_reporter
SMART_DEV ( 81.39: 0.000) open
SMART_DEV ( 81.40: 0.000) _call_client GET_INITIALIZATION_INFO
SMART_DEV ( 81.89: 0.468) open selected formats [u'epub', u'mobi']
SMART_DEV ( 81.93: 0.000) card_prefix
SMART_DEV ( 82.20: 0.250) set_progress_reporter
Job: 1 Get device information started
SMART_DEV ( 82.21: 0.000) get_device_information
SMART_DEV ( 82.26: 0.015) _call_client GET_DEVICE_INFORMATION
SMART_DEV ( 82.67: 0.390) _call_client SET_CALIBRE_DEVICE_INFO
SMART_DEV ( 83.06: 0.359) card_prefix
SMART_DEV ( 83.09: 0.000) free_space
SMART_DEV ( 83.14: 0.000) _call_client FREE_SPACE
DeviceJob: 1 Get device information done, calling callback
DeviceJob: 1 Get device information callback returned
SMART_DEV ( 83.42: 0.266) set_progress_reporter
Job: 2 Get list of books on device started
SMART_DEV ( 83.43: 0.000) books None
SMART_DEV ( 83.45: 0.000) _call_client GET_BOOK_COUNT
Job: 1 Get device information finished
No details available.
SMART_DEV ( 88.97: 5.491) books carda
SMART_DEV ( 89.00: 0.000) books cardb
DeviceJob: 2 Get list of books on device done, calling callback
SMART_DEV ( 94.07: 5.054) set_plugboards
READING LIST: Metadata available: {u'main': {u'device_store_uuid': u'ab8ce0a8-a4fb-4b4b-9f0f-3bcc56dd213a', u'prefix': u'', u'device_name': u'SmartDevice', u'calibre_version': u'0.8.64', u'location_code': u'main', u'last_library_uuid': u'fc7fddf5-8a3c-4916-a6f3-2f6ccfe7af7e', u'date_last_connected': u'2012-08-13T12:21:40.171000+00:00'}}
READING LIST: Sync Now - force_sync= False
DeviceJob: 2 Get list of books on device callback returned
Job: 2 Get list of books on device finished
No details available.
SMART_DEV ( 95.68: 1.580) set_progress_reporter
Job: 3 Send metadata to device started
SMART_DEV ( 95.72: 0.009) sync_booklists collection attributes [u'']
DEBUG: 0.0 Starting get_collections: on_connect
DEBUG: 0.0 Renaming rules: {'series': 'Series'}
DEBUG: 0.0 Formatting template: {value} {category:|(|)}
DEBUG: 0.0 Sorting rules: [(['series'], 'series_index')]
SMART_DEV ( 95.81: 0.061) _call_client SEND_BOOKLISTS
SMART_DEV ( 96.10: 0.271) card_prefix
SMART_DEV ( 96.11: 0.000) free_space
SMART_DEV ( 96.47: 0.344) _call_client FREE_SPACE
DeviceJob: 3 Send metadata to device done, calling callback
DeviceJob: 3 Send metadata to device callback returned
SMART_DEV ( 96.82: 0.305) _call_client NOOP
Job: 3 Send metadata to device finished
No details available.
SMART_DEV ( 107.09: 10.238) _call_client NOOP
SMART_DEV ( 117.47: 10.342) _call_client NOOP
SMART_DEV ( 127.80: 10.295) _call_client NOOP
SMART_DEV ( 130.15: 2.310) set_progress_reporter
Job: 4 Upload 8 books to device:Mutineer, Deserter, Defiant, Resolute, Audacious, Intrepid, Undaunted, Redoubtable started
SMART_DEV ( 130.18: 0.000) set_plugboards
Device using plugboard epub SMART_DEVICE_APP None
Setting metadata in: Mutineer at: C:\Users\Walt\AppData\Local\Temp\calibre_0.8.64_tm p_ie6ep9\ayz0occaltmpfmt.epub
Device using plugboard epub SMART_DEVICE_APP None
Setting metadata in: Deserter at: C:\Users\Walt\AppData\Local\Temp\calibre_0.8.64_tm p_ie6ep9\kugeowcaltmpfmt.epub
Device using plugboard epub SMART_DEVICE_APP None
Setting metadata in: Defiant at: C:\Users\Walt\AppData\Local\Temp\calibre_0.8.64_tm p_ie6ep9\klzoz8caltmpfmt.epub
Device using plugboard epub SMART_DEVICE_APP None
Setting metadata in: Resolute at: C:\Users\Walt\AppData\Local\Temp\calibre_0.8.64_tm p_ie6ep9\ob1mojcaltmpfmt.epub
Device using plugboard epub SMART_DEVICE_APP None
Setting metadata in: Audacious at: C:\Users\Walt\AppData\Local\Temp\calibre_0.8.64_tm p_ie6ep9\rbjql3caltmpfmt.epub
Device using plugboard epub SMART_DEVICE_APP None
Setting metadata in: Intrepid at: C:\Users\Walt\AppData\Local\Temp\calibre_0.8.64_tm p_ie6ep9\eengrhcaltmpfmt.epub
Device using plugboard epub SMART_DEVICE_APP None
Setting metadata in: Undaunted at: C:\Users\Walt\AppData\Local\Temp\calibre_0.8.64_tm p_ie6ep9\vg2d3wcaltmpfmt.epub
Device using plugboard epub SMART_DEVICE_APP None
Setting metadata in: Redoubtable at: C:\Users\Walt\AppData\Local\Temp\calibre_0.8.64_tm p_ie6ep9\whj6ehcaltmpfmt.epub
SMART_DEV ( 130.95: 0.745) upload_books [u'Mutineer - Mike Shepherd_370.epub', u'Deserter - Mike Shepherd_371.epub', u'Defiant - Mike Shepherd_374.epub', u'Resolute - Mike Shepherd_372.epub', u'Audacious - Mike Shepherd_369.epub', u'Intrepid - Mike Shepherd_373.epub', u'Undaunted - Mike Shepherd_11500.epub', u'Redoubtable - Mike Shepherd_5084.epub']
SMART_DEV ( 131.00: 0.033) _put_file Kris Longknife-01.00-Mutineer-Mike Shepherd.epub 422518
SMART_DEV ( 132.68: 1.661) _call_client BOOK_DONE
SMART_DEV ( 132.93: 0.214) _put_file Kris Longknife-02.00-Deserter-Mike Shepherd.epub 460391
SMART_DEV ( 135.09: 2.126) _call_client BOOK_DONE
SMART_DEV ( 135.35: 0.222) _put_file Kris Longknife-03.00-Defiant-Mike Shepherd.epub 396212
SMART_DEV ( 136.73: 1.350) _call_client BOOK_DONE
SMART_DEV ( 136.98: 0.209) _put_file Kris Longknife-04.00-Resolute-Mike Shepherd.epub 449537
SMART_DEV ( 139.40: 2.390) _call_client BOOK_DONE
SMART_DEV ( 139.67: 0.250) _put_file Kris Longknife-05.00-Audacious-Mike Shepherd.epub 416796
SMART_DEV ( 141.65: 1.950) _call_client BOOK_DONE
SMART_DEV ( 141.94: 0.249) _put_file Kris Longknife-06.00-Intrepid-Mike Shepherd.epub 567225
SMART_DEV ( 144.10: 2.106) _call_client BOOK_DONE
SMART_DEV ( 144.36: 0.234) _put_file Kris Longknife-07.00-Undaunted-Mike Shepherd.epub 454097
SMART_DEV ( 146.28: 1.876) _call_client BOOK_DONE
SMART_DEV ( 146.53: 0.213) _put_file Kris Longknife-08.00-Redoubtable-Mike Shepherd.epub 491394
SMART_DEV ( 148.71: 2.151) _call_client BOOK_DONE
SMART_DEV ( 148.95: 0.206) upload_books finished uploading 8 books
DeviceJob: 4 Upload 8 books to device:Mutineer, Deserter, Defiant, Resolute, Audacious, Intrepid, Undaunted, Redoubtable done, calling callback
SMART_DEV ( 148.98: 0.002) add_books_to_metadata adding metadata for 8 books
SMART_DEV ( 149.02: 0.007) add_books_to_metadata finished adding metadata
SMART_DEV ( 152.01: 2.975) set_plugboards
DeviceJob: 4 Upload 8 books to device:Mutineer, Deserter, Defiant, Resolute, Audacious, Intrepid, Undaunted, Redoubtable callback returned
Job: 4 Upload 8 books to device:Mutineer, Deserter, Defiant, Resolute, Audacious, Intrepid, Undaunted, Redoubtable finished
No details available.
SMART_DEV ( 153.03: 0.991) set_progress_reporter
Job: 5 Send metadata to device started
SMART_DEV ( 153.08: 0.016) sync_booklists collection attributes [u'']
DEBUG: 57.4 Starting get_collections: on_connect
DEBUG: 57.4 Renaming rules: {'series': 'Series'}
DEBUG: 57.4 Formatting template: {value} {category:|(|)}
DEBUG: 57.4 Sorting rules: [(['series'], 'series_index')]
SMART_DEV ( 153.10: 0.005) _call_client SEND_BOOKLISTS
SMART_DEV ( 153.44: 0.321) card_prefix
SMART_DEV ( 153.46: 0.000) free_space
SMART_DEV ( 153.48: 0.001) _call_client FREE_SPACE
DeviceJob: 5 Send metadata to device done, calling callback
DeviceJob: 5 Send metadata to device callback returned
SMART_DEV ( 153.71: 0.214) _call_client NOOP
Job: 5 Send metadata to device finished
No details available.


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:

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...
SMART_DEV ( 0.03: 0.030) startup_on_demand try port 9090
SMART_DEV ( 0.93: 0.803) startup_on_demand listening on port 9090
Started up in 9.92 seconds with 9568 books
SMART_DEV ( 13.04: 12.027) reset
SMART_DEV ( 13.07: 0.000) set_progress_reporter
SMART_DEV ( 13.10: 0.000) open
SMART_DEV ( 13.15: 0.039) _call_client GET_INITIALIZATION_INFO
SMART_DEV ( 13.62: 0.452) open selected formats [u'epub', u'mobi']
SMART_DEV ( 13.66: 0.001) card_prefix
SMART_DEV ( 13.70: 0.005) set_progress_reporter
Job: 1 Get device information started
SMART_DEV ( 13.71: 0.000) get_device_information
SMART_DEV ( 13.74: 0.010) _call_client GET_DEVICE_INFORMATION
SMART_DEV ( 13.97: 0.212) _call_client SET_CALIBRE_DEVICE_INFO
SMART_DEV ( 14.30: 0.291) card_prefix
SMART_DEV ( 14.33: 0.000) free_space
SMART_DEV ( 14.38: 0.021) _call_client FREE_SPACE
DeviceJob: 1 Get device information done, calling callback
DeviceJob: 1 Get device information callback returned
SMART_DEV ( 14.64: 0.229) set_progress_reporter
Job: 2 Get list of books on device started
SMART_DEV ( 14.67: 0.000) books None
SMART_DEV ( 14.69: 0.001) _call_client GET_BOOK_COUNT
Job: 1 Get device information finished
No details available.
SMART_DEV ( 21.78: 7.068) books carda
SMART_DEV ( 21.81: 0.000) books cardb
DeviceJob: 2 Get list of books on device done, calling callback
SMART_DEV ( 25.00: 3.170) set_plugboards
READING LIST: Metadata available: {u'main': {u'device_store_uuid': u'ab8ce0a8-a4fb-4b4b-9f0f-3bcc56dd213a', u'prefix': u'', u'device_name': u'SmartDevice', u'calibre_version': u'0.8.64', u'location_code': u'main', u'last_library_uuid': u'fc7fddf5-8a3c-4916-a6f3-2f6ccfe7af7e', u'date_last_connected': u'2012-08-13T12:49:02.893000+00:00'}}
READING LIST: Sync Now - force_sync= False
DeviceJob: 2 Get list of books on device callback returned
Job: 2 Get list of books on device finished
No details available.
SMART_DEV ( 26.19: 1.167) set_progress_reporter
Job: 3 Send metadata to device started
SMART_DEV ( 26.26: 0.046) sync_booklists collection attributes [u'']
DEBUG: 0.0 Starting get_collections: on_connect
DEBUG: 0.0 Renaming rules: {'series': 'Series'}
DEBUG: 0.0 Formatting template: {value} {category:|(|)}
DEBUG: 0.0 Sorting rules: [(['series'], 'series_index')]
SMART_DEV ( 26.32: 0.038) _call_client SEND_BOOKLISTS
SMART_DEV ( 26.61: 0.270) card_prefix
SMART_DEV ( 26.63: 0.000) free_space
SMART_DEV ( 26.64: 0.001) _call_client FREE_SPACE
DeviceJob: 3 Send metadata to device done, calling callback
DeviceJob: 3 Send metadata to device callback returned
SMART_DEV ( 27.12: 0.459) _call_client NOOP
Job: 3 Send metadata to device finished
No details available.
SMART_DEV ( 37.46: 10.308) _call_client NOOP
SMART_DEV ( 47.91: 10.412) _call_client NOOP
SMART_DEV ( 58.36: 10.421) _call_client NOOP
SMART_DEV ( 64.77: 6.365) set_progress_reporter
Job: 4 Upload 13 books to device:Sweet Silver Blues, Bitter Gold Hearts, Cold copper tears, Old tin sorrows, Dread Brass Shadows, Red Iron Nights, Deadly Quicksilver Lies, Petty Pewter Gods, Faded Steel Heat, Angry Lead Skies, Whispering Nickel Idols, Cruel Zinc Melodies, Gilded Latten Bones started
SMART_DEV ( 64.78: 0.000) set_plugboards
Device using plugboard epub SMART_DEVICE_APP None
Setting metadata in: Sweet Silver Blues at: C:\Users\Walt\AppData\Local\Temp\calibre_0.8.64_tm p_u3nobg\yblyqfcaltmpfmt.epub
Device using plugboard epub SMART_DEVICE_APP None
Setting metadata in: Bitter Gold Hearts at: C:\Users\Walt\AppData\Local\Temp\calibre_0.8.64_tm p_u3nobg\fszszkcaltmpfmt.epub
Device using plugboard epub SMART_DEVICE_APP None
Setting metadata in: Cold copper tears at: C:\Users\Walt\AppData\Local\Temp\calibre_0.8.64_tm p_u3nobg\ofxutxcaltmpfmt.epub
Device using plugboard epub SMART_DEVICE_APP None
Setting metadata in: Old tin sorrows at: C:\Users\Walt\AppData\Local\Temp\calibre_0.8.64_tm p_u3nobg\0zi3ygcaltmpfmt.epub
Device using plugboard epub SMART_DEVICE_APP None
Setting metadata in: Dread Brass Shadows at: C:\Users\Walt\AppData\Local\Temp\calibre_0.8.64_tm p_u3nobg\41msvgcaltmpfmt.epub
Device using plugboard epub SMART_DEVICE_APP None
Setting metadata in: Red Iron Nights at: C:\Users\Walt\AppData\Local\Temp\calibre_0.8.64_tm p_u3nobg\ggdbh2caltmpfmt.epub
Device using plugboard epub SMART_DEVICE_APP None
Setting metadata in: Deadly Quicksilver Lies at: C:\Users\Walt\AppData\Local\Temp\calibre_0.8.64_tm p_u3nobg\j4ahircaltmpfmt.epub
Device using plugboard epub SMART_DEVICE_APP None
Setting metadata in: Petty Pewter Gods at: C:\Users\Walt\AppData\Local\Temp\calibre_0.8.64_tm p_u3nobg\_vl5dkcaltmpfmt.epub
Device using plugboard epub SMART_DEVICE_APP None
Setting metadata in: Faded Steel Heat at: C:\Users\Walt\AppData\Local\Temp\calibre_0.8.64_tm p_u3nobg\ibfp_icaltmpfmt.epub
Device using plugboard epub SMART_DEVICE_APP None
Setting metadata in: Angry Lead Skies at: C:\Users\Walt\AppData\Local\Temp\calibre_0.8.64_tm p_u3nobg\na_huacaltmpfmt.epub
Device using plugboard epub SMART_DEVICE_APP None
Setting metadata in: Whispering Nickel Idols at: C:\Users\Walt\AppData\Local\Temp\calibre_0.8.64_tm p_u3nobg\gsh0xdcaltmpfmt.epub
Device using plugboard epub SMART_DEVICE_APP None
Setting metadata in: Cruel Zinc Melodies at: C:\Users\Walt\AppData\Local\Temp\calibre_0.8.64_tm p_u3nobg\_bhmblcaltmpfmt.epub
Device using plugboard epub SMART_DEVICE_APP None
Setting metadata in: Gilded Latten Bones at: C:\Users\Walt\AppData\Local\Temp\calibre_0.8.64_tm p_u3nobg\affah1caltmpfmt.epub
SMART_DEV ( 66.08: 1.248) upload_books [u'Sweet Silver Blues - Glen Cook_3353.epub', u'Bitter Gold Hearts - Glen Cook_3354.epub', u'Cold copper tears - Glen Cook_3355.epub', u'Old tin sorrows - Glen Cook_3356.epub', u'Dread Brass Shadows - Glen Cook_7589.epub', u'Red Iron Nights - Glen Cook_3357.epub', u'Deadly Quicksilver Lies - Glen Cook_3358.epub', u'Petty Pewter Gods - Glen Cook_3359.epub', u'Faded Steel Heat - Glen Cook_3360.epub', u'Angry Lead Skies - Glen Cook_3361.epub', u'Whispering Nickel Idols - Glen Cook_3362.epub', u'Cruel Zinc Melodies - Glen Cook_3363.epub', u'Gilded Latten Bones - Glen Cook_5015.epub']
SMART_DEV ( 66.13: 0.031) _put_file Garrett P.I.-01.00-Sweet Silver Blues-Glen Cook.epub 348929
SMART_DEV ( 67.44: 1.295) _call_client BOOK_DONE
SMART_DEV ( 67.70: 0.218) _put_file Garrett P.I.-02.00-Bitter Gold Hearts-Glen Cook.epub 384163
SMART_DEV ( 69.79: 2.043) _call_client BOOK_DONE
SMART_DEV ( 70.07: 0.234) _put_file Garrett P.I.-03.00-Cold copper tears-Glen Cook.epub 370780
SMART_DEV ( 72.21: 2.121) _call_client BOOK_DONE
SMART_DEV ( 72.46: 0.218) _put_file Garrett P.I.-04.00-Old tin sorrows-Glen Cook.epub 363296
SMART_DEV ( 74.50: 2.013) _call_client BOOK_DONE
SMART_DEV ( 74.86: 0.312) _put_file Garrett P.I.-05.00-Dread Brass Shadows-Glen Cook.epub 443199
SMART_DEV ( 77.47: 2.559) _call_client BOOK_DONE
SMART_DEV ( 77.73: 0.219) _put_file Garrett P.I.-06.00-Red Iron Nights-Glen Cook.epub 376106
SMART_DEV ( 79.54: 1.777) _call_client BOOK_DONE
SMART_DEV ( 79.80: 0.210) _put_file Garrett P.I.-07.00-Deadly Quicksilver Lies-Glen Cook.epub 461595
SMART_DEV ( 82.19: 2.361) _call_client BOOK_DONE
SMART_DEV ( 82.45: 0.215) _put_file Garrett P.I.-08.00-Petty Pewter Gods-Glen Cook.epub 387482
SMART_DEV ( 84.44: 1.962) _call_client BOOK_DONE
SMART_DEV ( 84.80: 0.321) _put_file Garrett P.I.-09.00-Faded Steel Heat-Glen Cook.epub 554510
SMART_DEV ( 87.21: 2.371) _call_client BOOK_DONE
SMART_DEV ( 87.51: 0.265) _put_file Garrett P.I.-10.00-Angry Lead Skies-Glen Cook.epub 438256
SMART_DEV ( 89.59: 2.047) _call_client BOOK_DONE
SMART_DEV ( 89.83: 0.217) _put_file Garrett P.I.-11.00-Whispering Nickel Idols-Glen Cook.epub 352697
SMART_DEV ( 92.02: 2.162) _call_client BOOK_DONE
SMART_DEV ( 92.34: 0.266) _put_file Garrett P.I.-12.00-Cruel Zinc Melodies-Glen Cook.epub 511797
SMART_DEV ( 94.89: 2.531) _call_client BOOK_DONE
SMART_DEV ( 95.13: 0.209) _put_file Garrett P.I.-13.00-Gilded Latten Bones-Glen Cook.epub 572622
SMART_DEV ( 97.25: 2.094) _call_client BOOK_DONE
SMART_DEV ( 97.50: 0.206) upload_books finished uploading 13 books
DeviceJob: 4 Upload 13 books to device:Sweet Silver Blues, Bitter Gold Hearts, Cold copper tears, Old tin sorrows, Dread Brass Shadows, Red Iron Nights, Deadly Quicksilver Lies, Petty Pewter Gods, Faded Steel Heat, Angry Lead Skies, Whispering Nickel Idols, Cruel Zinc Melodies, Gilded Latten Bones done, calling callback
SMART_DEV ( 97.53: 0.003) add_books_to_metadata adding metadata for 13 books
SMART_DEV ( 97.57: 0.013) add_books_to_metadata finished adding metadata
SMART_DEV ( 101.21: 3.614) set_plugboards
DeviceJob: 4 Upload 13 books to device:Sweet Silver Blues, Bitter Gold Hearts, Cold copper tears, Old tin sorrows, Dread Brass Shadows, Red Iron Nights, Deadly Quicksilver Lies, Petty Pewter Gods, Faded Steel Heat, Angry Lead Skies, Whispering Nickel Idols, Cruel Zinc Melodies, Gilded Latten Bones callback returned
Job: 4 Upload 13 books to device:Sweet Silver Blues, Bitter Gold Hearts, Cold copper tears, Old tin sorrows, Dread Brass Shadows, Red Iron Nights, Deadly Quicksilver Lies, Petty Pewter Gods, Faded Steel Heat, Angry Lead Skies, Whispering Nickel Idols, Cruel Zinc Melodies, Gilded Latten Bones finished
No details available.
SMART_DEV ( 102.24: 0.999) set_progress_reporter
Job: 5 Send metadata to device started
SMART_DEV ( 102.30: 0.024) sync_booklists collection attributes [u'']
DEBUG: 76.0 Starting get_collections: on_connect
DEBUG: 76.0 Renaming rules: {'series': 'Series'}
DEBUG: 76.0 Formatting template: {value} {category:|(|)}
DEBUG: 76.0 Sorting rules: [(['series'], 'series_index')]
SMART_DEV ( 102.32: 0.005) _call_client SEND_BOOKLISTS
SMART_DEV ( 102.60: 0.260) card_prefix
SMART_DEV ( 102.62: 0.000) free_space
SMART_DEV ( 102.65: 0.012) _call_client FREE_SPACE
DeviceJob: 5 Send metadata to device done, calling callback
DeviceJob: 5 Send metadata to device callback returned
SMART_DEV ( 103.14: 0.463) _call_client NOOP
Job: 5 Send metadata to device finished
No details available.
SMART_DEV ( 113.40: 10.246) _call_client NOOP
SMART_DEV ( 123.76: 10.323) _call_client NOOP


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.
Attached Thumbnails
Click image for larger version

Name:	Preferences-Plugins-Deviceplugin.jpg
Views:	596
Size:	222.0 KB
ID:	90693   Click image for larger version

Name:	Smartdevice App Interface.jpg
Views:	562
Size:	92.8 KB
ID:	90694   Click image for larger version

Name:	Smartdevice App Interface set to 9090.jpg
Views:	616
Size:	93.0 KB
ID:	90695  

Last edited by DoctorOhh; 08-13-2012 at 09:40 AM.
DoctorOhh is offline   Reply With Quote
Old 08-13-2012, 10:52 AM   #10
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: 11,691
Karma: 6240117
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.
chaley is offline   Reply With Quote
Old 08-13-2012, 12:46 PM   #11
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: 11,691
Karma: 6240117
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.
chaley is offline   Reply With Quote
Old 08-13-2012, 01:11 PM   #12
JDriver
Junior Member
JDriver began at the beginning.
 
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?
JDriver is offline   Reply With Quote
Old 08-13-2012, 01:25 PM   #13
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: 11,691
Karma: 6240117
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by JDriver View Post
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)
What that tells me is that your wifi is not on the same "local network" as calibre. That is, the IP address of the machine running calibre is not visible from wifi. Unfortunately, this theory is not supported by your debug log. On the other hand, whatever the app connects to is not responding within a two seconds thereby producing calibre's message, so things are very confused.

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:
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?
It shouldn't, assuming that it doesn't slow down calibre too much. Our app expects calibre to be able to respond within 2 seconds of a connection request. That might be tight if calibre is busy hitting the network.
chaley is offline   Reply With Quote
Old 08-13-2012, 01:56 PM   #14
lenlo
Junior Member
lenlo began at the beginning.
 
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.
lenlo is offline   Reply With Quote
Old 08-13-2012, 03:13 PM   #15
FlareHeart
Junior Member
FlareHeart is on a distinguished road
 
FlareHeart's Avatar
 
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 03:24 PM. Reason: Added second question.
FlareHeart 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
[Android App] Calibre Companion 1.7 Beta testing Adoby Devices 31 09-07-2012 10:13 PM
[Android App] Coming: Android app to connect as a device to calibre using wifi chaley Devices 92 09-07-2012 08:24 PM
[Android App] Can't get Calibre Companion to connect theangelicious1 Devices 2 09-01-2012 04:09 AM
calibre - send to device - android running Nook App. Mad_Robot Devices 6 10-16-2011 01:49 PM
Android app for reading web articles with Kindle (app and device) fivefilters Android Devices 0 07-02-2011 09:29 PM


All times are GMT -4. The time now is 12:46 AM.


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