View Single Post
Old 08-24-2014, 05:14 AM   #612
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,561
Karma: 20150435
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by davidfor View Post
Jellby: What options are you selecting on the update metadata dialog? I suspect you are only selecting the "Use plugboard" option. This option will only do anything if other options are also selected. The dialog shouldn't have allowed you to continue if this was the only option that was checked. I have attached a version that fixes this.
No, I have "Use plugboard", but also title, author and series, plus title sort and author sort, but these are grayed-out.

Quote:
Can you try this version and see how it goes?
Same result. Here is the log (only for the update metadata part):

Spoiler:
Code:
DEBUG:  218.2 Have a Kobo device connected connected
DEBUG:  218.2 BEGIN Get Device Path
DEBUG:  218.2 Root path of device: /media/KOBOeReader/
DEBUG:  218.2 END Get Device Path
DEBUG:  218.2 update_metadata - selectedIDs: [171, 259, 108]
DEBUG:  218.2 update_metadata - device_book_paths: [u'/media/EBOOKS_HCSD/G/Gorey, Edward St. John/Story for Sara.epub']
DEBUG:  218.2 update_metadata - device_book_paths: [u'/media/EBOOKS_HCSD/T/Tolkien, John Ronald Reuel/Sir Gawain and the Green Knight; Pearl; Sir Orfeo.epub']
DEBUG:  218.2 update_metadata - device_book_paths: [u'/media/EBOOKS_HCSD/W/Wodehouse, Pelham Grenville & Westbrook, Herbert/Not George Washington.epub']
DEBUG:  224.7 UpdateMetadataOptionsDialog:ok_clicked - key='usePlugboard' self.new_prefs[key]=True
DEBUG:  224.7 UpdateMetadataOptionsDialog:ok_clicked - key='publisher' self.new_prefs[key]=False
DEBUG:  224.7 UpdateMetadataOptionsDialog:ok_clicked - key='mark_not_interested' self.new_prefs[key]=False
DEBUG:  224.7 UpdateMetadataOptionsDialog:ok_clicked - key='published_date' self.new_prefs[key]=False
DEBUG:  224.7 UpdateMetadataOptionsDialog:ok_clicked - key='rating' self.new_prefs[key]=False
DEBUG:  224.7 UpdateMetadataOptionsDialog:ok_clicked - key='description' self.new_prefs[key]=False
DEBUG:  224.7 UpdateMetadataOptionsDialog:ok_clicked - key='language' self.new_prefs[key]=False
DEBUG:  224.7 UpdateMetadataOptionsDialog:ok_clicked - key='title' self.new_prefs[key]=True
DEBUG:  224.7 _update_metadata: number books= 3 options= {u'usePlugboard': True, u'publisher': False, u'mark_not_interested': False, u'published_date': False, u'rating': False, u'description': False, u'language': False, u'title': True, u'series': True, u'author': True, u'authourSort': True, u'tagsInSubtitle': False, u'setRreadingStatus': False, u'readingStatus': -1, u'isbn': False, u'titleSort': True, u'resetPosition': False}
DEBUG:  224.7 _update_metadata: plugboards= {u'epub': {u'KOBOTOUCH': [[u'{author_sort:\'re(list_item($,0,"&"), \' \', \'\xa0\')\'}', u'authors'], [u"{title_sort:'re($, ' ', '\xa0')'}", u'title']]}}
DEBUG:  224.7 _update_metadata: self.device.__class__.__name__= KOBOTOUCH
DEBUG:  224.7 generate_metadata_query - self.supports_series= True
DEBUG:  224.7 generate_metadata_query - supports series is true
DEBUG:  224.7 generate_metadata_query - test_query=SELECT Title,       Attribution,     Description,     Publisher,    Series,        SeriesNumber,  Subtitle,  ReadStatus,  DateCreated,  Language,  ISBN,  FeedbackType,  FeedbackTypeSynced,  r.Rating,  r.DateModified FROM content c1  left outer join ratings r on c1.ContentID = r.ContentID WHERE c1.BookId IS NULL AND c1.ContentId = ?
DEBUG:  224.7 _update_metadata - searching for contentId='file:///mnt/sd/G/Gorey, Edward St. John/Story for Sara.epub'
DEBUG:  224.7 _update_metadata - found contentId='file:///mnt/sd/G/Gorey, Edward St. John/Story for Sara.epub'
DEBUG:  224.7     result= <sqlite3.Row object at 0x7f85c2a55fd0>
DEBUG:  224.7 _update_metadata - format='epub'
Device using plugboard epub KOBOTOUCH [[u'{author_sort:\'re(list_item($,0,"&"), \' \', \'\xa0\')\'}', u'authors'], [u"{title_sort:'re($, ' ', '\xa0')'}", u'title']]
DEBUG:  224.7 _update_metadata: plugboard= [[u'{author_sort:\'re(list_item($,0,"&"), \' \', \'\xa0\')\'}', u'authors'], [u"{title_sort:'re($, ' ', '\xa0')'}", u'title']]
DEBUG:  224.7 _update_metadata: applying plugboard
DEBUG:  224.7 _update_metadata: newmi.title= Story*for*Sara
DEBUG:  224.7 _update_metadata: newmi.authors= [u'Gorey,\xa0Edward\xa0St.\xa0John']
DEBUG:  224.7 _update_metadata: title_string= None
DEBUG:  224.7 _update_metadata: title_string= Story*for*Sara
DEBUG:  224.7 _update_metadata: authors_string= None
DEBUG:  224.7 _update_metadata: authors_string= Gorey,*Edward*St.*John
DEBUG:  224.7 _update_metadata - self.options[cfg.KEY_SET_RATING]=  False
DEBUG:  224.7 _update_metadata - self.options['series'] True
DEBUG:  224.7 _update_metadata - newmi.series= None newmi.series_index= None
DEBUG:  224.7 _update_metadata - result['Series'] ='None' result['SeriesNumber'] =None
DEBUG:  224.7 _update_metadata - result['Series'] == newmi.series = True
DEBUG:  224.7 _update_metadata - result["SeriesNumber"] == series_index_str = True
DEBUG:  224.7 _update_metadata - not (result["Series"] == newmi.series or result["SeriesNumber"] == series_index_str) = False
DEBUG:  224.7 _update_metadata - no changes found to selected metadata. No changes being made.
DEBUG:  224.7 _update_metadata - searching for contentId='file:///mnt/sd/T/Tolkien, John Ronald Reuel/Sir Gawain and the Green Knight; Pearl; Sir Orfeo.epub'
DEBUG:  224.7 _update_metadata - found contentId='file:///mnt/sd/T/Tolkien, John Ronald Reuel/Sir Gawain and the Green Knight; Pearl; Sir Orfeo.epub'
DEBUG:  224.7     result= <sqlite3.Row object at 0x7f863531e6f0>
DEBUG:  224.7 _update_metadata - format='epub'
Device using plugboard epub KOBOTOUCH [[u'{author_sort:\'re(list_item($,0,"&"), \' \', \'\xa0\')\'}', u'authors'], [u"{title_sort:'re($, ' ', '\xa0')'}", u'title']]
DEBUG:  224.7 _update_metadata: plugboard= [[u'{author_sort:\'re(list_item($,0,"&"), \' \', \'\xa0\')\'}', u'authors'], [u"{title_sort:'re($, ' ', '\xa0')'}", u'title']]
DEBUG:  224.7 _update_metadata: applying plugboard
DEBUG:  224.7 _update_metadata: newmi.title= Sir*Gawain*and*the*Green*Knight;*Pearl;*Sir*Orfeo
DEBUG:  224.7 _update_metadata: newmi.authors= [u'Desconocido']
DEBUG:  224.7 _update_metadata: title_string= None
DEBUG:  224.7 _update_metadata: title_string= Sir*Gawain*and*the*Green*Knight;*Pearl;*Sir*Orfeo
DEBUG:  224.7 _update_metadata: authors_string= None
DEBUG:  224.7 _update_metadata: authors_string= Desconocido
DEBUG:  224.7 _update_metadata - self.options[cfg.KEY_SET_RATING]=  False
DEBUG:  224.7 _update_metadata - self.options['series'] True
DEBUG:  224.7 _update_metadata - newmi.series= None newmi.series_index= None
DEBUG:  224.7 _update_metadata - result['Series'] ='None' result['SeriesNumber'] =None
DEBUG:  224.7 _update_metadata - result['Series'] == newmi.series = True
DEBUG:  224.7 _update_metadata - result["SeriesNumber"] == series_index_str = True
DEBUG:  224.7 _update_metadata - not (result["Series"] == newmi.series or result["SeriesNumber"] == series_index_str) = False
DEBUG:  224.7 _update_metadata - no changes found to selected metadata. No changes being made.
DEBUG:  224.7 _update_metadata - searching for contentId='file:///mnt/sd/W/Wodehouse, Pelham Grenville & Westbrook, Herbert/Not George Washington.epub'
DEBUG:  224.7 _update_metadata - found contentId='file:///mnt/sd/W/Wodehouse, Pelham Grenville & Westbrook, Herbert/Not George Washington.epub'
DEBUG:  224.7     result= <sqlite3.Row object at 0x7f85c2a55d30>
DEBUG:  224.7 _update_metadata - format='epub'
Device using plugboard epub KOBOTOUCH [[u'{author_sort:\'re(list_item($,0,"&"), \' \', \'\xa0\')\'}', u'authors'], [u"{title_sort:'re($, ' ', '\xa0')'}", u'title']]
DEBUG:  224.7 _update_metadata: plugboard= [[u'{author_sort:\'re(list_item($,0,"&"), \' \', \'\xa0\')\'}', u'authors'], [u"{title_sort:'re($, ' ', '\xa0')'}", u'title']]
DEBUG:  224.7 _update_metadata: applying plugboard
DEBUG:  224.7 _update_metadata: newmi.title= Not*George*Washington
DEBUG:  224.7 _update_metadata: newmi.authors= [u'Wodehouse,\xa0Pelham\xa0Grenville']
DEBUG:  224.7 _update_metadata: title_string= None
DEBUG:  224.7 _update_metadata: title_string= Not*George*Washington
DEBUG:  224.7 _update_metadata: authors_string= None
DEBUG:  224.7 _update_metadata: authors_string= Wodehouse,*Pelham*Grenville
DEBUG:  224.7 _update_metadata - self.options[cfg.KEY_SET_RATING]=  False
DEBUG:  224.7 _update_metadata - self.options['series'] True
DEBUG:  224.7 _update_metadata - newmi.series= None newmi.series_index= None
DEBUG:  224.7 _update_metadata - result['Series'] ='None' result['SeriesNumber'] =None
DEBUG:  224.7 _update_metadata - result['Series'] == newmi.series = True
DEBUG:  224.7 _update_metadata - result["SeriesNumber"] == series_index_str = True
DEBUG:  224.7 _update_metadata - not (result["Series"] == newmi.series or result["SeriesNumber"] == series_index_str) = False
DEBUG:  224.7 _update_metadata - no changes found to selected metadata. No changes being made.
DEBUG:  224.7 Update summary: Books updated=0, unchanged books=3, not on device=0, Total=3
Jellby is offline