![]() |
#1 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,802
Karma: 74203799
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Template: saving template tester when restarting Calibre
If you have something saved in the template tester, it goes away when you restart Calibre. Is there any way to make it save it instead?
Last edited by ownedbycats; 03-28-2021 at 11:38 PM. |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,364
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
![]() |
![]() |
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,364
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
I am adding load/save from file to the template tester context menu
|
![]() |
![]() |
![]() |
#4 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,802
Karma: 74203799
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Thank you.
![]() |
![]() |
![]() |
![]() |
#5 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,364
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Given your usage patterns it would be helpful to all of us if you ran the new stuff before release (ran from source). Are you willing? If so then the instructions at https://manual.calibre-ebook.com/dev...tting-the-code tell you how to download a calibre source folder. Then the instructions at https://manual.calibre-ebook.com/dev...nt-environment tell you how to run calibre from source.
For info, here is my .bat file that does what the instructions describe. Code:
set CALIBRE_DEVELOP_FROM=C:\CBH_Data\calibre.git\calibre_dev\src "c:\Program Files\calibre2\calibre-debug" -g |
![]() |
![]() |
![]() |
#6 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,802
Karma: 74203799
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
If I run from source, it will use my current settings folder, right? I will see if I can make it work.
Last edited by ownedbycats; 03-29-2021 at 05:30 PM. |
![]() |
![]() |
![]() |
#7 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,364
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
You will know if running from source is working if in the gui you see an asterisk next to the calibre version number. |
|
![]() |
![]() |
![]() |
#8 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,802
Karma: 74203799
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
I am downloading the source now.
|
![]() |
![]() |
![]() |
#9 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,802
Karma: 74203799
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Uh-oh, the source-version Calibre loaded but the window is white and not responding. The console gave me a bunch of "incorrect sRGB profile" warnings too and an error about printing.
Last edited by ownedbycats; 03-29-2021 at 05:44 PM. |
![]() |
![]() |
![]() |
#10 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,802
Karma: 74203799
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
I closed it and re-opened it and now it is working with the asterik.
![]() |
![]() |
![]() |
![]() |
#11 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,364
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
I get the color profile errors all the time. I think they are harmless. What happens if you run Code:
"c:\Program Files\calibre2\calibre-debug" -g Code:
set CALIBRE_DEVELOP_FROM Well, ninja'ed! Glad it is working. You should be seeing the identifier syntax highlighting in templates. |
|
![]() |
![]() |
![]() |
#12 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,802
Karma: 74203799
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
That's odd. I used to have a Save to Format plugin but deleted it because of Py3 issues and I don't think I ever put it back. The file isn't in my plugins folder. I'm not sure why it is still referencing that.
|
![]() |
![]() |
![]() |
#13 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,802
Karma: 74203799
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
I got it working the second time. I am not sure why it froze the first time.
|
![]() |
![]() |
![]() |
#14 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,364
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Look in the plugins folder in your calibre configuration folder. The .zip might still be there?
|
![]() |
![]() |
![]() |
#15 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,802
Karma: 74203799
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
I found it. For some reason it appeared in the Plugin Updater as Uninstalled but then I opened Preferences > Plugin and found it in there and in the folder under a different name than I was looking for.
Last edited by ownedbycats; 03-29-2021 at 05:59 PM. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
I need a template for saving formats in different locations. | shoelesshunter | Library Management | 0 | 08-07-2020 12:21 AM |
Rating-template and saving to Disk | Tanjamuse | Library Management | 0 | 01-09-2020 04:04 AM |
Help with a 'Saving Books to Disk' Template | Vortex | Calibre | 5 | 12-04-2014 09:18 AM |
Two suggestions for Template Tester | PeterT | Calibre | 3 | 09-08-2014 06:04 AM |
Saving to Disk Template | hurricane51 | Conversion | 2 | 07-07-2011 01:22 AM |