-
-
Notifications
You must be signed in to change notification settings - Fork 343
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: pyRevit_config.ini is being used by another process #2512
Comments
Hi @archeduardo5 , thanks for the detailed description of your issue. Can you confirm that there are no other revit revit apps or processes opened while this error occur? A complete overhaul of the settings management has started in #2482 that should solve this issue. In the meantime, do you need pyRevit to be installed as administrator/ for all users? Or can you try to uninstall it and use the single user install and try to see if it works? |
Got to add to this, you are using a 2+ years old version. |
Thank you for the follow-up. I managed to resolve the issue by performing a clean installation as a single user and updating to the latest version, as you suggested. Thank you for keeping PyRevit updated! 🚀 |
✈ Pre-Flight checks
🐞 Describe the bug
PyRevit is unable to load due to a file access conflict with the configuration file. When launching Revit, pyRevit throws an IOError indicating that the pyRevit_config.ini file is being used by another process and cannot be accessed.
This happens on every Revit startup attempt and prevents pyRevit from loading properly. The error occurs specifically with the configuration file located at:
C:\Users[username]\AppData\Roaming\pyRevit\pyRevit_config.ini
The error prevents PyRevit from initializing and loading any of its tools or functions. This appears to be a file locking issue where the configuration file is either:
⌨ Error/Debug Message
♻️ To Reproduce
⏲️ Expected behavior
PyRevit should load normally on Revit startup without any file access errors. The configuration file should be accessible and allow PyRevit to initialize properly with all its tools and functions available.
🖥️ Hardware and Software Setup (please complete the following information)
Additional context
The text was updated successfully, but these errors were encountered: