![]() |
6-12: Emergencies |
![]() |
Electric is a vast system with many facilities. Although the individual pieces work correctly, it is possible, through improper usage or system fault, for the database to become corrupted. If Electric acts strangely, try the Redo Network Numbering subcommand of the Network command of the Tools menu to regenerate network information.
A more thorough check may be done with the Check and Repair Libraries command of the Info menu. Note that this command clears the history list so no undo can be made after the check. When in doubt, save your work first.
Another problem that can arise, particularly on the Macintosh, is that Electric may run out of memory. As this situation approaches, you will be given warning messages, and finally you will be unable to work on new circuitry. Sadly, it is not generally possible to recover memory by deleting unwanted circuitry. The wise move is to save your library and exit Electric. Then make more memory available and run it again.
Electric keeps a log of every keystroke and mouse action. If a crash occurs, you can replay the log and recreate the lost work.
The log file is called "electric.log" (on UNIX, it is called ".electric.log"). When Electric exits, it renames the file to "electriclast.log". If Electric starts up and finds a file called "electric.log", it presumes that this file is from a crash, and offers to replay it. You can force a log file to be replayed by using the Playback Log File... subcommand of the User Interface command of the Info menu.
When playing back a log file, cursor motion is used to advance the playback. Therefore, to playback the entire file, simply keep moving the cursor back and forth. At any time, you can abort the playback by clicking the mouse.
Be warned that the new log file that is created as a result of playing back an old log file is not necessarily correct. Also, the Macintosh does not have session logging at this time.
![]() |
Previous | ![]() |
Table of Contents | Next | ![]() |