DynamoRevit icon indicating copy to clipboard operation
DynamoRevit copied to clipboard

pyRevit and dynamo pythonnodes

Open Oliver2201 opened this issue 1 year ago • 4 comments

Dynamo Version

Dynamo Core 2.16.2.5624 Dynamo Revit 2.16.3.11903

Revit Version

2023.1

Operating System

Windows 11 Pro (22621.4169)

What did you do?

I was doing python scripts with Windows.Forms as GUI. They where working fine and then suddenly not working. I have been going over everything with the IT department and they haven't been doing any restrictions on anything, but they rolled out a new windows version about the time it stopped working. So that could be part of the issue. I have been testing and testing and come to the conclusion that pythonnodes suddenly stops working when i have pyRevit addin in the revit version. But pyRevit is not the issue because i can run the python scripts just fine from a python shell inside revit regardless of pyRevit being attached to revit.

What did you expect to see?

A windows forms GUI.

What did you see instead?

Countless errors about everything, somtimes i cant edit det python node (just blank with no lines)

Stacktrace/logs

No response

Details

No response

Oliver2201 avatar Sep 25 '24 11:09 Oliver2201

@Oliver2201 Do you have error message, and/or logs, screenshots?

avidit avatar Sep 25 '24 13:09 avidit

@avidit image

i'm not sure if that image works here, but that is on of the errors im getting from the PythonNode it self (Even tho this exact script was working last week in dynamo and still does in PythonShell). (And the script works in dynamo if i detach pyRevit from this version of Revit)

What kind of log would you want? And where can i find it?

Oliver2201 avatar Sep 25 '24 13:09 Oliver2201

Hi, any progress or ideas on how to fix this? Multiple people in my firm are having a similar issue. To be clear, the issue appears to be with CPython nodes in general.

Here is a bug on the pyRevit github that contains some further details and troubleshooting steps: https://github.com/pyrevitlabs/pyRevit/issues/2400#issuecomment-2373440390

thomvill avatar Nov 28 '24 13:11 thomvill

tracked internally DYN-7947 @jnealb @twastvedt can you please take a look

avidit avatar Dec 02 '24 21:12 avidit