pyrevitlabs / pyRevit

Rapid Application Development (RAD) Environment for Autodesk Revit®
http://wiki.pyrevitlabs.io
GNU General Public License v3.0
1.24k stars 325 forks source link

[Bug]: PyRevitLoader - Error Loading pyRevit #2292

Open BeardBishwo opened 5 days ago

BeardBishwo commented 5 days ago

✈ Pre-Flight checks

🐞 Describe the bug

PyRevitLoader - Error Loading pyRevit

⌨ Error/Debug Message

PyRevitLoader - Error Loading pyRevit

♻️ To Reproduce

No response

⏲️ Expected behavior

No response

🖥️ Hardware and Software Setup (please complete the following information)

System.TypeLoadException: Could not load type
x
'System.Runtime.Remoting.RemotingServices' from assembly
'mscorlib, Version=4.0.0.0, Culture—neutral,
at
Microsoft.Scripting.Hosting.Providers.HostingHelpers.CreateSc...
engine, Scope scope)
at IronPython.Hosting.PythonService.CreateModule(String
name, String filename, String docString)
at IronPython.Hosting.Python.CreateModule(ScriptEngine
engine, String name)
at
PyRevitLoader.ScriptExecutor.SetupEnvironment(ScriptEngine
engine)
at PyRevitLoader.ScriptExecutor.ExecuteScript(String
sourcePath, IEnumerable*1 sysPaths, String logFilePath,
IDictionary*2 variables)
Close

Additional context

No response image

FrancoTonutti commented 4 days ago

Are you using Revit 2025? Unfortunately, pyrevit does not work with this version yet. https://github.com/pyrevitlabs/pyRevit/pull/2088 https://github.com/pyrevitlabs/pyRevit/pull/2190

BeardBishwo commented 4 days ago

Are you using Revit 2025? Unfortunately, pyrevit does not work with this version yet. #2088 #2190

when it will be available for 2025