Skip to content

[Bug]: pyRevit_config.ini not created with windows 11 #2650

Open
@leiopar

Description

@leiopar

✈ 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

On my colleague’s computer, following a first installation of REVIT and PYREVIT, the configuration change (including adding a personal script directory) is not been considered or saved.
this on REVIT 2023, 2025, with vertion of PYREVIT 4.8.14, 5.0.1 and 5.1.0.
The only new thing is the update from Windows 10 to Windows 11.
I manualy created a configuration file (which did not exist, like here : https://discourse.pyrevitlabs.io/t/issues-enabling-extensions-and-saving-settings-in-pyrevit/3477/2 ) named "c:\user(name)\AppData\Roaming\pyRevit\pyRevit_config.ini" and this has been considered when restarting REVIT.

⌨ Error/Debug Message

Change configuration not be applied .
No error message.

♻️ To Reproduce

Upgrade windows 10 to windows 11
instrall REVIT, and PYREVIT.
Try to modify configuration.

⏲️ Expected behavior

That the configuration, via the appropriate interface, is applied and saved.

🖥️ 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: DEFAULT (2712) | Path: "C:\Users\*******\AppData\Roaming\pyRevit-Master" | AllUsers
master | Product: "2023.1.2" | Engine: DEFAULT (2712) | Path: "C:\Users\*******\AppData\Roaming\pyRevit-Master" | AllUsers
==> Installed Extensions
==> Default Extension Search Path
C:\Users\*******\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
2025 First Customer Ship | Version: 25.0.2.419 | Build: 20240307_1300(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2025\"
2023.1.2 | Version: 23.1.20.70 | Build: 20230510_1100(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2023\"
==> Running Revit Instances
PID: 16952 | 2025.4 | Version: 25.4.0.32 | Build: 20241202_1040(x64) | Language: 0 | Path: "C:\Program Files\Autodesk\Revit 2025"
==> User Environment
Microsoft Windows 10 [Version 10.0.26100]
Executing User: *******\*******
Active User: *******\*******
Admin Access: Yes
%APPDATA%: "C:\Users\*******\AppData\Roaming"
Latest Installed .Net Framework: 8.0.15
No .Net Target Packs are installed.
No .Net-Core Target Packs are installed.
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]ODHack14

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions