![]() |
#1 |
Color me gone
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
Save a copy
It seems sometimes that Save a copy responds two different ways. Sometimes it puts up the name of file and other times it doesn't.
When it does give the name, it doesn't seem to actually save. I can't be entirely sure of this, but it seems I had to do the same action twice (cutting and pasting and adding a class="fn" to the paragraph marker.) I could have hit save, but I think for that it doesn't call for the file name. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,223
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Save a copy save a *copy*. That means it saves as a separate file whose name you have to choose. The normal save operation saves to the file you opened.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Color me gone
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
It seems like intermittently some changes are not saved. But I have managed to save it all now.
|
![]() |
![]() |
![]() |
#4 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,645
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Slightly off topic and a minor issue, could save copy offer the folder where I did the previous save copy - or better yet let me put a default directory path in preferences.
I never use my home directory or any of its sub directories for this sort of work - nor for that matter any other sort work. BR |
![]() |
![]() |
![]() |
#5 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,223
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
save a copy, like all other file open dialogs in calibre remembers the last used path.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,645
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Within a 'session' it remembers, but not between 'sessions'
That is it doesn't remember today that yesterday's last save was to E:\Libraries\Editing\SaveCopies. It offers me my home directory - as I said its minor. BR |
![]() |
![]() |
![]() |
#7 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,223
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Sure it does. The directory is saved to disk and re-read on restart.
|
![]() |
![]() |
![]() |
#8 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,645
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Is it saved somewhere I can eyeball it
Save to Disk remembers its previous save location just fine between sessions BR |
![]() |
![]() |
![]() |
#9 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,223
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
dynamic.pickle which is a binary file that you can dump with
calibre-debug -c "import pickle, pprint; from calibre.utils.config import dynamic; pprint.pprint(pickle.load(open(dynamic.file_path, 'rb')))" And if you want to see just the value: calibre-debug -c "from calibre.utils.config import dynamic; print dynamic['tweak_book_save_copy'], dynamic.file_path" |
![]() |
![]() |
![]() |
#10 | ||
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,645
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Quote:
Code:
None C:\Users\Philip\AppData\Roaming\calibre\dynamic.pickle BR |
||
![]() |
![]() |
![]() |
#11 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,223
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No point, this is almost certainly caused by something in your setup, most likely different config directories being used for different sessions or the config file being clobbered between sessions.
|
![]() |
![]() |
![]() |
#12 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,645
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
I can see the 'last paths' used in file open functions for save book, insert link in comments, add books etc. And they get updated if I save, insert or add books to/from another other location.
If they all work across sessions then why shouldn't the ebook-edit save copy function work. Nothing apart from calibre reads or writes to the dynamic.pickle Just started the editor direct via Windows Open With, calibre was not running Did a save copy, it offered my home directory, But I selected E:\Calibre Libraries\Editing\SaveCopies the save was fine Closed the editor and opened another epub Did a save copy, it offered E:\Calibre Librar... ![]() So I started calibre and started editor from it, did a save copy and it offered E:\Calibre Librar..., but I saved to the Desktop. Restarted calibre, edited another book - save copy offered E:\Calibre Librar..., not Desktop ![]() Looks to me like the 64bit version of calibre.exe is blocking the 64bit version of ebook-edit.exe writing to dynamic.pickle ![]() BR |
![]() |
![]() |
![]() |
#13 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,223
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Ah you mean the variable is not stored between calibre sessions, not editor sessions. Yeah that is the case. It's a side effect of re-using the calibre code for opening files in the editor. The saving that the editor does is overwritten by calibre when calibre quits.
|
![]() |
![]() |
![]() |
#14 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,645
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
![]() I keep all my data as far as I can away from that C:\Users can of worms Also seeing the user home shown as icons was particularly irritating, given I rip the covers of ebooks, don't show the icons in the toolbar, don't use the cover grid or carousel nor do I have any pictures on my walls. Cheers BR |
![]() |
![]() |
![]() |
#15 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,223
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Save/Send one copy only, using prefered file types | Feather_Qwill | Library Management | 5 | 06-02-2013 04:38 AM |
Simplistic HTML0 creator (copy-paste-save) | ProDigit | Workshop | 0 | 04-13-2012 08:55 AM |
Save/copy xmhtl files | weberr | Sigil | 4 | 03-18-2012 09:19 AM |
Save/copy calibre library | SusieWong | Library Management | 2 | 03-30-2011 03:54 PM |
Save a copy of your old firmware if upgrading! | rossh | Astak EZReader | 9 | 03-18-2010 12:24 AM |