Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

marvin XD does not reload when books are added #12

Closed
evanbernstein opened this issue Sep 15, 2013 · 16 comments
Closed

marvin XD does not reload when books are added #12

evanbernstein opened this issue Sep 15, 2013 · 16 comments

Comments

@evanbernstein
Copy link

  • start calibre
  • start Marvin XD
  • go into Marvin XD view
  • go back to calibre Library
  • select book > Send to device > Send to main memory
  • open Marvin XD view
  • the books just added are missing (you need to close the Marvin XD connection to see them again)
@GRiker
Copy link
Collaborator

GRiker commented Sep 15, 2013

Please create a debug trace.

@evanbernstein
Copy link
Author

calibre 1.3 isfrozen: True is64bit: True
Darwin-12.4.0-x86_64-i386-64bit Darwin ('64bit', '')
('Darwin', '12.4.0', 'Darwin Kernel Version 12.4.0: Wed May 1 17:57:12 PDT 2013; root:xnu-2050.24.15~1/RELEASE_X86_64')
Python 2.7.5
OSX: ('10.8.4', ('', '', ''), 'x86_64')
Starting up...
DEBUG: 0.0 MarvinManagerAction:genesis(v1.0.3)
DEBUG: 0.0 MarvinManagerAction:init_options()
DEBUG: 0.0 MarvinManagerAction:inflate_dialog_resources()
DEBUG: 0.0 MarvinManagerAction:compile_ui()
DEBUG: 1.0 MarvinManagerAction:rebuild_menus()
DEBUG: 1.0 Marvin not connected
Started up in 1.94 seconds with 159 books
DEBUG: 5.5 MarvinManagerAction:on_device_connection_changed(iOS reader applications)
DEBUG: 5.5 mounting com.appstafarian.Marvin
DEBUG: 6.7 MarvinManagerAction:on_device_connection_changed(iPad3,4 running iOS 6.1.3)
DEBUG: 6.7 self.has_password: False
DEBUG: 6.7 MarvinManagerAction:rebuild_menus()
DEBUG: 6.7 Marvin connected
Job: 1 Get device information started
DeviceJob: 1 Get device information done, calling callback
DeviceJob: 1 Get device information callback returned
Job: 2 Get list of books on device started
Job: 1 Get device information finished
No details available.
DeviceJob: 2 Get list of books on device done, calling callback
DeviceJob: 2 Get list of books on device callback returned
Job: 2 Get list of books on device finished
No details available.
DEBUG: 13.0 MarvinManagerAction:main_menu_button_clicked()
DEBUG: 13.0 MarvinManagerAction:show_installed_books()
DEBUG: 13.0 MarvinManagerAction:launch_library_scanner(updating library index for virtual library u'')
DEBUG: 13.0 MarvinManagerAction:start_library_indexing()
DEBUG: 13.0 MarvinManagerAction:_busy_operation_setup()
DEBUG: 13.2 MarvinManagerAction:library_index_complete()
DEBUG: 13.2 MarvinManagerAction:_busy_operation_teardown()
DEBUG: 13.3 BookStatusDialog:initialize()
DEBUG: 13.3 BookStatusDialog:_generate_booklist()
DEBUG: 13.4 BookStatusDialog:_scan_library_books(148)
DEBUG: 13.7 BookStatusDialog:_get_installed_books()
DEBUG: 13.7 BookStatusDialog:_scan_marvin_books(74)
DEBUG: 13.7 BookStatusDialog:_localize_hash_cache()
DEBUG: 13.7 remote hash cache: version 1
DEBUG: 13.7 BookStatusDialog:_purge_cached_orphans()
DEBUG: 14.1 BookStatusDialog:_update_remote_hash_cache()
DEBUG: 14.4 ERROR adding to installed_books
DEBUG: 14.4 Traceback (most recent call last):
File "calibre_plugins.marvin_manager.book_status", line 4206, in _get_installed_books
File "calibre_plugins.marvin_manager.book_status", line 4001, in _get_metadata_mismatches
ValueError: could not convert string to float:

DEBUG: 14.8 ERROR adding to installed_books
DEBUG: 14.8 Traceback (most recent call last):
File "calibre_plugins.marvin_manager.book_status", line 4206, in _get_installed_books
File "calibre_plugins.marvin_manager.book_status", line 4001, in _get_metadata_mismatches
ValueError: could not convert string to float:

