architecture-building-systems / revitpythonshell

An IronPython scripting environment for Autodesk Revit and Vasari
MIT License
492 stars 112 forks source link

Revit 2018.3 crushes when running python shell #90

Closed tdafos closed 5 years ago

tdafos commented 5 years ago

Hello I am trying to run the python shell in Revit 2018.3 I downloaded the installer for Revit 2018. I installed it, but every time I run the shell Revit crushes. I get the following error.

Application: Revit.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.MissingMethodException Stack: at PythonConsoleControl.PythonTextEditor.CheckAndOutputWriteBuffer(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch()

Am I missing something?

tdafos commented 5 years ago

Solved it. I needed to install .NET 4.7. Now it works fine.