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 crashes when 'Export metadata from calibre to Marvin' for many selected rows #14

Closed
evanbernstein opened this Issue Sep 15, 2013 · 3 comments

Comments

Projects
None yet
2 participants
@evanbernstein

evanbernstein commented Sep 15, 2013

  • open Marvin XD
  • select a few rows that have a sync status of yellow
  • right click 'Export metadata from calibre to Marvin'
  • Notification delivered.
    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.1 MarvinManagerAction:rebuild_menus()
    DEBUG: 1.1 Marvin not connected
    Started up in 1.95 seconds with 159 books
    DEBUG: 11.5 MarvinManagerAction:on_device_connection_changed(iOS reader applications)
    DEBUG: 11.5 mounting com.appstafarian.Marvin
    DEBUG: 12.7 MarvinManagerAction:on_device_connection_changed(iPad3,4 running iOS 6.1.3)
    DEBUG: 12.7 self.has_password: False
    DEBUG: 12.7 MarvinManagerAction:rebuild_menus()
    DEBUG: 12.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.
    DEBUG: 13.9 MarvinManagerAction:main_menu_button_clicked()
    DEBUG: 13.9 MarvinManagerAction:show_installed_books()
    DEBUG: 13.9 MarvinManagerAction:launch_library_scanner(updating library index for virtual library u'')
    DEBUG: 13.9 MarvinManagerAction:start_library_indexing()
    DEBUG: 13.9 MarvinManagerAction:_busy_operation_setup()
    DEBUG: 14.2 MarvinManagerAction:library_index_complete()
    DEBUG: 14.2 MarvinManagerAction:_busy_operation_teardown()
    DEBUG: 14.2 BookStatusDialog:initialize()
    DEBUG: 14.2 BookStatusDialog:_generate_booklist()
    DEBUG: 14.4 BookStatusDialog:_scan_library_books(149)
    DEBUG: 14.7 BookStatusDialog:_get_installed_books()
    DEBUG: 14.7 BookStatusDialog:_busy_operation_setup(Waiting for driver to finish initialization…)
    DEBUG: 15.6 BookStatusDialog:_busy_operation_teardown()
    DeviceJob: 2 Get list of books on device done, calling callback
    DEBUG: 15.7 BookStatusDialog:_scan_marvin_books(113)
    DEBUG: 15.7 BookStatusDialog:_localize_hash_cache()
    DEBUG: 15.7 remote hash cache: version 1
    DEBUG: 15.7 BookStatusDialog:_purge_cached_orphans()
    DeviceJob: 2 Get list of books on device callback returned
    Job: 2 Get list of books on device finished
    No details available.
    DEBUG: 16.4 BookStatusDialog:_update_remote_hash_cache()
    DEBUG: 16.8 ERROR adding to installed_books
    DEBUG: 16.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: 17.1 ERROR adding to installed_books
