View Single Post
Old 01-09-2017, 12:55 PM   #1232
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,257
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by davidfor View Post
I have just uploaded version 2.5.0 of the plugin. This doesn't have anything big in it, mainly catching up on problems and suggestions from late last year.

The changes are:
  • Fix: Error if cleaning cover for book on device but not in database.
  • Change: Button can be set to opening driver configuration or swapping drivers when no device connected.
  • Fix: Exception during backup as WinError is not on non-Windows machines.
  • Update: Latest Spanish translations from Terisa
I tried to use the red bolded option but it still isn't working for me. When I press the main KU toolbar button I still get the 'Configure KU' screen coming up even though I've set the config to 'Configure Driver'.

Is there something obvious I've missed? I've attached a copy of my .json config file and a debug log.

ETA: I should add that if I connect a device then pressing the main toolbar button does open the 'Configure Driver' window.

Kobo Utilities.json
Spoiler:
Code:
{
  "updateOptionsStore": {
    "doFirmwareUpdateCheck": false, 
    "firmwareUpdateCheckLastTime": 0, 
    "doEarlyFirmwareUpdate": false
  }, 
  "backupOptionsStore": {
    "backupEachCOnnection": true, 
    "backupCopiesToKeepSpin": 5, 
    "doDailyBackp": false, 
    "backupZipDatabase": true, 
    "backupDestDirectory": "D:/JSeBooks/WIP/Kobo/Backups"
  }, 
  "MetadataOptions": {
    "mark_not_interested": false, 
    "setRreadingStatus": false, 
    "language": false, 
    "isbn": true, 
    "authourSort": false, 
    "subtitle": true, 
    "readingStatus": -1, 
    "descriptionTemplate": "plugboard:{#pages:|<div>Pages: |; }{#words:|Words: |</div>}{tags:|<div>Tags: |</div><hr/>}{comments}", 
    "titleSort": false, 
    "title": true, 
    "published_date": true, 
    "usePlugboard": true, 
    "series": true, 
    "resetPosition": false, 
    "publisher": false, 
    "subtitleTemplate": "", 
    "description": true, 
    "update_KoboEpubs": true, 
    "rating": false, 
    "descriptionUseTemplate": true, 
    "author": true
  }, 
  "commonOptionsStore": {
    "promptToStore": true, 
    "buttonActionLibrary": "Configure Driver", 
    "storeOnConnect": false, 
    "storeIfMoreRecent": false, 
    "doNotStoreIfReopened": false, 
    "buttonActionDevice": "", 
    "individualDeviceOptions": false
  }, 
  "dismissTilesOptionsStore": {
    "tileOptions": {
      "QuickTour": true, 
      "RelatedItems": true, 
      "RecentPocketArticle": true, 
      "Shelf": false, 
      "CategoryFTE": true, 
      "WhatsNew": false, 
      "Extras": true, 
      "Recommendations": true, 
      "Bookstore": true, 
      "Library": false, 
      "Sync": true, 
      "Top50": true, 
      "Award": true, 
      "GlobalStats": false
    }, 
    "tileRecentBooksFinished": true, 
    "tileRecentBooksInTheCLoud": true, 
    "tileRecentBooksNew": true
  }, 
  "Devices": {}
}


Debug log
Spoiler:
Code:
Process started >>>

C:\Program Files (x86)\Notepad++>echo off 
calibre 2.75 [64bit]  embedded-python: True is64bit: True
Windows-8-6.2.9200 Windows ('64bit', 'WindowsPE')
('Windows', '8', '6.2.9200')
Python 2.7.9
Windows: ('8', '6.2.9200', '', 'Multiprocessor Free')
Qt: Untested Windows version 10.0 detected!
Successfully initialized third party plugins: DeDRM (6, 5, 2) && EpubSplit (2, 2, 0) && KindleUnpack - The Plugin (0, 81, 2) && KoboBooks (1, 0, 0) && Barnes & Noble (1, 2, 14) && KePub Metadata Writer (2, 7, 1) && EpubCheck (0, 1, 1) && JS_Editor_Tools (0, 1, 8) && Extract ISBN (2, 0, 0) && Epub2Kepub (0, 0, 17) && KoboTouchExtended (2, 8, 2) && SmartEject (2, 0, 6) && Wiki Reader (2, 1, 0) && Edit Book plugin demo (1, 0, 0) && EpubModBuild (0, 1, 2) && DOC Input (1, 0, 1) && ScrambleEbook (0, 0, 4) && Fantastic Fiction (1, 1, 6) && KePub Output (2, 7, 1) && Copy Cover To Device (2, 0, 0) && Kobo Utilities (2, 5, 1) && JSTest Plugin (2, 5, 4) && Quality Check (1, 9, 11) && KePub Input (2, 7, 3) && Goodreads (1, 1, 12) && Modify ePub (1, 3, 13) && Search The Internet (1, 7, 6) && Count Pages (1, 6, 12) && KePub Metadata Reader (2, 7, 1) && Obok DeDRM (6, 5, 2)
devicePixelRatio: 1.0
logicalDpi: 96.0 x 96.0
physicalDpi: 127.664921466 x 127.590697674
Starting up...
cssutils 1.0
lxml etree: 3.3.5
DEBUG:    0.0 KoboUtilites::action.py - loading translations
DEBUG:    0.0 KoboUtilites::dialogs.py - loading translations
DEBUG:    0.0 KoboUtilites::action.py - loading translations
cssutils 1.0
lxml etree: 3.3.5
DEBUG:    0.0 obok::utilities.py - loading translations
DEBUG:    0.0 obok::dialogs.py - loading translations
DEBUG:    0.0 obok::config.py - loading translations
DEBUG:    0.0 obok::action_err.py - loading translations
DEBUG:    2.0 No Kobo Touch, Glo or Mini appears to be connected
DEBUG:    2.0 rebuild_menus - self.supports_ratings=None, self.supports_tiles=None
DEBUG:    2.0 KoboUtilities:set_toolbar_button_tooltip - start: text='None'
DEBUG:    2.0 KoboUtilities:set_toolbar_button_tooltip - setting to text='Utilities to use with Kobo ereaders

Driver: KoboTouch'
Started up in 2.80 seconds with 8444 books
SMART_DEV (   0.00:  0.003) _attach_to_port try ip address "" on port 9090
SMART_DEV (   0.90:  0.817) startup_on_demand listening on port 9090
SMART_DEV (   0.95:  0.007) _attach_to_port try ip address "" on port 54982
SMART_DEV (   0.98:  0.000) startup_on_demand broadcast socket listening on port 54982
SMART_DEV (   2.03:  1.017) run All IP addresses {'{CA507891-BB4D-4B22-8673-8FC5C46FAE78}': [{'addr': '169.254.237.148'}], '{B600A8F1-1A93-4EAA-96CA-BF04CEE2DA36}': [{'addr': '169.254.234.154'}], '{E10C1D28-9CB8-11E6-A7C6-806E6F6E6963}': [{'broadcast': '127.255.255.255', 'netmask': '255.0.0.0', 'addr': '127.0.0.1'}], '{DB2DD517-63F1-4E2F-8160-059478B99BF1}': [{'addr': '169.254.111.113'}], '{B707974E-9488-42B1-BAAD-254627B9DE69}': [{'broadcast': '192.168.0.255', 'netmask': '255.255.255.0', 'addr': '192.168.0.19'}]}
DEBUG:   10.8 No Kobo Touch, Glo or Mini appears to be connected
DEBUG:   10.8 rebuild_menus - self.supports_ratings=None, self.supports_tiles=None
DEBUG:   10.8 KoboUtilities:set_toolbar_button_tooltip - start: text='None'
DEBUG:   10.8 KoboUtilities:set_toolbar_button_tooltip - setting to text='Utilities to use with Kobo ereaders

