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

[Bug]: ironpython 3.4 fails to load in pyrevit 5 from WIP installers #2440

Open
5 tasks done
jj-github-jj opened this issue Oct 29, 2024 · 1 comment
Open
5 tasks done
Labels
Bug Bug that stops user from using the tool or a major portion of pyRevit functionality [class] IronPython3 issues regarding the IronPython 3(.4) engine

Comments

@jj-github-jj
Copy link

jj-github-jj commented Oct 29, 2024

✈ Pre-Flight checks

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

🐞 Describe the bug

image
The system error: could not load type 'IronPythonruntime.list from assembly 'pyrevitlabs.Ironpython Version = 3.4.1.0
shows up when I changed the core settingst ot use ironpython 3.4
Also because of the above error, pyrevit doesnt show up on Revit 2023 as well and I had to re-install pyrevit to undo this core settings change to 3.4

⌨ Error/Debug Message

image

♻️ To Reproduce

Install pyrevit 5 from wip installers and change core setting to IronPython 3.4 and restart Revit 2023
You will see the error

⏲️ Expected behavior

no fail to load

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

==> Registered Clones (full git repos)
==> Registered Clones (deployed from archive/image)
master | Branch: "master" | Version: "5.0.0.24299+1037-wip" | Path: "C:\Users\user\AppData\Roaming\pyRevit-Master"
==> Attachments
master | Product: "24.1.1" | Engine: IPY340PR (340) | Path: "C:\Users\user\AppData\Roaming\pyRevit-Master"
master | Product: "23.1.3" | Engine: IPY340PR (340) | Path: "C:\Users\user\AppData\Roaming\pyRevit-Master"
master | Product: "2021.1.9" | Engine: IPY340PR (340) | Path: "C:\Users\user\AppData\Roaming\pyRevit-Master"
==> Installed Extensions
==> Default Extension Search Path
C:\Users\user\AppData\Roaming\pyRevit\Extensions
==> Extension Search Paths
==> Extension Sources - Default
https://github.com/pyrevitlabs/pyRevit/raw/master/extensions/extensions.json
==> Extension Sources - Additional
==> Installed Revits
24.1.1 | Version: 24.1.10.25 | Build: 20230830_0315(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2024\"
23.1.3 | Version: 23.1.30.97 | Build: 20230828_1515(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2023\"
2021.1.9 | Version: 21.1.90.15 | Build: 20230907_1515(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2021\"
==> Running Revit Instances
PID: 11736 | 23.1.3 | Version: 23.1.30.97 | Build: 20230828_1515(x64) | Language: 0 | Path: "C:\Program Files\Autodesk\Revit 2023"
==> User Environment
Microsoft Windows 10 [Version 10.0.19045]
Executing User: ***
Active User: *** 
Admin Access: No
%APPDATA%: "C:\Users\user\AppData\Roaming"
Latest Installed .Net Framework: 8.0.5
No .Net Target Packs are installed.
Installed .Net-Core Target Packs: v8.0.300
pyRevit CLI v5.0.0.24299+1037-wip.8caf21fc8ed934cf3feb7be27704d326639c6607

Additional context

No response

@jj-github-jj jj-github-jj added the Bug Bug that stops user from using the tool or a major portion of pyRevit functionality [class] label Oct 29, 2024
@sanzoghenzo
Copy link
Contributor

Thanks for the report.
FYI, you dont need to reinstall pyrevit to make it work again, just do pyrevit attach master default --installed in a command prompt as instructed in the troubleshooting guide.

@sanzoghenzo sanzoghenzo added the IronPython Issues related to standalone IronPython installation [subsystem] label Oct 30, 2024
@sanzoghenzo sanzoghenzo added IronPython3 issues regarding the IronPython 3(.4) engine and removed IronPython Issues related to standalone IronPython installation [subsystem] labels Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Bug that stops user from using the tool or a major portion of pyRevit functionality [class] IronPython3 issues regarding the IronPython 3(.4) engine
Projects
None yet
Development

No branches or pull requests

2 participants