pyrevitlabs / pyRevit

Rapid Application Development (RAD) Environment for Autodesk Revit®
http://wiki.pyrevitlabs.io
GNU General Public License v3.0
1.33k stars 337 forks source link

[Bug]: Revit doesn't load #2407

Open treemulti opened 2 months ago

treemulti commented 2 months ago

✈ Pre-Flight checks

🐞 Describe the bug

revit doent load

⌨ Error/Debug Message

no error message,it just shutdown after sometime

♻️ To Reproduce

No response

⏲️ Expected behavior

No response

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

C:\Users\joris.dewilde>pyrevit env --debug
env = True
Debug: Checking for all: wiki
Debug: Missing: wiki
Debug: Checking for all: blog
Debug: Missing: blog
Debug: Checking for all: docs
Debug: Missing: docs
Debug: Checking for all: source
Debug: Missing: source
Debug: Checking for all: youtube
Debug: Missing: youtube
Debug: Checking for all: support
Debug: Missing: support
Debug: Checking for all: env
==> Registered Clones (full git repos)
Debug: Try getting config as dict "environment:clones"
Debug: Try getting config "environment:clones"
Debug: Config "environment:clones" = "{"master":"C:\\Users\\joris.dewilde\\AppData\\Roaming\\pyRevit-Master"}"
Debug: Normalizing "C:\Users\joris.dewilde\AppData\Roaming\pyRevit-Master"
Debug: Normalized as "C:\Users\joris.dewilde\AppData\Roaming\pyRevit-Master"
Debug: Searching for valid clones above: C:\Users\joris.dewilde\AppData\Roaming\pyRevit-Master
Debug: Normalizing "C:\Users\joris.dewilde\AppData\Roaming\pyRevit-Master"
Debug: Normalized as "C:\Users\joris.dewilde\AppData\Roaming\pyRevit-Master"
Debug: Checking pyRevit clone validity "C:\Users\joris.dewilde\AppData\Roaming\pyRevit-Master"
Debug: Checking clone validity by directory structure...
Debug: Normalizing "C:\Users\joris.dewilde\AppData\Roaming\pyRevit-Master\pyrevitlib"
Debug: Normalized as "C:\Users\joris.dewilde\AppData\Roaming\pyRevit-Master\pyrevitlib"
Debug: Normalizing "C:\Users\joris.dewilde\AppData\Roaming\pyRevit-Master\pyrevitlib\pyrevit"
Debug: Normalized as "C:\Users\joris.dewilde\AppData\Roaming\pyRevit-Master\pyrevitlib\pyrevit"
Debug: Checking pyRevit path "C:\Users\joris.dewilde\AppData\Roaming\pyRevit-Master\pyrevitlib\pyrevit"
Debug: Checking clone validity by git repo...
Debug: Valid pyRevit clone "C:\Users\joris.dewilde\AppData\Roaming\pyRevit-Master"
Debug: Valid clone found at: C:\Users\joris.dewilde\AppData\Roaming\pyRevit-Master
Debug: Normalizing "C:\Users\joris.dewilde\AppData\Roaming\pyRevit-Master"
Debug: Normalized as "C:\Users\joris.dewilde\AppData\Roaming\pyRevit-Master"
Debug: Normalizing "C:\Users\joris.dewilde\AppData\Roaming\pyRevit-Master"
Debug: Normalized as "C:\Users\joris.dewilde\AppData\Roaming\pyRevit-Master"
Debug: Checking pyRevit clone validity "C:\Users\joris.dewilde\AppData\Roaming\pyRevit-Master"
Debug: Checking clone validity by directory structure...
Debug: Normalizing "C:\Users\joris.dewilde\AppData\Roaming\pyRevit-Master\pyrevitlib"
Debug: Normalized as "C:\Users\joris.dewilde\AppData\Roaming\pyRevit-Master\pyrevitlib"
Debug: Normalizing "C:\Users\joris.dewilde\AppData\Roaming\pyRevit-Master\pyrevitlib\pyrevit"
Debug: Normalized as "C:\Users\joris.dewilde\AppData\Roaming\pyRevit-Master\pyrevitlib\pyrevit"
Debug: Checking pyRevit path "C:\Users\joris.dewilde\AppData\Roaming\pyRevit-Master\pyrevitlib\pyrevit"
Debug: Checking clone validity by git repo...
Debug: Valid pyRevit clone "C:\Users\joris.dewilde\AppData\Roaming\pyRevit-Master"
Debug: Verified clone "master=C:\Users\joris.dewilde\AppData\Roaming\pyRevit-Master"
Debug: Updating config "environment:clones = {"master":"C:\\Users\\joris.dewilde\\AppData\\Roaming\\pyRevit-Master"}"
Debug: Saving config file "C:\Users\joris.dewilde\AppData\Roaming\pyRevit\pyRevit_config.ini"
==> Registered Clones (deployed from archive/image)
Debug: Reading image clone parmeters from "C:\Users\joris.dewilde\AppData\Roaming\pyRevit-Master\.pyrevitargs"
Debug: Image Path: "https://github.com/pyrevitlabs/pyRevit/archive/master.zip"
Debug: Branch: "master"
Debug: Deployment: "basepublic"
Debug: Url: "https://github.com/pyrevitlabs/pyRevit/archive/master.zip" | Branch: "master" | Deployment: "basepublic"
Debug: "core" : "["bin", "pyrevitlib", "site-packages", "pyRevitfile"]"
Debug: "corex" : "["bin", "extensions/pyRevitCore.extension", "extensions/extensions.json", "pyrevitlib", "site-packages", "pyRevitfile"]"
Debug: "base" : "["bin", "extensions/pyRevitCore.extension", "extensions/pyRevitTags.extension", "extensions/pyRevitTools.extension", "extensions/extensions.json", "pyrevitlib", "site-packages", "pyRevitfile"]"
Debug: "basepublic" : "["bin", "extensions/pyRevitCore.extension", "extensions/pyRevitTags.extension", "extensions/pyRevitTools.extension", "extensions/pyRevitTutor.extension", "extensions/extensions.json", "pyrevitlib", "site-packages", "pyRevitfile"]"
Debug: "basex" : "["bin", "extensions", "pyrevitlib", "site-packages", "pyRevitfile"]"
Debug: Reading image clone parmeters from "C:\Users\joris.dewilde\AppData\Roaming\pyRevit-Master\.pyrevitargs"
Debug: Image Path: "https://github.com/pyrevitlabs/pyRevit/archive/master.zip"
Debug: Branch: "master"
Debug: Deployment: "basepublic"
Debug: Url: "https://github.com/pyrevitlabs/pyRevit/archive/master.zip" | Branch: "master" | Deployment: "basepublic"
Debug: Normalizing "C:\Users\joris.dewilde\AppData\Roaming\pyRevit-Master"
Debug: Normalized as "C:\Users\joris.dewilde\AppData\Roaming\pyRevit-Master"
Debug: Checking pyRevit clone validity "C:\Users\joris.dewilde\AppData\Roaming\pyRevit-Master"
Debug: Checking clone validity by directory structure...
Debug: Normalizing "C:\Users\joris.dewilde\AppData\Roaming\pyRevit-Master\pyrevitlib"
Debug: Normalized as "C:\Users\joris.dewilde\AppData\Roaming\pyRevit-Master\pyrevitlib"
Debug: Normalizing "C:\Users\joris.dewilde\AppData\Roaming\pyRevit-Master\pyrevitlib\pyrevit"
Debug: Normalized as "C:\Users\joris.dewilde\AppData\Roaming\pyRevit-Master\pyrevitlib\pyrevit"
Debug: Checking pyRevit path "C:\Users\joris.dewilde\AppData\Roaming\pyRevit-Master\pyrevitlib\pyrevit"
Debug: Checking clone validity by git repo...
Debug: Valid pyRevit clone "C:\Users\joris.dewilde\AppData\Roaming\pyRevit-Master"
Debug: Normalizing "C:\Users\joris.dewilde\AppData\Roaming\pyRevit-Master\pyrevitlib"
Debug: Normalized as "C:\Users\joris.dewilde\AppData\Roaming\pyRevit-Master\pyrevitlib"
Debug: Normalizing "C:\Users\joris.dewilde\AppData\Roaming\pyRevit-Master\pyrevitlib\pyrevit"
Debug: Normalized as "C:\Users\joris.dewilde\AppData\Roaming\pyRevit-Master\pyrevitlib\pyrevit"
Debug: Normalizing "C:\Users\joris.dewilde\AppData\Roaming\pyRevit-Master\pyrevitlib\pyrevit\version"
Debug: Normalized as "C:\Users\joris.dewilde\AppData\Roaming\pyRevit-Master\pyrevitlib\pyrevit\version"
master | Deploy: "basepublic" | Branch: "master" | Version: "4.8.16.24121+2117" | Path: "C:\Users\joris.dewilde\AppData\Roaming\pyRevit-Master"

Microsoft Windows 10 [Version 10.0.19045]
Executing User: MULTI\joris.dewilde
Active User: MULTI\joris.dewilde
Admin Access: No
%APPDATA%: "C:\Users\joris.dewilde\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.16.24121+2117.23a0b8cbc4babdeb29a0611e159d017bbe9cbad5

Additional context

No response

sanzoghenzo commented 4 weeks ago

Hi @treemulti, sorry for the late response. But... did you follow the troubleshooting guide? from the logs it seems that there's no pyRevit attached to Revit.

have you tried to run pyrevit attach master default --installed in a command prompt, and then start Revit?