View Single Post
Old 11-07-2016, 10:14 PM   #278
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,759
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by GeckoFriend View Post
Well, I only have one computer (laptop) and I've about given up on this plugin. It's really a shame because I found it very useful at times.
@GeckoFriend - try this
  • First if you don't already have one, get a 'JSON' aware text editor, e.g. Notepad++ on Windows, Text Wrangler on OSX, Vim on Linux.
  • In main GUI program (library manager) go to Preferences->Miscellaneous and click Open configuration directory. That will open the calibre configuration folder in your file manager (windows/file explorer, finder, whatever).

    Keep this window open.
  • Go into the plugins folder and save a copy of the file Search The Internet.json, I'll assume to the Desktop.
  • In calibre->Preferences-Plugins remove Search The Internet plugin.
  • Close calibre.
  • Go back to the file manager window and delete the file Search The Internet.json.
  • Start calibre
  • In calibre->Preferences-Plugins install a fresh copy the Search The Internet plugin. To find it enter 'search' in the filter box (top right). This is just in case the PI itself is damaged.
  • The first thing I'd do is go into the plugin's configuration and remove any sites you're unlikely to use - e.g. deviloid and mobipocket are both long deceased, if you don't read Spanish books get rid of Spanish sites etc, etc. If nothing else it will speed up loading them when you next select Configuration from the PI's menu.
  • Do a couple of tests on a couple of preselected common sites - I'll assume they're OK.
  • Now open the Search The Internet.json file you saved to the Desktop in the JSON-aware editor, and use it to re-enter and test the customisations you had. Don't do them all at once, do them selectively. It's quite easy to map the json entries for a site to the columns in the PI's configuration list - e.g.

    Code:
       
    {
            "openGroup": false, 
            "active": false, 
            "method": "GET", 
            "subMenu": "", 
            "menuText": "Barnes and Noble for Title", 
            "encoding": "utf-8", 
            "url": "http://productsearch.barnesandnoble.com/search/results.aspx?store=book&TTL={title}", 
            "image": "stip_bn.png"
    },
  • If the PI causes a problem after adding a site, then you've found the 'problem', which you can report here and maybe get a resolution.

It's quite possible that you'll do all that and find everything is working again - that is you won't find a problematic customisation. Perhaps in culling the unnecessary sites you eliminated the problem, or perhaps the json file you had was 'corrupt' in some way.

BR

Last edited by BetterRed; 11-07-2016 at 10:17 PM.
BetterRed is offline   Reply With Quote