Closed MohamedAsli closed 1 year ago
Hey there @MohamedAsli ! Super excited you're already giving the assistant a shot! :) In which version of Revit are you experiencing this issue?
Hi @MostafaElAyoubi Sorry for the lack of info
Revit 2020.2.9 20220517_1515(x64)
Thanks for the info! We're having Ă hard time reproducing the issue on our end. Could you please see if you get the same crash on another version of Revit?
I've tried on 2021 and 2022.1.3, got the same problem. Here's a snippet where we see the raised exception from my journal file on 2022, I don't know if it helps I've disabled all my plugins, only Orkestra and Okpy left
"""
'E 10-May-2023 11:44:44.274; 0:<
Jrn.RibbonEvent "Execute external command:CustomCtrl%CustomCtrl%OkPy%OkPy%OkPy:OkPyRevitLoader.Commands.OpenOkPyCommand"
' 0:< ::63:: Delta VM: Avail -168 -> 134210705 MB, Used +157 -> 841 MB, Peak +138 -> 851 MB; RAM: Avail -134 -> 21962 MB, Used +165 -> 975 MB, Peak +150 -> 985 MB
' 0:< GUI Resource Usage GDI: Avail 9141, Used 859, User: Used 427
' 1.780241 1:<<<API External Command Time
'H 10-May-2023 11:44:46.068; 0:<
Jrn.Data _
"APIStringStringMapJournalData" , 0
' 0:< ::63:: Delta VM: Avail -7 -> 134210699 MB, Used +1 -> 842 MB; RAM: Avail -12 -> 21950 MB, Used +2 -> 977 MB
' 0:< GUI Resource Usage GDI: Avail 9130, Used 870, User: Used 438
'E 10-May-2023 11:44:47.755; 0:<
Jrn.AddInEvent "AddInJournaling" , "WpfWindow(,OkPy for Revit).WpfButton(0,NewOkPyTool).Click()"
'E 10-May-2023 11:44:47.756; 0:<
' [Jrn.WpfEvent.OkPy_for_Revit.NewOkPyTool] Rvt.Attr.WindowType: WpfWindow Rvt.Attr.WindowName: OkPy_for_Revit Rvt.Attr.ControlType: WpfButton Rvt.Attr.ControlName: NewOkPyTool Rvt.Attr.Action: Click()
' 0:< ::65:: Delta VM: Avail -20 -> 134210679 MB, Used +31 -> 873 MB, Peak +50 -> 902 MB; RAM: Avail -32 -> 21919 MB, Used +36 -> 1014 MB, Peak +54 -> 1040 MB
' 0:< GUI Resource Usage GDI: Avail 9125, Used 875, User: Used 450
'E 10-May-2023 11:47:08.181; 0:<
Jrn.AddInEvent "AddInJournaling" , "WpfWindow(,OkPy for Revit).WpfButton(0,OkPyAssistant).Click()"
'E 10-May-2023 11:47:08.181; 0:<
' [Jrn.WpfEvent.OkPy_for_Revit.OkPyAssistant] Rvt.Attr.WindowType: WpfWindow Rvt.Attr.WindowName: OkPy_for_Revit Rvt.Attr.ControlType: WpfButton Rvt.Attr.ControlName: OkPyAssistant Rvt.Attr.Action: Click()
' 0:< Exception occurred
'C 10-May-2023 11:47:08.875; 0:< ExceptionCode=0xe0434352 ExceptionFlags=0x00000001 ExceptionAddress=00007FFCD95FCB69
'C 10-May-2023 11:47:08.875; BC: 0,0,1
' 0:< System (MB) [Available / Total ] [Revit Memory Usage (MB) ]
' 0:< RAM Statistics: 21911 / 32509 1022=InUse 1040=Peak
' 0:< VM Statistics: 134210679 / 134217727 874=InUse 902=Peak
' 1:< ::67:: Delta VM: Avail +16 -> 134210696 MB, Used 873 MB; RAM: Avail +237 -> 22156 MB, Used +8 -> 1022 MB
' 1:< GUI Resource Usage GDI: Avail 9125, Used 875, User: Used 449
'C 10-May-2023 11:47:11.721; Revit worker 1 closed cleanly
'C 10-May-2023 11:47:11.723; [00003700]QueueMinder stopped
'C 10-May-2023 11:47:11.723; 1:< logging finished virtualization services
'C 10-May-2023 11:47:11.723; 1:< logging finished worker services
'C 10-May-2023 11:47:11.724; 1:< logging erased queues
' 2.844670 1:<<<Terminating RevitWorker Processes
' 0:< ::67:: Delta VM: Avail +191 -> 134210888 MB, Used -156 -> 718 MB; RAM: Avail +244 -> 22401 MB, Used -162 -> 860 MB
' 0:< GUI Resource Usage GDI: Avail 9125, Used 875, User: Used 432
' 0:< CefSharp has been shutdown successfully!
' 0:< Unconverted MessageBox "Une erreur bloquante s'est produite. Le programme va se fermer. Toutes vos données ont récemment été enregistrées, vous ne devez donc pas créer de fichiers de récupération.
"""
Hi @MostafaElAyoubi
I am encountering the same behavior on Revit 2022.1. If I can further assist with information about this, let me know.
Thank you very much for the précisions. Could you please share the list of addins you have installed ? This could be a conflict with resources loaded by other revit addins but we're not sure yet.
On my end, I do not have any other add-ins installed so far, the first to install was Orksestra :) after a clean install of Revit.
I love your priorities @adriangrosu2907 đ !! Which version of windows are you on?
For Revit 2022 I've disabled all non-autodesk plugins. I made another test on a brand new installation of revit 2024, same bug :/ No other addins except the Autodesk ones âŹ
This is super helpful thank you very muchđ
can you please try re-downloading the installer and re-installing?
I'm having a similar issue even after downloading the updated installer. Revit 2024 with no additional add-ins installed.
Uninstalled and reinstalled. A good step forward, now the assisant window opens fine.
The first test revit crashed just after my first prompt
The second test, it crashed after the second prompt
I decided to give this a shot. I uninstalled v1.6.1 and performed a clean install of v1.7.1, with no change to my Revit installations. If I open OkPy, create a tool, then click âAssistantâ, it crashes Revit. It crashes all versions from 2021-2024. We donât have the luxury of reinstalling Revit on every userâs computer to remedy this.
Thanks for reporting @LeeFried . RĂ©installing orkestra only seemed to work for some people. It is inconsistent though. We're still investigating.
@MohamedAsli it is à step forward for sûre. We're probably going to share à débug installer to try and track down and fix this . I'll reach out soon.
Fixed in 1.7.2
Revit simply crashes when attempting to launch the Assistant.
To Reproduce