Open
Description
✈ 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
example code provided at https://pyrevitlabs.notion.site/pyRevit-Routes-HTTP-API-79ef6d4a77b04aca9be6f4e46ffa728e
works with Ironpython 2.7.7 but not 3.4
Get browser message This page isnt working. ERR_EMPTY_RESPONSE
⌨ Error/Debug Message
I know my startup.py script is run once on load since I have a debug ouput to a log file in it.
And there are output to log file statements when my route is run as well.
The statements in my route log to file fine in ironpython 2.7.7 but not in 3.4
In 3.4 the only output to log file is the first one which is when pyrevit is loaded or reloaded.
So it looks like the server is not running in ironpython 3.4 properly
♻️ To Reproduce
follow steps in https://pyrevitlabs.notion.site/pyRevit-Routes-HTTP-API-79ef6d4a77b04aca9be6f4e46ffa728e
to create the startup.py and point browser to http://10.0.0.39:48884/routes/status where you replace 10.0.0.39 with your ip address
You will get a valid status if pyrevit is configured for 2.7.7 . If configured for 3.4 and restart revit, the route for status stops working
⏲️ Expected behavior
Work in 3.4 as it does in 2.7.7
🖥️ Hardware and Software Setup (please complete the following information)
==> Registered Clones (full git repos)
==> Registered Clones (deployed from archive/image)
master | Deploy: "basepublic" | Branch: "master" | Version: "4.8.14.24016+1909" | Path: "C:\Users\user\AppData\Roaming\pyRevit-Master"
==> Attachments
master | Product: "24.1.1" | Engine: IPY340PR (340) | Path: "C:\Users\user\AppData\Roaming\pyRevit-Master"
master | Product: "23.1.3" | Engine: IPY340PR (340) | Path: "C:\Users\user\AppData\Roaming\pyRevit-Master"
master | Product: "2021.1.9" | Engine: IPY340PR (340) | Path: "C:\Users\user\AppData\Roaming\pyRevit-Master"
==> Installed Extensions
MyHTTPAPI | Type: Unknown | Repo: "" | Installed: "T:\MASTER\Revit\TEESI Revit Add-Ins\Teesi Tools\ScriptsStaging\TEESI.extension\MyHTTPAPI.extension"
TEESI | Type: Unknown | Repo: "" | Installed: "T:\MASTER\Revit\TEESI Revit Add-Ins\Teesi Tools\ScriptsStaging\TEESI.extension"
==> Default Extension Search Path
C:\Users\user\AppData\Roaming\pyRevit\Extensions
==> Extension Search Paths
T:\MASTER\Revit\TEESI Revit Add-Ins\Teesi Tools\ScriptsStaging\TEESI.extension
T:\MASTER\Revit\TEESI Revit Add-Ins\Teesi Tools\ScriptsStaging
==> Extension Sources - Default
https://github.com/eirannejad/pyRevit/raw/master/extensions/extensions.json
==> Extension Sources - Additional
==> Installed Revits
24.1.1 | Version: 24.1.10.25 | Build: 20230830_0315(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2024\"
23.1.3 | Version: 23.1.30.97 | Build: 20230828_1515(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2023\"
2021.1.9 | Version: 21.1.90.15 | Build: 20230907_1515(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2021\"
==> Running Revit Instances
PID: 10792 | 23.1.3 | Version: 23.1.30.97 | Build: 20230828_1515(x64) | Language: 0 | Path: "C:\Program Files\Autodesk\Revit 2023"
==> User Environment
Microsoft Windows 10 [Version 10.0.19045]
Executing User: TEESI\user
Active User: TEESI\user
Admin Access: No
%APPDATA%: "C:\Users\user\AppData\Roaming"
Latest Installed .Net Framework: 4.8
No .Net Target Packs are installed.
No .Ne-Core Target Packs are installed.
pyRevit CLI v4.8.14.24016+1909.ee814ee2f686d23db8bb6ff80d8bb918ff9adc99
Additional context
No response