Skip to content

Fix to issue #3077#3081

Merged
jmcouffin merged 1 commit intopyrevitlabs:developfrom
iorhanV:3077
Feb 5, 2026
Merged

Fix to issue #3077#3081
jmcouffin merged 1 commit intopyrevitlabs:developfrom
iorhanV:3077

Conversation

@iorhanV
Copy link
Copy Markdown
Contributor

@iorhanV iorhanV commented Feb 5, 2026

Added an extra check for the registry key and demoted the logger from Warn to Debug.

@jmcouffin jmcouffin requested a review from Copilot February 5, 2026 19:58
@pyrevitlabs pyrevitlabs deleted a comment from devloai bot Feb 5, 2026
@jmcouffin jmcouffin self-assigned this Feb 5, 2026
@jmcouffin jmcouffin added the Benign Bug Bug that doesn't stop user from using the tool but it makes it inconvenient [class] label Feb 5, 2026
@jmcouffin jmcouffin merged commit 7603edb into pyrevitlabs:develop Feb 5, 2026
6 checks passed
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request addresses issue #3077 where users were seeing warning messages about "Revit IFC 2022" and similar addins when opening Revit. The issue occurs because Revit addins (like "Revit IFC") are registered in the Windows registry under the same uninstall key as actual Revit installations, matching the regex pattern used to detect Revit products, but lacking an InstallLocation value.

Changes:

  • Added null check for regInstallPath to skip registry entries without an install location (typically addins)
  • Demoted log level from Warn to Debug for messages about products that cannot be determined, reducing noise in user-facing logs
Comments suppressed due to low confidence (1)

dev/pyRevitLabs/pyRevitLabs.TargetApps.Revit/RevitProduct.cs:292

                        if (regInstallPath != null && regInstallPath != string.Empty)

jmcouffin added a commit that referenced this pull request Feb 5, 2026
Refactor registry key handling for Revit products to improve error handling for missing or invalid language codes.

as per #3081 (comment)
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 5, 2026

📦 New work-in-progress (wip) builds are available for 6.0.0.26036+2010-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 5, 2026

📦 New work-in-progress (wip) builds are available for 6.0.0.26036+2016-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 6.0.0.26043+2007-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 6.0.0.26043+2031-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 6.0.0.26043+2041-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 6.0.0.26044+0650-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 6.0.0.26046+2000-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 6.0.0.26047+0654-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 6.0.0.26047+0653-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 6.0.0.26047+0702-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 6.0.0.26047+1948-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 6.0.0.26047+2011-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 6.0.0.26047+2110-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 6.0.0.26047+2131-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 6.0.0.26047+2147-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 6.0.0.26047+2248-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 6.1.0.26047+2255-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New public release are available for 6.1.0.26047+2349

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Benign Bug Bug that doesn't stop user from using the tool but it makes it inconvenient [class]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants