-
-
Notifications
You must be signed in to change notification settings - Fork 338
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]: Dynamo cannot execute python node if pyRevit is installed #2400
Comments
Version of revit used? Version of Dynamo? Just saying here, The issue can be on both sides Dynamo or pyRevit |
I personaly never had this type of issue |
Revit: 2024.2.0 We already opened a ticket with Autodesk that didn't get solved. Particularly hard case because I can't replicate it anywhere else except for the office computers. I will definitely open again a blog post on Dynamo forum, here is the previous one. |
Just tried it on my machine, not reproductible. Revit 2024, latest everything. ipy2-cpy3.mp4wild guess, any other python installed on computers. |
Thanks a lot for the reply. As you saw, the post on the dynamo forum is quite old. I will take care to run another test uninstalling pyRevit and I will let you know if the issue really depends on pyRevit installation. |
I'm having the same issue. CPython nodes work when deactivating pyRevit, but not when pyRevit is active. |
maybe they have rhino GH + rhino inside revit? |
I confirm the behavior, python on Dynamo works if pyRevit is not installed. |
Can you precisely provide the steps you performed? @GiuseppeDotto I need to be able to reproduce. |
correct, sorry @jmcouffin for lacking information. The test was performed in 2 different scenario: scenario 1
scenario 2
how do we install pyRevitthe way we deploy pyRevit to all the office computer is simple as:
|
I'll add that in my case it's enough to disable the pyRevit addin-file and restart Revit for the CPython nodes to start working, and vice versa. No need to uninstall/reinstall for new behavior to appear. |
and Revit 2024 Dynamo 2.19.3 right? |
Yes, is still Revit 2024.2 and Dynamo 2.18.3. |
Has anyone found a workaround this? im having same problems but doesn't matter if i use Cpython or IronPython. And everything work as soon as i turn of pyrevit for the current revit version and restart revit with it turned of. At first I thought it was do to a windows update my company rolled out as everything stopped working last week around that time. Might still be a combination? Could there have been something in the windows update that is giving me problems with python in dynamo and pyrevit? |
I do think this is a different matter. The thing is, I cannot reproduce on my computer. I did play with dynamo up and down in revit 2024 with the latest WIP installers and no issu switching from cpython to ironpython back and forth. |
I actually had the same thought than @Oliver2201 , just our updates happened 1 year ago, and since then I tried to replicate the issue, without success, on many other computers out of my organization. |
Apart from the revit journal and dynamo logs, no idea. |
✈ Pre-Flight checks
🐞 Describe the bug
All the computer of the office where I work have issue with executing python dynamo nodes since pyRevit is installed on their computer.
error messages
These are the errors that popup from their Dynamo:
(this pops up as soon as the python node is called)
(this pops up is the user does some operation, for example, change the engine to IronPython2 and then revert to CPython)
further info
OUT=IN
researches
I read a similar issue unfortunately closed without answers: Errors in Dynamo Python Script.
⌨ Error/Debug Message
attempt to read or write protected memory.
♻️ To Reproduce
just open Dynamo and create python node
⏲️ Expected behavior
CPython in Dynamo should work properly
🖥️ Hardware and Software Setup (please complete the following information)
Additional context
No response
The text was updated successfully, but these errors were encountered: