-
-
Notifications
You must be signed in to change notification settings - Fork 350
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]: Can't install pyRevit_5.0.0.25034_signed.exe Revit 2025 #2577
Comments
Please provide a Revit journal file Also, can you try disabling other adding, enable pyrevit then enabling other plugins one at a time |
Hi JM thanks for the reply. Enabling only pyrevit still makes Revit crash. Pyrevit works fine on other Revit versions, it's just 2025 that doesn't work. I will check on Revit journal files tomorrow morning as I'm with the kids now. Cheers |
Hi JM, Here is the journal file. I've put it in chatgpt so that it can have a look, and this is what it tells me : "The last few lines directly point out an API_ERROR related to pyRevitLoader.dll: This suggests that the pyRevitLoader.dll is referencing RevitAPI and RevitAPIUI versions which mismatch with the expected version 25.4.0.0." Does this mean that I should uninstall Revit and go back to Revit 2025.1 ? Thanks a lot for your help @jmcouffin ! 😊 |
I've also noticed that wether we install it with signed.exe with my standard rights or admin_signed.exe with helpdesk's admin rights, in C:\Users\users\AppData\Roaming\pyRevit in each folder 2022 2023 2024 2025 there are files, except in 2025 there is nothing. Wether it be on the admin user folder or my user folder, the 2025 is always empty. In the other folders there are files such as : But in 2025 folder it's empty Don't know if that helps or not. |
In your case, this is expected: this folder contains the cache of the pyRevit UI compilation at runtime. As your launch in 2025 was not successful, the cache was not built. |
Not an issue per se, |
Can you make tou IT guy triple the double check on SentinelOne? |
I did a new check of latest journal file, here's the lines with error and pyrevit together "0:< API_ERROR { : Assembly version conflict in some references in pyRevitLoader.dll assembly This is what chatgpt says when reading the dump files Conclusion on Crash Cause Based on the information provided in the dump file, the most likely cause of the Revit crash is conflicts between different versions of assemblies used by the core application and various plugins, particularly: Plugin Compatibility: Some plugins such as pyRevit, BatchPrint, and eTransmitForRevit loading older versions of these core assemblies. To conclusively determine and fix the crash:
This analysis is based on the error and status entries in the journal file, which strongly suggest that the mismatched assembly versions are the root cause of the application instability and subsequent crash. |
I've asked the IT guys to triple check sentinel one. But why would sentinelone block Pyrevit on 2025 but not on 2024 2023 2022 ? It's very weird. |
Because the exceptions were made before installing pyRevit and Revit 2025 maybe. And please do not waste our time with chatGPT answers. The answer is all BS in the context of Revit. |
No worries, I'm just asking chatgpt to have a quick look at the thousands of lines to make life a little easier. I'm not knowledgeable enough to digest such a big file, hence my thread here. We are currently uninstalling Revit 2025 and going to install Revit 2025.1 to see if that changes anything. IT guys have also asked to take my PC out of SentinelOne temporarily to see if that helps. Thanks, i'll keep you updated. |
Good move to test it |
So I'm out of S1, and we uninstalled / reinstalled Revit 2025. we downloaded the non updated version, which turns out to be 2025.2 We uninstalled PyRevit too. Now what is very strange, is that when I open Revit 2022, Revit 2023, Revit 2024 all works fine. But if I open Revit 2025 it crashes, just like when I activated PyRevit plugin. This time I disable ALL plugins, and Revit 2025.2 still crashes... What on earth is going on... Here is the dump file, if you want to have a look. I can't find anything inside it. |
So I updated Revit 2025.2 to Revit 2025.4, and now Revit launches without crashes... How intriguing. Now I'm going to try and activate Pyrevit in the Addin Manager. 🤞🏻 |
Revit 2025.4 opens with all addins except PyRevit Now I'll try with only PyRevit activated 🤞🏻 |
So with only pyRevit_5.0.0.24345_admin_signed installed and Revit 2025.4 it still crashes. I'm back to square one :( S1 is disabled, so in theory it shouldn't come from that ? PyRevit works perfectly on all other Revit version installed. @jmcouffin what else could we try ? 🙏🏻 |
So the IT guy completely disabled S1, and then miracle : Revit 2025 with Pyrevit launched no problem. So it seems it was indeed S1 that was causing the problem. The IT guy whitelisted : Autodesk PyRevit : And when turning back S1 on, Revit crashes again. What other folders / files / stuff needs to be whitelisted ? |
@jmcouffin our IT guy has also planned to call S1. Let's hope this problem can finally be fixed, seems to me that S1 are lazy and don't want to resolve this issue. I'm trying to convey our frustration as much as possible so that S1 can finally hear us and fix their sh*t. |
We tried also whitelisting C:\ProgramData\Autodesk\Revit\Addins\2025\pyRevit.addin But still no success. |
I am with you on that. |
I remember one of the user said they had to whitelist .exe files. (dlls too?) |
this is good news (somehow) |
S1 did an update, Revit 2025 still doesn't work. IT guy says he's gonna call them again and press harder. More news later. One can only hope. |
Hi @jmcouffin so after exchanging with S1, unfortunately it seems that they didn't natively make PyRevit whitelisted (are they useless ...?) Here are the parameters to add on S1 by our IT guy for Pyrevit to work |
not entirely 🤣 Thanks for the image, I will put it in the notion page about installation issues and Sentinel One. This will be useful |
Please reinstall the latest release, instead of the wip installer. It looks like this is an old issue that was fixed and merged in the latest release/ |
Nope, not the latest release on your computer apparently https://github.com/pyrevitlabs/pyRevit/releases/tag/v5.0.0.25034%2B1521 |
pyRevit_5.0.0.25034_admin_signed.exe works ! thanks a lot @jmcouffin |
✈ Pre-Flight checks
🐞 Describe the bug
Hello,
I’m trying to install PyRevit 2025 on company PC, and after uninstalled previous version and installed version pyRevit_5.0.0.25034_signed.exe when I open Revit I get the message to load the plugin, but after that Revit 2025.4 crashes…
If I disabled PyRevitloader in the plugin menu, Revit 2025 opens fine.
Does anyone know how to install pyRevit 2025 ?
Btw my PyRevit works on 2022 2023 2024, I tested all of them. I have sentinel one but our IT guy did the exception last year and Pyrevit works on previous Revit versions.
Thanks,
Kind Regards,
⌨ Error/Debug Message
♻️ To Reproduce
No response
⏲️ Expected behavior
No response
🖥️ Hardware and Software Setup (please complete the following information)
Additional context
Thank you for your help.
The text was updated successfully, but these errors were encountered: