![]() |
#1 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Missing clips/searches
Sometimes when I open two or more Sigil sessions, only one will have my clips or stored search procedures. For the other sessions these are empty. Of course it does not happen all the time, but often.
version 0.8.4 (I know, I know), Win 8.1 x64 I know it is an older version, but as far as I know nothing in this area has changed. |
![]() |
![]() |
![]() |
#2 |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 272
Karma: 1224588
Join Date: Sep 2014
Device: Sony PRS 650
|
I have this behavior, too. It's available since 0.7 something. Unfortunately, closing and saving in a special sequence will save the clips and searches from the emptied Sigil instance. I never opened that case as i was unable to track it down.
Now i'm zipping by sigil Appdata folder from time to time to have an easy recovery. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,909
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Remember, the preferences folder is now being shared (by a multiple you
![]() All sorts of confusion on who's version of the current settings is really current happens with 2 sessions because Sigil write the current state only when it closes a session Simple example of a lost state edit a book Do multiple (progress) saves manage to crash Sigil ![]() The last used file list knows nothing about a file that has multiple saves done. I don't know the solution on how to manage (refresh) the states saves so I avoid when possible by using Notepad++ for my reference clips. 1 possibility is to force Sigil into a Read Only mode if it detects that there is already an active (write) Sigil instance (the read only Sigil will not block a new Write Sigil if none exists) |
![]() |
![]() |
![]() |
#4 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
That is fine in case of a crash or something like that, but this is different. The first Sigil session works as expected. The second ePUB I open in another session sometimes has not the saved searches or clips the first session does have. Also, sometimes I have the feeling that the second session gets the searches and clips and the first one no longer.
|
![]() |
![]() |
![]() |
#5 | |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
calibre, for example, should not be run multiple times, and as a result it will lock itself against future instances. Sigil, calibre editor/viewer, are designed to open against multiple books, and it should be safe. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 272
Karma: 1224588
Join Date: Sep 2014
Device: Sony PRS 650
|
Exactly, this has nothing to do with a crash.
Example: Working on Book 1. Want to look how i did something in the past and i'm opening book 2. Sometimes Book 2 has lost all clips/searches. Closing book 2 now will save this status and all clips/searches are empty. |
![]() |
![]() |
![]() |
#7 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
|
|
![]() |
![]() |
![]() |
#8 | |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,198
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Quote:
You will not end up with missing settings unless you actually clear the settings in the last instance. |
|
![]() |
![]() |
![]() |
#9 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,478
Karma: 5703586
Join Date: Nov 2009
Device: many
|
Hi,
Using a Mac (and testing with 0.8.6 since it is the most stable release so far) I can not recreate this at all. That said ... on a Mac you have only one instance of Sigil using different main Windows for each additional document opened. So you literally are always sharing the settings. On Linux and Windows, you are actually running multiple instances of the main application, each trying to read/write the exact same settings files with each process having its own settings cache as well. Depending on exactly when the settings files are opened, written to, and closed. This may lead to issues without some sort of OS level file locking that can work across full processes. I wonder if this is just a Windows issue? I have seen Qt file read and write operations return empty during simultaneous access when playing with Windows via my Parallels Virtual Machine. I assumed it was simply a virtual machine issue, now I am not so sure. When I get a free moment, I will take a look at it unless user-none or DiapDealer beats me to it. KevinH |
![]() |
![]() |
![]() |
#10 |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 272
Karma: 1224588
Join Date: Sep 2014
Device: Sony PRS 650
|
On Windows, it does not happen all the time...
|
![]() |
![]() |
![]() |
#11 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,478
Karma: 5703586
Join Date: Nov 2009
Device: many
|
|
![]() |
![]() |
![]() |
#12 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,358
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Clips function | mrmikel | Editor | 1 | 03-03-2014 09:00 PM |
Re: Clips | JimmyG | Sigil | 2 | 02-13-2013 09:16 AM |
Any way to get clips back? | mrmikel | Sigil | 1 | 01-30-2013 03:20 AM |
Clips | JimmyG | Sigil | 2 | 11-16-2012 12:21 PM |
Touch Two clips enough? | Red Alert | Barnes & Noble NOOK | 9 | 07-08-2011 05:23 PM |