<@U01819B63HP> I am seeing this strange behavior in xschem when undoing. At some point undo removes ...
f
@Stefan Schippers I am seeing this strange behavior in xschem when undoing. At some point undo removes all my schematic and leaves it empty. In the past I have been saving often, and when this issue happens, I close xschem without saving. Until today where I did not save and took a look at the command line. It looks like xschem is looking for an undo file in a directory that does not exist. The. last undo I found is undo70, but in the directory pointed out by EMERGENY SAVE DIR. Undo71 does not exist, neither its directory. I wonder why. XSCHEM V3.4.5, git commit 3d7f8dff (but problem also seen earlier)
s
@F A I would be interested in a sequence of commands that triggers this problem. Any help appreciated. If you find some sequence that causes the problem please let me know. Thank you I have also found this kind of behavior one time, but never managed to reproduce the problem, so I thought I did some unintentional command or whatever. Undo directories are normally deleted when xschem exits. In the case of a crash if possible xschem copies the undo directory into the reported directory. Inside the
/tmp/xschem_emergencysave_clockgen*/
there are some
undo##
files. You can do this:
zcat /tmp/xschem_emergencysave_clockgen*/undo68 > clockgen.sch
to recover one of the saved circuit states.
f
Thanks @Stefan Schippers. I agree with you, it must be some strange shortcut combination. I keep confusing shortcuts from Windows and macOS with the ones needed here in X11 via XQuartz. I'll keep an eye to see what key-sequence triggers Signal 4 and report back.
👍 1
s
Thank you, this helps me a lot. I believe there is some combination that triggers this, but I also have difficulties reproducing it.