Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Broken .urlbutton / HyperlinkEngine in 2025 [Pyrevit5] [Revit2025] #2347

Closed
5 tasks done
tay0thman opened this issue Aug 14, 2024 · 6 comments
Closed
5 tasks done
Assignees
Labels
Bug Bug that stops user from using the tool or a major portion of pyRevit functionality [class] pyRevit 5 pyRevit 5 coming release

Comments

@tay0thman
Copy link

tay0thman commented Aug 14, 2024

✈ 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

Using Pyrevit 5.0.0.24227 WIP.
urlbutton doesn't work with Revit 2025, However, It works fine inside Revit 2023, 2024

⌨ Error/Debug Message

An error occurred trying to start process
' https://status.bluebeam.com/' with working directory
2025'. The system cannot
find the file specified.
at
System. Diagnostics. ProcessStartWithCreateP rocess(ProcessS..
startlnfo)
at System. Diagnostics. ProcessStart(ProcessStartlnfo
startlnfo)
at
PyRevitLabs.PyRevit.Runtime.HyperlinkEngine.Execute(Script..
runtime)

♻️ To Reproduce

  1. Install WIP 5.0.0.24227
  2. Start Revit 2025
  3. click on a ulrbutton (like the Regex tool)

⏲️ Expected behavior

Clicking a urlbutton show open a url using the webbrowser.

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

Windows 11 + Windows Defender + Crowdstrike Falcon
Revit 2025
Pyrevit 5 WIP
Intel Processor + Nvidia GPU

Additional context

@dosymep @sanzoghenzo
No response

@tay0thman tay0thman added the Bug Bug that stops user from using the tool or a major portion of pyRevit functionality [class] label Aug 14, 2024
@tay0thman tay0thman changed the title [Bug]: Broken .urlbutton / HyperlinkEngine in 2015 #Pyrevit5 #Revit2015 [Bug]: Broken .urlbutton / HyperlinkEngine in 2025 #Pyrevit5 #Revit2025 Aug 14, 2024
@tay0thman tay0thman changed the title [Bug]: Broken .urlbutton / HyperlinkEngine in 2025 #Pyrevit5 #Revit2025 [Bug]: Broken .urlbutton / HyperlinkEngine in 2025 [Pyrevit5] [Revit2025] Aug 14, 2024
@jmcouffin jmcouffin added the pyRevit 5 pyRevit 5 coming release label Aug 14, 2024
@jmcouffin
Copy link
Contributor

jmcouffin commented Aug 16, 2024

image

@jmcouffin
Copy link
Contributor

@jmcouffin
Copy link
Contributor

or Process.Start(new ProcessStartInfo("https://www.example.com") { UseShellExecute = true });

@jmcouffin
Copy link
Contributor

fixed by #2357

@jmcouffin
Copy link
Contributor

tested in 2025 and 2021 with url, files, folderpath
all good

@jmcouffin jmcouffin self-assigned this Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Bug that stops user from using the tool or a major portion of pyRevit functionality [class] pyRevit 5 pyRevit 5 coming release
Projects
None yet
Development

No branches or pull requests

2 participants