Error debugging python script

Hi,
There seems tot be an error in debugging python scripts in dynamo revit 2022.
It points at an error in 973 while its in 979

Post the whole error message please.

Hello @wouter.hilhorst
can you also report the problem here ?

1 Like

Hi Deniz,
Thanks for your reply. Sorry, the error is no longer there. But the problem occurs frequently. It points to an error in the wrong line. So for example an error which actually occurs in line 4 is described in for example line 7.
I think it has to do with the traceback module. Because the debugger within dynamo (the yellow textbox) points to the correct line.
I’ m using traceback because then you can still catch errors while using try except.
And you can get more output from a script when an error occurs.
Greetings,
Wouter Hilhorst

| Deniz_Maral Regular
October 28 |

  • | - |

Post the whole error message please.

Ok👍

| c.poupin
October 28 |

  • | - |

Hello @wouter.hilhorst
can you also report the problem here ?

GitHub

Issues · DynamoDS/DynamoRevit

Dynamo Libraries for Revit. Contribute to DynamoDS/DynamoRevit development by creating an account on GitHub.

1 Like