Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 09-27-2014, 04:28 PM   #1
MerlinMama
Evangelist
MerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beauty
 
MerlinMama's Avatar
 
Posts: 498
Karma: 32554
Join Date: May 2014
Location: Canada
Device: Kobo Sage
How to save a search...

I'm sure I'm just doing something wrong, or missing something, but I can't save any searches. Could someone walk me through.

I decided to try this today. I often do a search and replace, changing Mr for Mr. (adding the period) and Mrs for Mrs. I right-clicked in the search area and selected 'Save Current Search'. The window came up and asked to name the search, which I did.

I just can't seem to find how to actually SAVE it. What am I not seeing? It's probably the silliest thing...
MerlinMama is offline   Reply With Quote
Old 09-27-2014, 04:31 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,939
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by MerlinMama View Post
I'm sure I'm just doing something wrong, or missing something, but I can't save any searches. Could someone walk me through.

I decided to try this today. I often do a search and replace, changing Mr for Mr. (adding the period) and Mrs for Mrs. I right-clicked in the search area and selected 'Save Current Search'. The window came up and asked to name the search, which I did.

I just can't seem to find how to actually SAVE it. What am I not seeing? It's probably the silliest thing...
At the Bottom of THAT window
theducks is offline   Reply With Quote
Advert
Old 09-27-2014, 05:03 PM   #3
MerlinMama
Evangelist
MerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beauty
 
MerlinMama's Avatar
 
Posts: 498
Karma: 32554
Join Date: May 2014
Location: Canada
Device: Kobo Sage
Quote:
Originally Posted by theducks View Post
At the Bottom of THAT window
See, I've clicked that (if you're referring to the 'Done' button), yet nothing gets saved. It doesn't give me an error, but if I come back later, there is nothing in the saved searches list.

Sorry, I just noticed that during my editing, that paragraph was removed from my original post.
MerlinMama is offline   Reply With Quote
Old 09-27-2014, 05:19 PM   #4
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,660
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@MerlinMama - They should get saved in the "saved_searches": [...] section of the tweak_book_gui.json file in the calibre configuration folder.

Have look to see if they're there.

BR
BetterRed is offline   Reply With Quote
Old 09-27-2014, 05:38 PM   #5
MerlinMama
Evangelist
MerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beauty
 
MerlinMama's Avatar
 
Posts: 498
Karma: 32554
Join Date: May 2014
Location: Canada
Device: Kobo Sage
Quote:
Originally Posted by BetterRed View Post
@MerlinMama - They should get saved in the "saved_searches": [...] section of the tweak_book_gui.json file in the calibre configuration folder.

Have look to see if they're there.

BR
Yes, it's in there, but the saved searches list shows nothing. What did I do wrong for that to happen?
MerlinMama is offline   Reply With Quote
Advert
Old 09-27-2014, 06:14 PM   #6
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,660
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by MerlinMama View Post
Yes, it's in there, but the saved searches list shows nothing. What did I do wrong for that to happen?
No idea, I suspect nothing

Close the editor, rename that file to tweak_book_gui.json.save, start the editor and try again

If its there now, then this will be the second instance in the last couple of days where something has gone awry with a json file - the other one was gui.json. And I have a vague recollection that someone had a problem with something not being written to the viewer.json file.

