Pyrevit: Cannot Load pyRevit - Revit Crashes on Startup

Created on 6 Nov 2020  Â·  25Comments  Â·  Source: eirannejad/pyRevit

Hello, I have tried installing for the first time today the following version of pyRevit. 4.8.2, 4.7.6, 4.6.24.

When I started Revit 2019, I have had two scenarios. Either the Revit splash page appears and then Revit crashed, with no error message. Or, the pyRevit sequence appears, then the Revit screen where I can select a project to open is displayed followed by Revit crashing with no error message.

I have attached my error logs below. Thank you for your advice.

pyRevit_2019_22916_runtime.log
pyRevit_2019_681c8dbeb6c6d8a3_PyRevitLabs.PyRevit.Runtime.log

Heisenbug Malignant Bug Prioritize Runtime

All 25 comments

I am still having this issue as well. I haven't had any luck on any versions since 4.7.5. Revit load screen appears and then disappears after 15-20s.

My previous issue was #884

Would you mind sending a screenshot of the tabs you have on Revit UI? pyRevit seems to fail while trying to load the UI. I'm trying to see if there is any tab with special characters in the name maybe

image

I think the culprit is Enscapeâ„¢
Would you mind disabling enscape and see if pyRevit loads?

No, it still didn't load.

@mmcgowen23 Wait so in the screenshot I can see the pyRevit tabs on the end. You mean they're empty?!

Similar issue I am facing for Revit 2020, Revit opens originally after opening a project revit crashes. I have no issue for Revit 2019 and 2021. I installed V4.8.4 but still now luck.
2020-12-04 16_51_50-Autodesk Revit 2020 2 -  RAC_basic_sample_project rvt - Sheet_ A001 - Title Shee

Would you mind closing all Revits and running pyrevit caches clear --all on the command line? this will clear pyRevit caches and then run Revit 2020 again

v4.8.5 is published. Would you mind testing this? If it didn't work try attaching pyRevit using the custom IronPython engine pyrevit attach master default --installed

I installed v4.8.5 and now it crashes all revit versions. and I do not know the other methode of installation. Is there any instruction on how to attach pyRevit using the custom IronPythone engine?

Hmm. Is there any error popups? or crashes with no errors? You can use the pyrevit attach master default --installed on the command line to re-attach pyRevit using the new custom engine

No error message or popups. right away after the revit load it crashes. and
even do not let me open a project.

On Thu, 11 Feb 2021 at 10:52, Ehsan Iran-Nejad notifications@github.com
wrote:

Hmm. Is there any error popups? or crashes with no errors? You can use the pyrevit
attach master default --installed on the command line to re-attach
pyRevit using the new custom engine

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/eirannejad/pyRevit/issues/1055#issuecomment-777595314,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOMZYFPBNH6BUOICMSIWOGLS6P4MXANCNFSM4TNCSFTQ
.

Do you see any log files under %APPDATA%/pyRevit/20XX ? If yes would you mind sharing?

In order to work, I uninstalled pyRevit from my computer completely. I do
not see any log file. I can reinstall PyRevit and send you the log file
this afternoon or tomorrow.

On Thu, 11 Feb 2021 at 12:28, Ehsan Iran-Nejad notifications@github.com
wrote:

Do you see any log files under %APPDATA%/pyRevit/20XX ? If yes would you
mind sharing?

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/eirannejad/pyRevit/issues/1055#issuecomment-777660882,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOMZYFJERL32LGH7NFIMQJDS6QHURANCNFSM4TNCSFTQ
.

Sorry we have been swamped lately, I’ll try and get in and test pyrevit next week.

Thanks

Matt McGowen
Project Coordinator

Schwarz Hanson Architects
2570 River Park Plaza #100
Fort Worth, TX 76116
817.377.3600

NOTICE: In response to CDC guidelines regarding COVID-19, Schwarz-Hanson staff may be working remotely. We will continue to meet on site as needed. If I am unavailable at the main office phone I will still be available via email during normal office hours.

From: Ehsan Iran-Nejad notifications@github.com
Sent: Thursday, February 11, 2021 11:29 AM
To: eirannejad/pyRevit pyRevit@noreply.github.com
Cc: Matt McGowen matt@schwarz-hanson.com; Mention mention@noreply.github.com
Subject: Re: [External] [eirannejad/pyRevit] Cannot Load pyRevit - Revit Crashes on Startup (#1055)

Do you see any log files under %APPDATA%/pyRevit/20XX ? If yes would you mind sharing?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_eirannejad_pyRevit_issues_1055-23issuecomment-2D777660882&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=wVADjXLugOmbcFCjVdr8TDQ0R0OwdKBsXWh3H_N6c6A&m=E-z6PjcvQlD6rub5y77Qt5IcW9Ul2cJM0JihoRtQwCM&s=d8YWPFOzl5Kw5UQIE-PzGoirFVJ3-Dpf6qY0yBga4EM&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_APJBAPDLWXL5Z6WQSUXR6ATS6QHURANCNFSM4TNCSFTQ&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=wVADjXLugOmbcFCjVdr8TDQ0R0OwdKBsXWh3H_N6c6A&m=E-z6PjcvQlD6rub5y77Qt5IcW9Ul2cJM0JihoRtQwCM&s=ePl1IJeOWrkWzA6ZbeR_Yf_BlGbk9erWT7vun5hNPw0&e=.

I am also having this issue with all versions of Revit with v4.8.5. This is my first install of pyRevit on this machine. I have run pyrevit attach master default --installed as suggested above.

I also have no log files in appdata

One potentially relevant difference between my machine and a co-worker who has successfully installed pyRevit, is that I have Python 3.8 installed.

Hello Ehsan,

I just installed pyRevit 4.8.6 and have the same issue with all revit
versions. Please find attached the log file.

Regards,

On Thu, 25 Feb 2021 at 10:49, Chris Crosley @.*>
wrote:

One potentially relevant difference between my machine and a co-worker who
has successfully installed pyRevit, is that I have Python 3.8 installed.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/eirannejad/pyRevit/issues/1055#issuecomment-786001195,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOMZYFO3CW3SRRWFSUKMLF3TAZWSLANCNFSM4TNCSFTQ
.

I've had this issue since 4.7.5 (issue 884). 4.7.5 is the only version that works. any release after 4.7.6 makes Revit crash on open without error (Revit 2021-2018)

@n8mulder Would you mind running Revit with pyRevit 4.8.6 and let it crash. Then send me the journal file for the last session?

Journal file attached. I'm seeing API Errors/assembly conflicts...I'll let you interpret the meaning.
Thanks!
journal.0146.txt

Ok great. Thanks. I published 4.8.7 yesterday with some runtime changes. It might be worth checking that one out as well.

I just tried 4.8.7...no change :(

journal.0148.txt

Latest Log after trying 4.8.7. Tried it after running pyrevit attach master default --installed, still crashed. Also tried it after installing python as well to no avail.

pyRevit_2019_73f7d9a4dfca75b5_PyRevitLabs.PyRevit.Runtime.log

pyRevit_2019_c3034da718573c09_PyRevitLabs.PyRevit.Runtime.log

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AlexVilaOrtega picture AlexVilaOrtega  Â·  3Comments

thumDer picture thumDer  Â·  4Comments

pmcmm picture pmcmm  Â·  3Comments

Tyree picture Tyree  Â·  3Comments

DuncanLithgow picture DuncanLithgow  Â·  3Comments