DEBUG: 17.1 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: 17.1 ERROR adding to installed_books
DEBUG: 17.1 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: 17.3 ERROR adding to installed_books
DEBUG: 17.3 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: 17.5 BookStatusDialog:_purge_cover_hash_orphans()
DEBUG: 17.5 removing orphan cid 147 from archived_cover_hashes
DEBUG: 17.5 removing orphan cid 158 from archived_cover_hashes
DEBUG: 17.5 removing orphan cid 184 from archived_cover_hashes
DEBUG: 17.5 removing orphan cid 189 from archived_cover_hashes
DEBUG: 17.5 BookStatusDialog:_generate_marvin_hash_map()
DEBUG: 17.5 BookStatusDialog:_find_fuzzy_matches()
DEBUG: 17.5 BookStatusDialog:_busy_operation_setup(Preparing Marvin library view…)
DEBUG: 17.6 BookStatusDialog:_construct_table_data()
DEBUG: 17.8 BookStatusDialog:_construct_table_view()
DEBUG: 18.1 BookStatusDialog:_update_refresh_button()
DEBUG: 18.1 BookStatusDialog:_busy_operation_teardown()
DEBUG: 18.1 MarvinManagerAction:show_installed_books(BookStatus initialized)
DEBUG: 28.4 BookStatusDialog:dispatch_context_menu_event(u'export_metadata' row: 97)
DEBUG: 28.4 BookStatusDialog:_update_metadata(export_metadata)
DEBUG: 28.6 BookStatusDialog:_update_marvin_metadata(Sign of the Unicorn)
DEBUG: 28.6 mismatches:
{u'publisher': {u'Marvin': u'Thorndike Pr', u'calibre': None}}
DEBUG: 28.6 BookStatusDialog:_build_metadata_update()
DEBUG: 28.6 'Sign of the Unicorn': cover is up to date
DEBUG: 28.6 BookStatusDialog:_issue_command()
DEBUG: 29.0 BookStatusDialog:_stage_command_file(update_metadata)
DEBUG: 29.0 BookStatusDialog:_wait_for_command_completion()
DEBUG: 29.0 14:09:01.860406: waiting for '/Library/calibre/status.xml'
DEBUG: 29.6 14:09:02.535660: monitoring progress of update_metadata
DEBUG: 29.7 14:09:02.540951: -1 50%
DEBUG: 29.8 14:09:02.652241: 0 100%
DEBUG: 29.9 14:09:02.758757: 'update_metadata' complete
DEBUG: 29.9 BookStatusDialog:_localize_marvin_database(starting)
DEBUG: 29.9 BookStatusDialog:_busy_operation_setup(Updating local database)
DEBUG: 29.9 mainDb: 22,206,464 bytes
DEBUG: 31.3 BookStatusDialog:_busy_operation_teardown()
DEBUG: 31.3 BookStatusDialog:_localize_marvin_database(finished)
DEBUG: 31.3 BookStatusDialog:_clear_selected_rows()
DEBUG: 31.4 BookStatusDialog:_update_marvin_metadata(Sign of Chaos)
DEBUG: 31.4 mismatches:
{u'publisher': {u'Marvin': u'G.K. Hall', u'calibre': None}}
DEBUG: 31.4 BookStatusDialog:_build_metadata_update()
DEBUG: 31.4 'Sign of Chaos': cover is up to date
DEBUG: 31.4 BookStatusDialog:_issue_command()
DEBUG: 31.4 BookStatusDialog:_stage_command_file(update_metadata)
DEBUG: 31.4 BookStatusDialog:_wait_for_command_completion()
DEBUG: 31.4 14:09:04.264307: waiting for '/Library/calibre/status.xml'
DEBUG: 32.8 14:09:05.639732: monitoring progress of update_metadata
DEBUG: 32.8 14:09:05.645268: -1 50%
DEBUG: 33.0 14:09:05.864439: 0 100%
DEBUG: 33.1 14:09:05.970079: 'update_metadata' complete
DEBUG: 33.1 BookStatusDialog:_localize_marvin_database(starting)
DEBUG: 33.1 BookStatusDialog:_busy_operation_setup(Updating local database)
DEBUG: 33.1 mainDb: 22,206,464 bytes
DEBUG: 34.5 BookStatusDialog:_busy_operation_teardown()
DEBUG: 34.5 BookStatusDialog:_localize_marvin_database(finished)
DEBUG: 34.5 BookStatusDialog:_clear_selected_rows()
DEBUG: 34.6 BookStatusDialog:_update_marvin_metadata(Prince of Chaos)
DEBUG: 34.6 mismatches:
{u'publisher': {u'Marvin': u'Thorndike Press', u'calibre': None}}
DEBUG: 34.6 BookStatusDialog:_build_metadata_update()
DEBUG: 34.6 'Prince of Chaos': cover is up to date
DEBUG: 34.6 BookStatusDialog:_issue_command()
DEBUG: 34.6 BookStatusDialog:_stage_command_file(update_metadata)
DEBUG: 34.6 BookStatusDialog:_wait_for_command_completion()
DEBUG: 34.6 14:09:07.460480: waiting for '/Library/calibre/status.xml'
DEBUG: 36.0 14:09:08.905910: monitoring progress of update_metadata
DEBUG: 36.0 14:09:08.910942: -1 50%
DEBUG: 36.2 14:09:09.129587: 0 100%
DEBUG: 36.3 14:09:09.235300: 'update_metadata' complete
DEBUG: 36.3 BookStatusDialog:_localize_marvin_database(starting)
DEBUG: 36.3 BookStatusDialog:_busy_operation_setup(Updating local database)
DEBUG: 36.4 mainDb: 22,206,464 bytes
DEBUG: 37.7 BookStatusDialog:_busy_operation_teardown()
DEBUG: 37.7 BookStatusDialog:_localize_marvin_database(finished)
DEBUG: 37.8 BookStatusDialog:_clear_selected_rows()
DEBUG: 37.9 BookStatusDialog:_update_marvin_metadata(Only You Can Save Mankind)
DEBUG: 37.9 mismatches:
{u'publisher': {u'Marvin': u'HarperTrophy', u'calibre': None}}
DEBUG: 37.9 BookStatusDialog:_build_metadata_update()
DEBUG: 37.9 'Only You Can Save Mankind': cover is up to date
DEBUG: 37.9 BookStatusDialog:_issue_command()
DEBUG: 37.9 BookStatusDialog:_stage_command_file(update_metadata)
DEBUG: 38.0 BookStatusDialog:_wait_for_command_completion()
DEBUG: 38.0 14:09:10.851402: waiting for '/Library/calibre/status.xml'
DEBUG: 39.2 14:09:12.098304: monitoring progress of update_metadata
DEBUG: 39.2 14:09:12.105030: -1 50%
DEBUG: 39.4 14:09:12.323581: 0 100%
DEBUG: 39.5 14:09:12.429891: 'update_metadata' complete
DEBUG: 39.5 BookStatusDialog:_localize_marvin_database(starting)
DEBUG: 39.5 BookStatusDialog:_busy_operation_setup(Updating local database)
DEBUG: 39.6 mainDb: 22,206,464 bytes
DEBUG: 40.9 BookStatusDialog:_busy_operation_teardown()
DEBUG: 40.9 BookStatusDialog:_localize_marvin_database(finished)
DEBUG: 41.1 BookStatusDialog:_clear_selected_rows()
DEBUG: 41.2 BookStatusDialog:_update_marvin_metadata(New Spring)
DEBUG: 41.2 mismatches:
{u'author_sort': {u'Marvin': u'Robert Jordan', u'calibre': u'Jordan, Robert'}}
DEBUG: 41.2 BookStatusDialog:_build_metadata_update()
DEBUG: 41.2 'New Spring': cover is up to date
DEBUG: 41.2 BookStatusDialog:_issue_command()
DEBUG: 42.0 BookStatusDialog:_stage_command_file(update_metadata)
DEBUG: 42.0 BookStatusDialog:_wait_for_command_completion()
DEBUG: 42.0 14:09:14.890524: waiting for '/Library/calibre/status.xml'
DEBUG: 42.4 14:09:15.303516: monitoring progress of update_metadata
DEBUG: 42.4 14:09:15.308982: -1 50%
DEBUG: 42.6 14:09:15.527578: 0 100%
DEBUG: 42.7 14:09:15.633842: 'update_metadata' complete
DEBUG: 42.7 BookStatusDialog:_localize_marvin_database(starting)
DEBUG: 42.7 BookStatusDialog:_busy_operation_setup(Updating local database)
DEBUG: 42.8 mainDb: 22,206,464 bytes
DEBUG: 44.1 BookStatusDialog:_busy_operation_teardown()
DEBUG: 44.1 BookStatusDialog:_localize_marvin_database(finished)
DEBUG: 55.0 MarvinManagerAction:shutting_down()

@GRiker

This comment has been minimized.

Collaborator

GRiker commented Sep 15, 2013

I wish you would have been a beta tester :)

@evanbernstein

This comment has been minimized.

evanbernstein commented Sep 15, 2013

Well, I'm willing to be one in the future :)

Kris has let me sign up to be a beta tester for Marvin, I just have to choose the iPhone or iPad (stupid Apple limits). I haven't decided yet.

@GRiker

This comment has been minimized.

Collaborator

GRiker commented Sep 16, 2013

The fix is now available in v1.0.4.

@GRiker GRiker closed this Sep 16, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment