Skip to content

[Bug]:ERROR [pyrevit.loader.sessionmgr] #3140

@almeida-andre

Description

@almeida-andre

✈ 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

Got the error below after installing the latest version, 6.1. [using Revit 2025/2026]

⌨ Error/Debug Message

ERROR [pyrevit.loader.sessionmgr] Failed to create split button 'Spatial Elements'. Exception: The name already exists:Spatial Elements 
Parameter name: newItemName

♻️ To Reproduce

No response

⏲️ Expected behavior

No response

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

==> Registered Clones (full git repos)
==> Registered Clones (deployed from archive/image)
master | Branch: "master" | Version: "6.1.0.26047+2255" | Path: "C:\Users\almei\AppData\Roaming\pyRevit-Master"
==> Attachments
master | Product: "2026 First Customer Ship" | Engine: DEFAULT (2712) | Path: "C:\Users\almei\AppData\Roaming\pyRevit-Master"
master | Product: "2025 First Customer Ship" | Engine: DEFAULT (2712) | Path: "C:\Users\almei\AppData\Roaming\pyRevit-Master"
master | Product: "2024.3.3" | Engine: DEFAULT (2712) | Path: "C:\Users\almei\AppData\Roaming\pyRevit-Master"
master | Product: "2023.1.8" | Engine: DEFAULT (2712) | Path: "C:\Users\almei\AppData\Roaming\pyRevit-Master"
master | Product: "2022.1.8" | Engine: DEFAULT (2712) | Path: "C:\Users\almei\AppData\Roaming\pyRevit-Master"
==> Installed Extensions
GRID | Type: Unknown | Repo: "" | Installed: "C:\Users\almei\OneDrive\DOCUMENTOS\MARCHI\BARRA DE FERRAMENTAS\GRID.extension"
pyArchitect | Type: UIExtension | Repo: "https://github.com/romangolev/pyArchitect.git" | Installed: "C:\Users\almei\OneDrive\DOCUMENTOS\MARCHI\BARRA DE FERRAMENTAS\pyArchitect.extension"
pyISG | Type: Unknown | Repo: "" | Installed: "C:\Users\almei\OneDrive\DOCUMENTOS\MARCHI\BARRA DE FERRAMENTAS\pyISG.extension"
==> Default Extension Search Path
C:\Users\almei\AppData\Roaming\pyRevit\Extensions
==> Extension Search Paths
C:\Users\almei\OneDrive\DOCUMENTOS\MARCHI\BARRA DE FERRAMENTAS
==> Extension Sources - Default
https://github.com/pyrevitlabs/pyRevit/raw/master/extensions/extensions.json
==> Extension Sources - Additional
==> Installed Revits
2026 First Customer Ship | Version: 26.0.4.409 | Build: 20250227_1515(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2026\"
2025 First Customer Ship | Version: 25.0.2.419 | Build: 20240307_1300(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2025\"
2024.3.3 | Version: 24.3.30.11 | Build: 20250516_1515(x64) | Language: 1033 | Path: "C:\Arquivos de Programas\Autodesk\Revit 2024\"
2023.1.8 | Version: 23.1.80.30 | Build: 20250724_1515(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2023\"
2022.1.8 | Version: 22.1.80.32 | Build: 20241107_1515(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2022\"
==> Running Revit Instances
PID: 35428 | 2026.4 | Version: 26.4.0.32 | Build: 20251103_1515(x64) | Language: 0 | Path: "C:\Program Files\Autodesk\Revit 2026"
==> User Environment
Microsoft Windows 10 [Version 10.0.26200]
Executing User: ANDREALMEIDA\almei
Active User: andrealmeida\almei
Admin Access: No
%APPDATA%: "C:\Users\almei\AppData\Roaming"
Latest Installed .Net Framework: 10.0.2
No .Net Target Packs are installed.
No .Net-Core Target Packs are installed.
Active CPython Engine Version: 3123
pyRevit CLI v6.1.0.26047+2255.64fcf31ad284fe73a7a3ea3fead3a840f8a408eb

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugBug that stops user from using the tool or a major portion of pyRevit functionality [class]

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions