Failed to save config, in use by another program

Hi everyone,
I am getting this error on a coworker’s pc.
The error seems obvious, as the config simply is in use by another program. I assume this means another version of Revit is also open? I would have thought that both would be able to run at the same time, perhaps something else is going on?

I get this error when I start two revit session at the same time.
pyRevit accesses the pyrevit-config.ini file twice at the same time > the issue

1 Like

Coworker confirmed he opened both versions at the same time.
Thank you!

1 Like

@Jean-Marc - do you reckon it makes sense to add a try pass statement with if the file is locked - then wait 3 seconds and retry and this error wouldn’t happen then?

1 Like

@revitislife please have a look at the latest issue 8 opened on GH
And feel free to give it a try

1 Like