Skip to content

[Bug]: Output dialog popup on every button execution #2696

@Levii-L

Description

@Levii-L

✈ 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

Every time I click a pyRevit ribbon button, the output dialog pops up with just the message: &.

Conditions Where This Occurs:

  • Python Engine: IronPython 3 (342)
  • Revit Version: Revit 2025

Tested Configurations:

  • Revit 2023 + IronPython 3 (342) : No issue
  • Revit 2025 + IronPython 2 (2712) : No issue
  • Revit 2025 + IronPython 3 (342) : Issue occurs — output shows only &

Image

Also a simple script like print("12345") results in only 1 being printed in the output dialog.

Image

⌨ Error/Debug Message

-

♻️ To Reproduce

Use Revit 2025 in combination with Ironpython 3 (342) engine.

⏲️ Expected behavior

No output dialog popup with & on every button press.

🖥️ 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.1.0.25094+1131-wip" | Path: "C:\Users\***\AppData\Roaming\pyRevit-Master"
==> Attachments
master | Product: "2025 First Customer Ship" | Engine: IPY342 (342) | Path: "C:\Users\***\AppData\Roaming\pyRevit-Master"
master | Product: "2023.1.3" | Engine: IPY342 (342) | Path: "C:\Users\***\AppData\Roaming\pyRevit-Master"
master | Product: "2022.1.5" | Engine: IPY342 (342) | Path: "C:\Users\***\AppData\Roaming\pyRevit-Master"
master | Product: "Autodesk Revit 2021" | Engine: IPY342 (342) | Path: "C:\Users\***\AppData\Roaming\pyRevit-Master"
master | Product: "2020.2.1 (New Install)" | Engine: IPY342 (342) | Path: "C:\Users\***\AppData\Roaming\pyRevit-Master"
==> Installed Extensions
KLOMPTools V2 | Type: Unknown | Repo: "" | Installed: "C:\Users\***\OneDrive\pyRevit 3.4\KLOMPTools V2.extension"
==> Default Extension Search Path
C:\Users\***\AppData\Roaming\pyRevit\Extensions
==> Extension Search Paths
C:\Users\***\OneDrive\pyRevit 3.4
==> Extension Sources - Default
https://github.com/pyrevitlabs/pyRevit/raw/master/extensions/extensions.json
==> Extension Sources - Additional
==> Installed Revits
2025 First Customer Ship | Version: 25.0.2.419 | Build: 20240307_1300(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2025\"
2023.1.3 | Version: 23.1.30.97 | Build: 20230828_1515(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2023\"
2022.1.5 | Version: 22.1.50.17 | Build: 20230915_1530(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2022\"
Autodesk Revit 2021 | Version: 21.1.21.45 | Build: 20201116_1100(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2021\"
2020.2.1 (New Install) | Version: 20.2.12.1 | Build: 20200210_1400(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2020\"
==> Running Revit Instances
PID: 28112 | 2025.4 | Version: 25.4.0.32 | Build: 20241202_1040(x64) | Language: 0 | Path: "C:\Program Files\Autodesk\Revit 2025"
PID: 29124 | 2023.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.22631]
Executing User: KLOMP\***
Active User: KLOMP\***
Admin Access: No
%APPDATA%: "C:\Users\***\AppData\Roaming"
Latest Installed .Net Framework: 9.0.5
Installed .Net Target Packs: v4.0 v4.5 v4.5.1 v4.5.2 v4.6 v4.6.1 v4.7.2 v4.8 v4.X
Installed .Net-Core Target Packs: v9.0.300
pyRevit CLI v5.1.0.25094+1131-wip.ffa32944090b8fb19834361c5750674555b2c0a2

Additional context

No response

Metadata

Metadata

Labels

BugBug that stops user from using the tool or a major portion of pyRevit functionality [class]IronPython3issues regarding the IronPython 3(.4) enginePrioritizeThe issue is planned to be resolved in the next versionPython 3Issues related to cpython engines [subsystem]

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions