✈ Pre-Flight checks
🐞 Describe the bug
1. Using the pyRevit_6.4.0.26100_admin_signed.exe installer, the pyrevit cli is not registering the clone
2. The Extensions search paths behaviour is not working properly, tested with the following structure:
2.a. Adding a custom search path at admin scope, extension paths shows it properly both at admin and user scope, custom extensions get recognised using the cli, but pyrevit doesn't load any when running in Revit
2.b. Adding the search path again through the pyrevit-cli at user scope doesn't show up the custom extensions as per above, and it doesn't record the custom search path in the pyRevit_config.ini at user scope either (%appdata%/pyRevit/pyRevit_config.ini)
2.c. Adding the search path manually from the pyrevit UI is the only way to make it work, and it records the path in the user-scope config too:
3. the bundle.yaml layout is not respected anymore and seems to be ignored, removing some of the panels names from the budle.yaml layout used to not letting those panels/tools to load and it is the expected behaviour and how all previous pyrevit versions used to work. this is tested both on our custom extensions and pyrevit's core extension too
4. the bundles helpurl's resolution of the {{docpath}} variable inherited from the extension.json seem to be broken, this is tested on multiple extensions (Core tools, and my custom extensions), screenshot below is tested with the batch sheet maker tool's F1 help url. a direct full-url in the tools helpurl work fine though.
5. The extension root "lib" folder containing custom .dll addins for .invokebuttons workflow are not recognised and fail to load the whole custom tab, defaulting to a "bin" folder instead fixes this, but on all previous pyrevit versions v5.3.1 and below it used to work both for lib and bin.
⌨ Error/Debug Message
♻️ To Reproduce
As described in the bugs report above
⏲️ Expected behavior
As described in the bugs report above
🖥️ Hardware and Software Setup (please complete the following information)
==> Registered Clones (full git repos)
==> Registered Clones (deployed from archive/image)
==> Attachments
Unknown | Product: "2024.2" | Manifest: "C:\ProgramData\Autodesk\Revit\Addins\2024\pyRevit.addin"
==> Installed Extensions
GIRIH X | Type: UIExtension | Repo: "https://****@bitbucket.org/****/via.extension.git" | Installed: "C:\Users\User\Desktop\VMShared\path-to-drive\pyrevit-custom-extensions-folder\girihx.extension"
VIA Architects, by GIRIH X | Type: UIExtension | Repo: "" | Installed: "C:\Users\User\Desktop\VMShared\path-to-drive\pyrevit-custom-extensions-folder\via.extension"
==> Default Extension Search Path
C:\Users\User\AppData\Roaming\pyRevit\Extensions
==> Extension Search Paths
C:\Users\User\Desktop\VMShared\path-to-drive\pyrevit-custom-extensions-folder
==> Extension Sources - Default
https://github.com/pyrevitlabs/pyRevit/raw/master/extensions/extensions.json
==> Extension Sources - Additional
==> Installed Revits
2024.2 | Version: 24.2.0.63 | Build: 20231029_1515(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2024\"
==> Running Revit Instances
==> User Environment
Microsoft Windows 10 [Version 10.0.22621]
Executing User: WINDEV2407EVAL\User
Active User:
Admin Access: Yes
%APPDATA%: "C:\Users\User\AppData\Roaming"
Latest Installed .Net Framework: 10.0.2
Installed .Net Target Packs: v4.0 v4.5 v4.5.1 v4.5.2 v4.6 v4.6.1 v4.7.2 v4.X
Installed .Net-Core Target Packs: v8.0.303
Active CPython Engine Version: 0
pyRevit CLI v6.4.0.26100+0515.06e6e8108e8aaccfbb7080163a437e19236a8533
Additional context
All tests ran in a clean VM
✈ Pre-Flight checks
🐞 Describe the bug
1. Using the pyRevit_6.4.0.26100_admin_signed.exe installer, the pyrevit cli is not registering the clone
2. The Extensions search paths behaviour is not working properly, tested with the following structure:
2.a. Adding a custom search path at admin scope, extension paths shows it properly both at admin and user scope, custom extensions get recognised using the cli, but pyrevit doesn't load any when running in Revit
2.b. Adding the search path again through the pyrevit-cli at user scope doesn't show up the custom extensions as per above, and it doesn't record the custom search path in the pyRevit_config.ini at user scope either (%appdata%/pyRevit/pyRevit_config.ini)
2.c. Adding the search path manually from the pyrevit UI is the only way to make it work, and it records the path in the user-scope config too:
3. the bundle.yaml layout is not respected anymore and seems to be ignored, removing some of the panels names from the budle.yaml layout used to not letting those panels/tools to load and it is the expected behaviour and how all previous pyrevit versions used to work. this is tested both on our custom extensions and pyrevit's core extension too
4. the bundles helpurl's resolution of the {{docpath}} variable inherited from the extension.json seem to be broken, this is tested on multiple extensions (Core tools, and my custom extensions), screenshot below is tested with the batch sheet maker tool's F1 help url. a direct full-url in the tools helpurl work fine though.
5. The extension root "lib" folder containing custom .dll addins for .invokebuttons workflow are not recognised and fail to load the whole custom tab, defaulting to a "bin" folder instead fixes this, but on all previous pyrevit versions v5.3.1 and below it used to work both for lib and bin.
⌨ Error/Debug Message
♻️ To Reproduce
As described in the bugs report above
⏲️ Expected behavior
As described in the bugs report above
🖥️ Hardware and Software Setup (please complete the following information)
Additional context
All tests ran in a clean VM