Driver: KoboTouch'
DEBUG:   10.8 No Kobo Touch, Glo or Mini appears to be connected
DEBUG:   10.8 get_plugin_pref - start - store_name='commonOptionsStore', option='buttonActionLibrary'
DEBUG:   10.8 toolbar_button_clicked - exception running button action: Configure Driver
DEBUG:   10.8 migrate_library_config_if_required - start
DEBUG:   10.8 get_library_config - library_config: {u'lastReadColumn': u'', u'precentReadColumn': u'', u'ratingColumn': u'', u'currentReadingLocationColumn': u'', u'SchemaVersion': 0.1, u'profiles': {u'Default': {u'customColumnOptions': {u'percentReadColumn': u'', u'ratingColumn': u'', u'lastReadColumn': u'', u'currentReadingLocationColumn': u''}, u'profileName': u'Default', u'updateOptionsStore': {u'firmwareUpdateCheckLastTime': 0, u'doFirmwareUpdateCheck': False, u'doEarlyFirmwareUpdate': False}, u'forDevice': u'*Any Device', u'storeOptionsStore': {u'storeOnConnect': False, u'promptToStore': True, u'doNotStoreIfReopened': False, u'storeIfMoreRecent': False}}}}
DEBUG:   10.8 ProfilesTab.__init__ - self.library_config {u'lastReadColumn': u'', u'precentReadColumn': u'', u'ratingColumn': u'', u'currentReadingLocationColumn': u'', u'SchemaVersion': 0.1, u'profiles': {u'Default': {u'customColumnOptions': {u'percentReadColumn': u'', u'ratingColumn': u'', u'lastReadColumn': u'', u'currentReadingLocationColumn': u''}, u'profileName': u'Default', u'updateOptionsStore': {u'firmwareUpdateCheckLastTime': 0, u'doFirmwareUpdateCheck': False, u'doEarlyFirmwareUpdate': False}, u'forDevice': u'*Any Device', u'storeOptionsStore': {u'storeOnConnect': False, u'promptToStore': True, u'doNotStoreIfReopened': False, u'storeIfMoreRecent': False}}}}
DEBUG:   10.8 migrate_library_config_if_required - start
DEBUG:   10.8 get_library_config - library_config: {u'lastReadColumn': u'', u'precentReadColumn': u'', u'ratingColumn': u'', u'currentReadingLocationColumn': u'', u'SchemaVersion': 0.1, u'profiles': {u'Default': {u'customColumnOptions': {u'percentReadColumn': u'', u'ratingColumn': u'', u'lastReadColumn': u'', u'currentReadingLocationColumn': u''}, u'profileName': u'Default', u'updateOptionsStore': {u'firmwareUpdateCheckLastTime': 0, u'doFirmwareUpdateCheck': False, u'doEarlyFirmwareUpdate': False}, u'forDevice': u'*Any Device', u'storeOptionsStore': {u'storeOnConnect': False, u'promptToStore': True, u'doNotStoreIfReopened': False, u'storeIfMoreRecent': False}}}}
DEBUG:   10.8 get_plugin_pref - start - store_name='commonOptionsStore', option='individualDeviceOptions'
DEBUG:   10.8 get_plugin_pref - start - store_name='commonOptionsStore', option='buttonActionLibrary'
DEBUG:   10.8 get_plugin_pref - start - store_name='commonOptionsStore', option='buttonActionDevice'
DEBUG:   10.8 DevicesTab:refresh_current_device_options - Start
DEBUG:   10.8 get_pref - start - store_name='updateOptionsStore'
DEBUG:   10.8 get_pref - start - store_name='updateOptionsStore'
DEBUG:   10.8 get_pref - start - store_name='updateOptionsStore'
DEBUG:   10.8 get_pref - start - store_name='backupOptionsStore'
DEBUG:   10.8 get_pref - start - store_name='backupOptionsStore'
DEBUG:   10.8 get_pref - start - store_name='backupOptionsStore'
DEBUG:   10.8 get_pref - start - store_name='backupOptionsStore'
DEBUG:   10.8 get_pref - start - store_name='backupOptionsStore'
DEBUG:   10.8 DevicesTab:refresh_current_device_options - do_daily_backup=False, backup_each_connection=True
DEBUG:   10.8 DevicesTab:refresh_current_device_options - end
DEBUG:   10.8 ProfilesTab:refresh_current_profile_info - Start
DEBUG:   10.8 migrate_library_config_if_required - start
DEBUG:   10.8 get_library_config - library_config: {u'lastReadColumn': u'', u'precentReadColumn': u'', u'ratingColumn': u'', u'currentReadingLocationColumn': u'', u'SchemaVersion': 0.1, u'profiles': {u'Default': {u'customColumnOptions': {u'percentReadColumn': u'', u'ratingColumn': u'', u'lastReadColumn': u'', u'currentReadingLocationColumn': u''}, u'profileName': u'Default', u'updateOptionsStore': {u'firmwareUpdateCheckLastTime': 0, u'doFirmwareUpdateCheck': False, u'doEarlyFirmwareUpdate': False}, u'forDevice': u'*Any Device', u'storeOptionsStore': {u'storeOnConnect': False, u'promptToStore': True, u'doNotStoreIfReopened': False, u'storeIfMoreRecent': False}}}}
DEBUG:   10.8 get_pref - start - store_name='customColumnOptions'
DEBUG:   10.8 get_pref - start - store_name='customColumnOptions'
DEBUG:   10.8 get_pref - start - store_name='customColumnOptions'
DEBUG:   10.8 get_pref - start - store_name='customColumnOptions'
DEBUG:   10.8 get_pref - start - store_name='storeOptionsStore'
DEBUG:   10.8 get_pref - start - store_name='storeOptionsStore'
DEBUG:   10.8 get_pref - start - store_name='storeOptionsStore'
DEBUG:   10.8 get_pref - start - store_name='storeOptionsStore'
DEBUG:   10.8 DevicesTableWidget::get_data - start
DEBUG:   10.8 ProfilesTab:refresh_current_profile_info - end

Last edited by jackie_w; 01-09-2017 at 01:03 PM. Reason: ETA: more info
jackie_w is offline