Skip to content
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

Dynamo wont start from Revit #14891

Closed
Liquidmasl opened this issue Jan 26, 2024 · 9 comments
Closed

Dynamo wont start from Revit #14891

Liquidmasl opened this issue Jan 26, 2024 · 9 comments
Labels

Comments

@Liquidmasl
Copy link

Dynamo Version

I cant open dynamo. but the one that currently ships with revit

Revit Version

2024.1

Operating System

Windows 11

What did you do?

after I installed an addon (!) I tried opening dynamo from revit.
After deinstalling the addon, revit, and everything else mentioning autodesk and reinstalling (without the addon), its still broken

What did you expect to see?

Dynamo

What did you see instead?

image

OCR:
https://pastebin.com/GY3VJm2R

Stacktrace/logs

error message OCR (cant copy from error window): https://pastebin.com/GY3VJm2R

Revit Journal: https://pastebin.com/Zfyc210y

Details

No response

@mjkkirschner
Copy link
Member

@Liquidmasl - use the previous version which was built for net standard and should work in older builds of Revit.
The most recent version 1.2 - will only work with .net 6+.

@mjkkirschner
Copy link
Member

@pinzart90 this still seems like an issue we need to fix on the Dynamo side, a bad version of a python evaluator should not stop Dynamo from starting - so I'll leave this open and transfer to dynamo core repo for now.

@mjkkirschner mjkkirschner transferred this issue from DynamoDS/DynamoRevit Jan 26, 2024
@QilongTang
Copy link
Contributor

@pinzart90 this still seems like an issue we need to fix on the Dynamo side, a bad version of a python evaluator should not stop Dynamo from starting - so I'll leave this open and transfer to dynamo core repo for now.

Thank you @mjkkirschner

@Liquidmasl
Copy link
Author

@Liquidmasl - use the previous version which was built for net standard and should work in older builds of Revit. The most recent version 1.2 - will only work with .net 6+.

thank you all for the super quick reaction! always a joy to see!

and sorry for the possibly stupid question, do you mean the previous version of revit?
or can i just get .net +6?

I am a bit confused what exactly broke it for me, as it was working before. I guess the addon installed some other .net version?

Thanks again!

@KhaledHijazi
Copy link

KhaledHijazi commented Jan 31, 2024

@Liquidmasl
Hello,
The issue is with some packages you installed, in my case it was (DynamoIronPython)

Go to:
C:\Users\user\AppData\Roaming\Dynamo\Dynamo Revit\2.19\packages

Remove or move (DynamoIronPython) then try to run dynamo, if it doesn't open, remove the packages one by one until dynamo opens so you can know which package is creating the problem, then you can move back the other packages

Hope this helps

@avidit
Copy link
Contributor

avidit commented Feb 1, 2024

tracked internally DYN-6672

@mjkkirschner
Copy link
Member

Hi @Liquidmasl - to clarify I meant the previous version of the IronPython package. Getting .net6+ won't help as Revit hosts its own runtime for addins and its currently .net framework 4.8.

@Liquidmasl
Copy link
Author

@Liquidmasl Hello, The issue is with some packages you installed, in my case it was (DynamoIronPython)

Go to: C:\Users\user\AppData\Roaming\Dynamo\Dynamo Revit\2.19\packages

Remove or move (DynamoIronPython) then try to run dynamo, if it doesn't open, remove the packages one by one until dynamo opens so you can know which package is creating the problem, then you can move back the other packages

Hope this helps

wonderful thank you!
it works again.

Would be awesome if dynamo would just tell me that some package makes issues in a more newby human friendly version haha

Thanks for all your quick help!

@mjkkirschner
Copy link
Member

reopening because the underlying issue still needs to be investigated to avoid the crash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

No branches or pull requests

5 participants