DEBUG: 14.8 ERROR adding to installed_books
DEBUG: 14.8 Traceback (most recent call last):
File "calibre_plugins.marvin_manager.book_status", line 4206, in _get_installed_books
File "calibre_plugins.marvin_manager.book_status", line 4001, in _get_metadata_mismatches
ValueError: could not convert string to float:

DEBUG: 15.0 ERROR adding to installed_books
DEBUG: 15.0 Traceback (most recent call last):
File "calibre_plugins.marvin_manager.book_status", line 4206, in _get_installed_books
File "calibre_plugins.marvin_manager.book_status", line 4001, in _get_metadata_mismatches
ValueError: could not convert string to float:

DEBUG: 15.1 BookStatusDialog:_purge_cover_hash_orphans()
DEBUG: 15.1 removing orphan cid 147 from archived_cover_hashes
DEBUG: 15.1 removing orphan cid 158 from archived_cover_hashes
DEBUG: 15.1 removing orphan cid 184 from archived_cover_hashes
DEBUG: 15.1 removing orphan cid 189 from archived_cover_hashes
DEBUG: 15.1 BookStatusDialog:_generate_marvin_hash_map()
DEBUG: 15.1 BookStatusDialog:_find_fuzzy* Notification delivered.
_matches()
DEBUG: 15.1 BookStatusDialog:_busy_operation_setup(Preparing Marvin library view…)
DEBUG: 15.1 BookStatusDialog:_construct_table_data()
DEBUG: 15.4 BookStatusDialog:_construct_table_view()
DEBUG: 15.6 BookStatusDialog:_update_refresh_button()
DEBUG: 15.6 BookStatusDialog:_busy_operation_teardown()
DEBUG: 15.6 MarvinManagerAction:show_installed_books(BookStatus initialized)
Job: 3 Upload 1 books to device:The Guns of Avalon started
Device using plugboard epub MARVIN None
Setting metadata in: The Guns of Avalon at: /var/folders/lw/gcsny7jd2yvd3ykps8wtx6dh0000gn/T/calibre_1.3.0_tmp_c8R9Ym/faha53caltmpfmt.epub
Device using plugboard epub MARVIN None
DEBUG: 29.3 MarvinManagerAction:marvin_status_changed(upload_books)
DEBUG: 29.3 BookStatusDialog:marvin_status_changed(upload_books)
DeviceJob: 3 Upload 1 books to device:The Guns of Avalon done, calling callback
DeviceJob: 3 Upload 1 books to device:The Guns of Avalon callback returned
Job: 4 Send metadata to device started
DeviceJob: 4 Send metadata to device done, calling callback
DeviceJob: 4 Send metadata to device callback returned
Job: 3 Upload 1 books to device:The Guns of Avalon finished
No details available.
Job: 4 Send metadata to device finished
No details available.
DEBUG: 33.4 MarvinManagerAction:main_menu_button_clicked()
DEBUG: 33.4 MarvinManagerAction:show_installed_books()
DEBUG: 33.4 MarvinManagerAction:launch_library_scanner(library index current for virtual library u'')
DEBUG: 33.4 BookStatusDialog:initialize()
DEBUG: 33.4 BookStatusDialog:_generate_booklist()
DEBUG: 33.4 hash_map already generated
DEBUG: 33.4 BookStatusDialog:_get_installed_books()
DEBUG: 33.4 BookStatusDialog:_generate_marvin_hash_map()
DEBUG: 33.4 BookStatusDialog:_find_fuzzy_matches()
DEBUG: 33.4 BookStatusDialog:_busy_operation_setup(Preparing Marvin library view…)
DEBUG: 33.5 BookStatusDialog:_construct_table_data()
DEBUG: 33.7 BookStatusDialog:_construct_table_view()
DEBUG: 33.9 BookStatusDialog:_update_refresh_button()
DEBUG: 33.9 BookStatusDialog:_busy_operation_teardown()
DEBUG: 33.9 MarvinManagerAction:show_installed_books(BookStatus initialized)
DEBUG: 44.2 MarvinManagerAction:shutting_down()

