Ted Johansson
05/20/2024, 7:28 AMStefan Schippers
05/20/2024, 3:34 PM/tmp/xschem_undo_xxxx
directories are created when a running session of xschem is active and contains the undo ring buffer. These dirs are removed if xschem exits normally. If some of these directories are existing there is either a running xschem process or xschem was terminated or crashed. In this latter case you can safely remove these directories manualy.
The /tmp/xschem_web
directory is created when xschem downloads remote schematics, like:
xschem https://raw.githubusercontent.com/w32agobot/SKY130_SAR-ADC/main/xschem/adc_top_tb.sch
Once the objects are downloaded a cached copy is placed into /tmp/xschem_web
for faster access.
When xschem starts it will remove this directory. I will change the logic in order to clean up this directory (like for the undo buffers) when xschem exits, so there is no risk of trying to delete a /tmp/xschem_web created by others. Again you can safely remove this directory (and its content) manually.
Thank you for pointing this issue, I will fix that.Ted Johansson
05/20/2024, 3:42 PMStefan Schippers
05/20/2024, 5:01 PMxschem_web/
directories. these directories will now be uniquified, so each user will have its own /tmp/xschem_xxxxx
directory if they open remote URLs.
xschem will create this directory on startup and remove on exit , exactly as is done for xschem_undo_xxxxx
.
Again if you see dead /tmp/xschem_web_xxxx
dirs and no xschem instance running it is fair to remove them manually.
Since now /tmp/xschem_web_xxxxx/
is unique per xschem session in no case will xschem try to create / delete a directory created by some other xschem instance.