pyRevit icon indicating copy to clipboard operation
pyRevit copied to clipboard

[Bug]: PyRevitLoader - Error Loading pyRevit

Open BeardBishwo opened this issue 1 year ago • 2 comments

✈ Pre-Flight checks

  • [X] I don't have SentinelOne antivirus installed (see above for the solution)
  • [X] I have searched in the issues (open and closed) but couldn't find a similar issue
  • [X] I have searched in the pyRevit Forum for similar issues
  • [X] I already followed the installation troubleshooting guide thoroughly
  • [X] I am using the latest pyRevit Version

🐞 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

BeardBishwo avatar Jun 30 '24 15:06 BeardBishwo

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

FrancoTonutti avatar Jul 01 '24 16:07 FrancoTonutti

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

when it will be available for 2025

BeardBishwo avatar Jul 02 '24 01:07 BeardBishwo

I am receiving this error still on the latest 'beta' installer for 2025.

martinservold avatar Sep 23 '24 15:09 martinservold

Nevermind. I reinstalled the 'beta' branch again and it worked fine the second time. (must have been pathed to the older version still somehow even though I triple checked it).

martinservold avatar Sep 23 '24 20:09 martinservold