@GRiker
Copy link
Collaborator

GRiker commented Sep 16, 2013

I believe this is the same problem as #14. Please reopen this bug if you see the behavior again. The fix is available in version 1.0.4.

@GRiker GRiker closed this as completed Sep 16, 2013
@evanbernstein
Copy link
Author

I'm still having this happen in 1.0.4. Do you need another stack trace?

@GRiker GRiker reopened this Sep 16, 2013
@GRiker
Copy link
Collaborator

GRiker commented Sep 16, 2013

Please post another debug log, it has to be a different error as I fixed the one in original debug log.

@evanbernstein
Copy link
Author

calibre 1.3 isfrozen: True is64bit: True
Darwin-12.4.0-x86_64-i386-64bit Darwin ('64bit', '')
('Darwin', '12.4.0', 'Darwin Kernel Version 12.4.0: Wed May 1 17:57:12 PDT 2013; root:xnu-2050.24.15~1/RELEASE_X86_64')
Python 2.7.5
OSX: ('10.8.4', ('', '', ''), 'x86_64')
Starting up...
DEBUG: 0.0 MarvinManagerAction:genesis(v1.0.4)
DEBUG: 0.0 MarvinManagerAction:init_options()
DEBUG: 0.0 MarvinManagerAction:inflate_dialog_resources()
DEBUG: 0.0 MarvinManagerAction:compile_ui()
DEBUG: 1.0 MarvinManagerAction:rebuild_menus()
DEBUG: 1.0 Marvin not connected
Started up in 1.93 seconds with 159 books
DEBUG: 2.5 MarvinManagerAction:on_device_connection_changed(iOS reader applications)
DEBUG: 2.5 mounting com.appstafarian.MarvinIP
DEBUG: 3.7 MarvinManagerAction:on_device_connection_changed(iPhone5,1 running iOS 6.1.4)
DEBUG: 3.7 self.has_password: False
DEBUG: 3.7 MarvinManagerAction:rebuild_menus()
DEBUG: 3.7 Marvin connected
Job: 1 Get device information started
DeviceJob: 1 Get device information done, calling callback
DeviceJob: 1 Get device information callback returned
Job: 2 Get list of books on device started
Job: 1 Get device information finished
No details available.
DeviceJob: 2 Get list of books on device done, calling callback
DeviceJob: 2 Get list of books on device callback returned
Job: 2 Get list of books on device finished
No details available.
DEBUG: 6.0 MarvinManagerAction:main_menu_button_clicked()
DEBUG: 6.0 MarvinManagerAction:show_installed_books()
DEBUG: 6.0 MarvinManagerAction:launch_library_scanner(updating library index for virtual library u'')
DEBUG: 6.0 MarvinManagerAction:start_library_indexing()
DEBUG: 6.0 MarvinManagerAction:_busy_operation_setup()
DEBUG: 6.3 MarvinManagerAction:library_index_complete()
DEBUG: 6.3 MarvinManagerAction:_busy_operation_teardown()
DEBUG: 6.3 BookStatusDialog:initialize()
DEBUG: 6.3 BookStatusDialog:_generate_booklist()
DEBUG: 6.5 BookStatusDialog:_scan_library_books(149)
DEBUG: 6.8 BookStatusDialog:_get_installed_books()
DEBUG: 6.8 BookStatusDialog:_scan_marvin_books(44)
DEBUG: 6.8 BookStatusDialog:_localize_hash_cache()
DEBUG: 6.8 remote hash cache: version 1
DEBUG: 6.8 BookStatusDialog:_purge_cached_orphans()
DEBUG: 7.2 BookStatusDialog:_update_remote_hash_cache()
DEBUG: 7.8 BookStatusDialog:_purge_cover_hash_orphans()
DEBUG: 7.8 BookStatusDialog:_generate_marvin_hash_map()
DEBUG: 7.8 BookStatusDialog:_find_fuzzy_matches()
DEBUG: 7.8 BookStatusDialog:_busy_operation_setup(Preparing Marvin library view…)
DEBUG: 7.9 BookStatusDialog:_construct_table_data()
DEBUG: 8.1 BookStatusDialog:_construct_table_view()
DEBUG: 8.2 BookStatusDialog:_update_refresh_button()
DEBUG: 8.2 BookStatusDialog:_busy_operation_teardown()
DEBUG: 8.2 MarvinManagerAction:show_installed_books(BookStatus initialized)
Job: 3 Upload 1 books to device:Starting From Here started
Device using plugboard epub MARVIN None
Setting metadata in: Starting From Here at: /var/folders/lw/gcsny7jd2yvd3ykps8wtx6dh0000gn/T/calibre_1.3.0_tmp_293vGD/23Z1gEcaltmpfmt.epub
Device using plugboard epub MARVIN None
DEBUG: 25.2 MarvinManagerAction:marvin_status_changed(upload_books)
DEBUG: 25.2 BookStatusDialog:marvin_status_changed(upload_books)
DeviceJob: 3 Upload 1 books to device:Starting From Here done, calling callback
DeviceJob: 3 Upload 1 books to device:Starting From Here callback returned
Job: 4 Send metadata to device started
DeviceJob: 4 Send metadata to device done, calling callback
DeviceJob: 4 Send metadata to device callback returned
Job: 3 Upload 1 books to device:Starting From Here finished
No details available.
Job: 4 Send metadata to device finished
No details available.
DEBUG: 33.6 MarvinManagerAction:main_menu_button_clicked()
DEBUG: 33.6 MarvinManagerAction:show_installed_books()
DEBUG: 33.6 MarvinManagerAction:launch_library_scanner(library index current for virtual library u'')
DEBUG: 33.6 BookStatusDialog:initialize()
DEBUG: 33.6 BookStatusDialog:_generate_booklist()
DEBUG: 33.6 hash_map already generated
DEBUG: 33.6 BookStatusDialog:_get_installed_books()
DEBUG: 33.6 BookStatusDialog:_generate_marvin_hash_map()
DEBUG: 33.7 BookStatusDialog:_find_fuzzy_matches()
DEBUG: 33.7 BookStatusDialog:_busy_operation_setup(Preparing Marvin library view…)
DEBUG: 33.7 BookStatusDialog:_construct_table_data()
DEBUG: 33.9 BookStatusDialog:_construct_table_view()
DEBUG: 34.0 BookStatusDialog:_update_refresh_button()
DEBUG: 34.0 BookStatusDialog:_busy_operation_teardown()
DEBUG: 34.0 MarvinManagerAction:show_installed_books(BookStatus initialized)
DEBUG: 42.9 MarvinManagerAction:shutting_down()