If you post the tweak_book_gui.json.save file here (you'll have to zip it) someone might be able to spot what's wrong with it.

Meantime I would eyeball the *.save file as the basis for reconfiguring the editor. You could copy and paste, but you might copy the 'bug'.

I don't think the changes made in 2.4 are the cause of of the problem, because my saved searches from earlier versions are there, and I was able to edit them and add some new ones.

BR
BetterRed is offline   Reply With Quote
Old 09-27-2014, 06:24 PM   #7
MerlinMama
Evangelist
MerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beauty
 
MerlinMama's Avatar
 
Posts: 498
Karma: 32554
Join Date: May 2014
Location: Canada
Device: Kobo Sage
Quote:
Originally Posted by BetterRed View Post
No idea, I suspect nothing

Close the editor, rename that file to tweak_book_gui.json.save, start the editor and try again

If its there now, then this will be the second instance in the last couple of days where something has gone awry with a json file - the other one was gui.json. And I have a vague recollection that someone had a problem with something not being written to the viewer.json file.

If you post the tweak_book_gui.json.save file here (you'll have to zip it) someone might be able to spot what's wrong with it.

Meantime I would eyeball the *.save file as the basis for reconfiguring the editor. You could copy and paste, but you might copy the 'bug'.

I don't think the changes made in 2.4 are the cause of of the problem, because my saved searches from earlier versions are there, and I was able to edit them and add some new ones.

BR
Yes, it is there now.

I have 7-Zip, will that work for here?
MerlinMama is offline   Reply With Quote
Old 09-27-2014, 07:12 PM   #8
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,660
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by MerlinMama View Post
Yes, it is there now.

I have 7-Zip, will that work for here?
A .7z can't be posted here <sigh>, but 7-zip can create a zip - not sure what box you have to tick as I don't have 7-zip. But this person knows ==>> Creating a ZIP archive using 7zip - YouTube

BR

Last edited by BetterRed; 09-27-2014 at 07:44 PM.
BetterRed is offline   Reply With Quote
Old 09-27-2014, 08:14 PM   #9
phossler
Wizard
phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.
 
Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
In Saved Searches, click [Add Search], construct the search parameters and then click [Done]

That doesn't run the search, but adds it to the list. Next time into Saved Searches the new one should be there and you can run it
Attached Thumbnails
Click image for larger version

Name:	1.JPG
Views:	209
Size:	91.8 KB
ID:	128972   Click image for larger version

Name:	2.JPG
Views:	212
Size:	69.5 KB
ID:	128973   Click image for larger version

Name:	3.JPG
Views:	204
Size:	95.5 KB
ID:	128974  
phossler is offline   Reply With Quote
Old 09-27-2014, 10:00 PM   #10
MerlinMama
Evangelist
MerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beauty
 
MerlinMama's Avatar
 
Posts: 498
Karma: 32554
Join Date: May 2014
Location: Canada
Device: Kobo Sage
Quote:
Originally Posted by BetterRed View Post
A .7z can't be posted here <sigh>, but 7-zip can create a zip - not sure what box you have to tick as I don't have 7-zip. But this person knows ==>> Creating a ZIP archive using 7zip - YouTube

BR
Okay, I think I got it. However, as a trial, I resaved it and I'm not sure anymore if this is the right one. I'm pretty sure it is...
Attached Files
File Type: zip tweak_book_gui.json.save.zip (2.6 KB, 149 views)
MerlinMama is offline   Reply With Quote
Old 09-27-2014, 10:03 PM   #11
MerlinMama
Evangelist
MerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beauty
 
MerlinMama's Avatar
 
Posts: 498
Karma: 32554
Join Date: May 2014
Location: Canada
Device: Kobo Sage
Quote:
Originally Posted by phossler View Post
In Saved Searches, click [Add Search], construct the search parameters and then click [Done]

That doesn't run the search, but adds it to the list. Next time into Saved Searches the new one should be there and you can run it
Thank you for your reply, however as you can see from subsequent posts, I did that, but still saved searches still didn't show up.
MerlinMama is offline   Reply With Quote
Old 09-27-2014, 11:10 PM   #12
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,660
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by MerlinMama View Post
Okay, I think I got it. However, as a trial, I resaved it and I'm not sure anymore if this is the right one. I'm pretty sure it is...
@MerlinMama That file has this in it
Code:
  "saved_searches": [
    {
      "name": "Alright", 
      "case_sensitive": true, 
      "mode": "regex", 
      "replace": "ll right", 
      "find": "lright", 
      "dot_all": true
    }, 
    {
      "name": "Honorific 1", 
      "case_sensitive": false, 
      "mode": "regex", 
      "replace": "Mr. ", 
      "find": "Mr ", 
      "dot_all": false
    }, 
    {
      "name": "Honorific 2", 
      "case_sensitive": false, 
      "mode": "regex", 
      "replace": "Mrs. ", 
      "find": "Mrs ", 
      "dot_all": false
    }
  ],
And they all work fine. Couldn't see any obvious anomalies

I understood you to say that when you first looked at the tweak_book_gui.json file the "saved_searches": entry was empty as in

Code:
  "saved_searches": [
  ],
Perhaps you misinterpreted my "[...]" in post #4. Anyway I assume you now have it working, that's what really matters

BR
BetterRed is offline   Reply With Quote
Old 09-28-2014, 04:57 AM   #13
MerlinMama
Evangelist
MerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beauty
 
MerlinMama's Avatar
 
Posts: 498
Karma: 32554
Join Date: May 2014
Location: Canada
Device: Kobo Sage
Quote:
Originally Posted by BetterRed View Post
@MerlinMama That file has this in it
Code:
  "saved_searches": [
    {
      "name": "Alright", 
      "case_sensitive": true, 
      "mode": "regex", 
      "replace": "ll right", 
      "find": "lright", 
      "dot_all": true
    }, 
    {
      "name": "Honorific 1", 
      "case_sensitive": false, 
      "mode": "regex", 
      "replace": "Mr. ", 
      "find": "Mr ", 
      "dot_all": false
    }, 
    {
      "name": "Honorific 2", 
      "case_sensitive": false, 
      "mode": "regex", 
      "replace": "Mrs. ", 
      "find": "Mrs ", 
      "dot_all": false
    }
  ],
And they all work fine. Couldn't see any obvious anomalies

I understood you to say that when you first looked at the tweak_book_gui.json file the "saved_searches": entry was empty as in

Code:
  "saved_searches": [
  ],
Perhaps you misinterpreted my "[...]" in post #4. Anyway I assume you now have it working, that's what really matters

BR
No, originally, the searches WERE in this file, but in editor, the list showed as blank.

Now I'm not sure anymore. Ugh. Anyway, yes it all works fine, and if I add new and they don't show up, I'll make a mention. I think I'll go make up a search to save, just to see...LOL
MerlinMama is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
save multiple search/replace, or search/replace multiple ebooks user743 Editor 12 04-12-2014 02:38 AM
Get Books search - extremely fuzzy search results? Man Eating Duck Calibre 1 05-06-2013 12:08 AM
Feature Wish: Save Search Parameters BookwormDragon Calibre 22 04-09-2010 05:31 AM
Save File location and Save As question DougFNJ Calibre 0 09-17-2009 04:56 PM
Google Book Search to search full-text books online Bob Russell Deals and Resources (No Self-Promotion or Affiliate Links) 1 08-19-2006 12:13 PM


All times are GMT -4. The time now is 11:22 PM.


MobileRead.com is a privately owned, operated and funded community.