DynamoDS / DynamoRevit

Dynamo Libraries for Revit
https://dynamobim.org
334 stars 187 forks source link

Revit 2023 - Subsequent Dynamo Loads Failing #2814

Open johnpierson opened 2 years ago

johnpierson commented 2 years ago

Dynamo version

2.13.0

Revit version

2023

Operating system

Windows 10

What did you do?

Worked in Dynamo. Closed it, and now receive the below errors (until Revit restart)

What did you expect to see?

Dynamo still working

What did you see instead?

image image

mjkkirschner commented 2 years ago

Hey @johnpierson - thanks for reporting - Can't say I've seen this one before - but will try to reproduce - I think the second one is likely about: https://github.com/DynamoDS/DynamoRevit/blob/d70caec68f661d3bc1478d2fc63cb7417a953cf8/src/DynamoRevit/DynamoRevit.cs#L357

I wonder if your path var has lots of values in it already, it's also just a buggy implementation, it should check if the value exists before trying to write it again.

I'm not sure about the LibG issue though.

Can you still start Dynamo and use geometry even though you see these errors?

ZiyunShang commented 2 years ago

Hi @johnpierson , in Revit 2023, Dynamo version should be 2.13.1. Do you use a special package for using? I can't reproduce this issue on my side. And according to your said, you can open Dynamo at the beginning, and error occurs when you close Dynamo one time, I wonder if my understanding is correct? Curious if you set anything in Dynamo before the error occurred? Can you find your Revit journal file and Dynamo log file for this issue?

johnpierson commented 2 years ago

Let me try to reproduce in the morning. It definitely seemed weird. It’s whatever came with revit 2023 release today.

On Tue, Apr 5, 2022 at 8:56 PM ZiyunShang @.***> wrote:

Hi @johnpierson https://github.com/johnpierson , in Revit 2023, Dynamo version should be 2.13.1. Do you use a special package for using? I can't reproduce this issue on my side. And according to your said, you can open Dynamo at the beginning, and error occurs when you close Dynamo one time, I wonder if my understanding is correct? Curious if you set anything in Dynamo before the error occurred? Can you find your Revit journal file and Dynamo log file for this issue?

— Reply to this email directly, view it on GitHub https://github.com/DynamoDS/DynamoRevit/issues/2814#issuecomment-1089712713, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADYD5VFJ42WH2WSRSJ5PWT3VDT4OHANCNFSM5ST3O4DQ . You are receiving this because you were mentioned.Message ID: @.***>

johnpierson commented 2 years ago

image

image

johnpierson commented 2 years ago

It might've been pretty random. But it was a clean Revit / Dynamo install and I was working on a python script. Let me try to reproduce today while working in it.