@GRiker
Copy link
Collaborator

GRiker commented Sep 16, 2013

There are no errors in the debug log, so let's go back to your original workflow:

  • start calibre
  • start Marvin XD
  • go into Marvin XD view
  • go back to calibre Library
  • select book > Send to device > Send to main memory
  • open Marvin XD view
  • the books just added are missing (you need to close the Marvin XD connection to see them again)

I followed these exact steps and I am seeing the added book when reopening the MXD window as expected.

When the MXD window opens, you can sort on different columns, so depending on how you have things sorted, you may not be seeing the book where you expect it. If you toggle the 'Show|Hide match status' button a couple of times, it will reset the sort order to put matched (green) books on top. Is it possibly not where you expected to see it?

Please check the book count (in the MXD title window) before and after downloading the book. Did it go up by one?

@evanbernstein
Copy link
Author

Nope, the count does not go up unless I disconnect and reconnect Marvin. (I've been resorting by author to double check before that the book was not there).

My books are also coming over as match status yellow (with no differences showing on 'View metadata')

@GRiker
Copy link
Collaborator

GRiker commented Sep 16, 2013

Try updating to 1.0.5

@GRiker
Copy link
Collaborator

GRiker commented Sep 16, 2013

The book that you're downloading - does it already exist in Marvin?

@evanbernstein
Copy link
Author

The books I'm adding do not exist in my Marvin for iPhone. They are on my Marvin for iPad (which is not currently connected during this morning's tests)

1.0.5 might have fixed the books coming over as matched yellow.

1.0.5 did not fix MXD not reloading after syncing a book

@GRiker
Copy link
Collaborator

GRiker commented Sep 16, 2013

Please try this with your iPhone connected and the calibre connector running:
Hold the alt/option key then open the MXD context menu (click the down arrow to the right of the icon). In the Developer submenu, clear the calibre and marvin caches (two different operations).
Restart calibre, try same steps. Any difference?

@GRiker
Copy link
Collaborator

GRiker commented Sep 16, 2013

One more thing to try. I'd like to see a debug log from iOS reader applications when you're doing the transfer. With Marvin connected, go into the Device context menu and open the Config dialog. Enable plugin debugging. For now, disable debugging in MXD.

Restart calibre, capture a debug log, post it. This will show what's happening when sending the book to Marvin.

@evanbernstein
Copy link
Author

For the first time, I did not need to disconnect Marvin for Marvin XD to see the new book I copied over. It did come over as matched status yellow however.

(huh, I never sent this last night)

This is a debug log from sending a book (for what this may or may not be worth). Sorry that I haven't had a chance to debug in the last few days.

I do have a question: I have an issue with Marvin XD which might be behind why books are syncing as match yellow. I get the same issue when using my OPDS calendar. I have edited the book's meta data in calibre so that the author sorting is correct. I even use 'Polish books' to update the meta data in the book. However, Marvin still gets the book with the wrong author sort. Do you know why this is?

calibre 1.3 isfrozen: True is64bit: True
Darwin-12.4.0-x86_64-i386-64bit Darwin ('64bit', '')
('Darwin', '12.4.0', 'Darwin Kernel Version 12.4.0: Wed May 1 17:57:12 PDT 2013; root:xnu-2050.24.15~1/RELEASE_X86_64')
Python 2.7.5
OSX: ('10.8.4', ('', '', ''), 'x86_64')
DEBUG: 0.0 iOSReaderApp:initialize(v1.1.1)
DEBUG: 0.0 iOSReaderApp:compile_ui()
DEBUG: 0.0 iOSReaderApp:_init_prefs(prefs created under v1.1.0)
DEBUG: 0.0 debug_libimobiledevice: False
DEBUG: 0.0 debug_plugin: True
DEBUG: 0.0 development_mode: False
DEBUG: 0.0 marvin_edit_collections_cb: False
DEBUG: 0.0 marvin_protect_rb: True
DEBUG: 0.0 marvin_replace_rb: False
DEBUG: 0.0 marvin_update_rb: False
DEBUG: 0.0 preferred_reader_app: u'Marvin'
DEBUG: 0.0 iOSReaderApp:_get_connected_device_info()
DEBUG: 3.2 mounting 'com.appstafarian.Marvin'
DEBUG: 4.2 iOSReaderApp:_class_reconfigure('Marvin')
DEBUG: 4.2 iOSReaderApp:_load_reader_app_overlays('Marvin')
DEBUG: 4.3 loading 30 overlays
DEBUG: 4.3 adding overlay '_cover_to_thumb()'
DEBUG: 4.3 adding overlay '_create_new_book()'
DEBUG: 4.3 adding overlay '_get_field_items()'
DEBUG: 4.3 adding overlay '_initialize_overlay()'
DEBUG: 4.3 adding overlay '_localize_database_path()'
DEBUG: 4.3 adding overlay '_remove_existing_copy()'
DEBUG: 4.3 adding overlay '_report_upload_results()'
DEBUG: 4.3 adding overlay '_reset_ios_connection()'
DEBUG: 4.3 adding overlay '_schedule_metadata_update()'
DEBUG: 4.3 adding overlay '_stage_command_file()'
DEBUG: 4.3 adding overlay '_update_epub_metadata()'
DEBUG: 4.3 adding overlay '_wait_for_command_completion()'
DEBUG: 4.3 adding overlay '_watchdog_timed_out()'
DEBUG: 4.3 adding overlay '_xform_metadata_via_plugboard()'
DEBUG: 4.3 adding overlay 'add_books_to_metadata()'
DEBUG: 4.3 adding overlay 'books()'
DEBUG: 4.3 adding overlay 'can_handle()'
DEBUG: 4.3 adding overlay 'can_handle_windows()'
DEBUG: 4.3 adding overlay 'delete_books()'
DEBUG: 4.3 adding overlay 'eject()'
DEBUG: 4.3 adding overlay 'get_busy_flag()'
DEBUG: 4.3 adding overlay 'get_file()'
DEBUG: 4.3 adding overlay 'is_usb_connected()'
DEBUG: 4.3 adding overlay 'is_usb_connected_windows()'
DEBUG: 4.3 adding overlay 'post_yank_cleanup()'
DEBUG: 4.3 adding overlay 'prepare_addable_books()'
DEBUG: 4.3 adding overlay 'remove_books_from_metadata()'
DEBUG: 4.3 adding overlay 'set_busy_flag()'
DEBUG: 4.3 adding overlay 'sync_booklists()'
DEBUG: 4.3 adding overlay 'upload_books()'
DEBUG: 4.3 iOSReaderApp:_initialize_overlay(Marvin)
DEBUG: 4.3 existing thumb cache at '/Users/ebernstein/Library/Caches/calibre/Marvin/thumbs.zip'
DEBUG: 4.3 ~~~~~~~~~~~~~~~~~~~~~~~~~ switching to Marvin overlay ~~~~~~~~~~~~~~~~~~~~~~~~~~
Starting up...
DEBUG: 5.6 iOSReaderApp:startup()
Started up in 1.94 seconds with 169 books
DEBUG: 10.7 iOSReaderApp:reset()
DEBUG: 10.7 detected_device = (1452L, 4779L, 832L, u'Apple Inc.', u'iPad', u'0311884b67c3ef077c9b548564f1e5e4e53cb870')
DEBUG: 10.7 report_progress = <bound method DeviceManager.report_progress of <DeviceManager(Thread-5, started daemon 4673519616)>>
DEBUG: 10.7 iOSReaderApp:open()
DEBUG: 10.7 vid:05ac pid:12ab
DEBUG: 11.9 iOSReaderApp:set_progress_reporter()
Job: 1 Get device information started
DEBUG: 11.9 iOSReaderApp:get_device_information()
DEBUG: 11.9 DeviceClass : iPad
DEBUG: 11.9 DeviceColor : black
DEBUG: 11.9 DeviceName : evan's iPad
DEBUG: 11.9 FSBlockSize : 4096
DEBUG: 11.9 FSFreeBytes : 3320217600
DEBUG: 11.9 FSTotalBytes : 61403615232
DEBUG: 11.9 FirmwareVersion : iBoot-1537.9.55
DEBUG: 11.9 HardwareModel : P101AP
DEBUG: 11.9 ModelNumber : MD512
DEBUG: 11.9 PasswordProtected : False
DEBUG: 11.9 ProductType : iPad3,4
DEBUG: 11.9 ProductVersion : 6.1.3
DEBUG: 11.9 SerialNumber : DMPJF32KF184
DEBUG: 11.9 TimeInter* Notification delivered.
valSince1970: 1379473738.5
DEBUG: 11.9 TimeZone : America/New_York
DEBUG: 11.9 TimeZoneOffsetFromUTC: -14400.0
DEBUG: 11.9 UniqueDeviceID : 0311884b67c3ef077c9b548564f1e5e4e53cb870
DEBUG: 11.9 iOSReaderApp:free_space()
DeviceJob: 1 Get device information done, calling callback
DeviceJob: 1 Get device information callback returned
DEBUG: 11.9 iOSReaderApp:set_progress_reporter()
Job: 2 Get list of books on device started
DEBUG: 11.9 iOSReaderApp:books()
DEBUG: 11.9 iOSReaderApp:_localize_database_path()
DEBUG: 11.9 updating local_db from u'/Library/mainDb.sqlite'
Job: 1 Get device information finished
No details available.
DeviceJob: 2 Get list of books on device done, calling callback
DEBUG: 15.1 iOSReaderApp:settings(format_map for 'Marvin': [u'epub'])
DEBUG: 15.1 iOSReaderApp:settings(format_map for 'Marvin': [u'epub'])
DeviceJob: 2 Get list of books on device callback returned
Job: 2 Get list of books on device finished
No details available.
DEBUG: 45.7 iOSReaderApp:settings(format_map for 'Marvin': [u'epub'])
DEBUG: 47.0 iOSReaderApp:set_progress_reporter()
Job: 3 Upload 1 books to device:The Ocean at the End of the Lane started
DEBUG: 47.0 iOSReaderApp:set_plugboards()
Device using plugboard epub MARVIN None
Setting metadata in: The Ocean at the End of the Lane at: /var/folders/lw/gcsny7jd2yvd3ykps8wtx6dh0000gn/T/calibre_1.3.0_tmp_JT9FNt/Xzz5VDcaltmpfmt.epub
DEBUG: 47.1 iOSReaderApp:upload_books()
DEBUG: 47.1 'The Ocean at the End of the Lane' by [u'Neil Gaiman'] does not exist in Marvin
DEBUG: 47.1 iOSReaderApp:_update_epub_metadata(The Ocean at the End of the Lane)
DEBUG: 47.1 iOSReaderApp:_xform_metadata_via_plugboard(The Ocean at the End of the Lane)
Device using plugboard epub MARVIN None
DEBUG: 47.1 no matching plugboard
DEBUG: 47.2 iOSReaderApp:_cover_to_thumb(The Ocean at the End of the Lane)
DEBUG: 47.3 iOSReaderApp:_create_new_book(title: u'The Ocean at the End of the Lane' uuid: u'e745cc1a-18bc-4396-ad36-a20648a19150')
DEBUG: 47.3 collection_field:
DEBUG: 47.3 iOSReaderApp:_get_field_items('The Ocean at the End of the Lane': Invalid metadata field specified as collection source: '')
DEBUG: 47.3 collections: []
DEBUG: 47.4 iOSReaderApp:_stage_command_file(upload_books)
DEBUG: 47.4 iOSReaderApp:_wait_for_command_completion(upload_books)
DEBUG: 47.4 23:09:40.586833: waiting for '/Library/calibre/status.xml'
DEBUG: 48.8 23:09:42.026052: monitoring progress of upload_books
DEBUG: 48.8 23:09:42.033126: -1 50%
DEBUG: 49.3 23:09:42.465940: 0 100%
DEBUG: 49.4 23:09:42.571706: 'upload_books' complete
DEBUG: 49.4 iOSReaderApp:_localize_database_path()
DEBUG: 49.4 updating local_db from u'/Library/mainDb.sqlite'
DeviceJob: 3 Upload 1 books to device:The Ocean at the End of the Lane done, calling callback
DEBUG: 50.8 iOSReaderApp:add_books_to_metadata()
DEBUG: 50.8 iOSReaderApp:set_plugboards()
DeviceJob: 3 Upload 1 books to device:The Ocean at the End of the Lane callback returned
DEBUG: 50.8 iOSReaderApp:set_progress_reporter()
Job: 4 Send metadata to device started
DEBUG: 50.8 iOSReaderApp:sync_booklists(automatic metadata management disabled)
DEBUG: 50.8 iOSReaderApp:free_space()
DeviceJob: 4 Send metadata to device done, calling callback
DeviceJob: 4 Send metadata to device callback returned
Job: 3 Upload 1 books to device:The Ocean at the End of the Lane finished
No details available.
Job: 4 Send metadata to device finished
No details available.
DEBUG: 80.1 iOSReaderApp:post_yank_cleanup()

@GRiker
Copy link
Collaborator

GRiker commented Sep 18, 2013

The debug log indicates that your book is in fact being added to Marvin correctly.

I do have a question: I have an issue with Marvin XD which might be behind why books are syncing as match yellow. I get the same issue when using my OPDS calendar. I have edited the book's meta data in calibre so that the author sorting is correct. I even use 'Polish books' to update the meta data in the book. However, Marvin still gets the book with the wrong author sort. Do you know why this is?

Both the OPDS download and the direct plugin download use the current calibre metadata and apply it to the copy of the book being sent.

Please create step-by-step documentation of what you're doing and what you're observing so that I can try to replicate it. If I can replicate the issue, I should be able to resolve it.

Here's the steps I took to try to replicate your problem:

  • Edit author_sort metadata of a book not currently installed in Marvin
  • Send book from calibre to Marvin
  • Exit calibre, open Marvin
  • In library view, open metadata view of newly added book
  • Confirm that author_sort is the value I set in first step

This works for me as expected.

@GRiker
Copy link
Collaborator

GRiker commented Oct 13, 2013

I'm closing this issue as there's been no followup.

@GRiker GRiker closed this as completed Oct 13, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants