jeremytammik / RevitLookup

Interactive Revit RFA and RVT project database exploration tool to view and navigate BIM element parameters, properties and relationships.
http://thebuildingcoder.typepad.com
MIT License
1.03k stars 294 forks source link

Fatal error crash in 2024 and other versions #154

Closed jmcouffin closed 1 year ago

jmcouffin commented 1 year ago

Hi, Just got the new version, @Nice3point crazy good job on the new release. The events monitor.. 🤟 The search... 🤯 ... Anyway, got a crash in Revit 2024, did not even get the time to do anything. The journal file mentions:

Jrn.RibbonEvent "Execute external command:CustomCtrl%CustomCtrl%CustomCtrl_%Add-Ins%Revit Lookup%RevitLookup%RevitLookup.Commands.SearchElementsCommand:RevitLookup.Commands.SearchElementsCommand" ' 1:< API_ERROR { : Assembly version conflict in some references in RevitLookup.dll assembly 'Addin's module System.Net.Http of version 4.2.0.0 conflicts with same preloaded module of version 4.0.0.0 }

and

'C 06-Apr-2023 13:17:46.234; 0:< ExceptionCode=0xe0434352 ExceptionFlags=0x00000001 ExceptionAddress=00007FFC8C12CD29 'C 06-Apr-2023 13:17:46.234; BC: 0,2385,1

in 2021, no crash so far but the same dll conflict + another one

' 1:< API_ERROR { : Assembly version conflict in some references in RevitLookup.dll assembly 'Addin's module Microsoft.Extensions.DependencyInjection.Abstractions of version 7.0.0.0 conflicts with same preloaded module of version 2.2.0.0 'Addin's module System.Net.Http of version 4.2.0.0 conflicts with same preloaded module of version 4.0.0.0 }

in 2021 I have loads of addins: diRoots, pyRevit, JOTools, Camilion, Archilizer, RDBE in 2024, pyRevit, RDBE

Working on WIN10PRO on a PC

Nice3point commented 1 year ago

Thanks 😉 The text from the log that you specified is always written on all plugins, even those that come with Revit. The entry System.Net.Http of version 4.2.0.0 conflicts with the same preloaded module of version 4.0.0.0 we can see everywhere in the log, but however it does not affect anything. RevitLookup does not access the internet

Nice3point commented 1 year ago

Is there any other information shown in the log or maybe it appears when a problem occurs?

A similar Win 10 system and installed plugins are also found in this issue 🤔 https://github.com/jeremytammik/RevitLookup/issues/153

I will download 2024 Revit today and see the situation on win11 Can you temporarily delete the manifest files of the other add-ins and run Revit ?

jmcouffin commented 1 year ago

Is there any other information shown in the log or maybe it appears when a problem occurs?

That is the portion of the journal with the error

Jrn.PushButton "Page , Emplacement fichiers , Dialog_Revit_OptionsFiles"  _
          , "Faire monter, Control_Revit_TemplatePathMoveUp" 
'E 06-Apr-2023 12:07:42.834;   0:< 
Jrn.ListBox "Modal , Options , 0"  _
          , "IDP_FAILED_TO_CREATE"  _
          , "Select"  , "Rendu" 
' 0:< ::263:: Delta VM: Avail +30 -> 134142117 MB, Used 2865 MB, Peak +0 -> 2866 MB; RAM: Avail -9 -> 44534 MB, Used 2771 MB 
' 0:< GUI Resource Usage GDI: Avail 8353, Used 1647, User: Used 794 
'E 06-Apr-2023 12:07:46.138;   0:< 
Jrn.ListBox "Modal , Options , 0"  _
          , "IDP_FAILED_TO_CREATE"  _
          , "Select"  , "Vérifier l'orthographe" 
' 0:< Starting spelling corrector engine... 
' 0:< Spelling options 260 
' 0:< Loading dictionaries... 
' 0:< C:\ProgramData\Autodesk\RVT 2024\Custom.dic (modified 20230309194346) 
' 0:< C:\ProgramData\Autodesk\RVT 2024\RevitFRA.dic (modified 20230309194347) 
' 0:< C:\Program Files\Autodesk\Revit 2024\fra.dct 
' 0:< C:\Program Files\Autodesk\Revit 2024\fra2.dct 
' 0:< ::264:: Delta VM: Avail -30 -> 134142088 MB, Used 2865 MB; RAM: Avail +0 -> 44535 MB, Used 2771 MB 
' 0:< GUI Resource Usage GDI: Avail 8348, Used 1652, User: Used 808 
'E 06-Apr-2023 12:07:48.731;   0:< 
Jrn.ListBox "Modal , Options , 0"  _
          , "IDP_FAILED_TO_CREATE"  _
          , "Select"  , "SteeringWheels" 
'E 06-Apr-2023 12:07:49.705;   0:< 
Jrn.ListBox "Modal , Options , 0"  _
          , "IDP_FAILED_TO_CREATE"  _
          , "Select"  , "ViewCube" 
'E 06-Apr-2023 12:07:51.659;   0:< 
Jrn.ListBox "Modal , Options , 0"  _
          , "IDP_FAILED_TO_CREATE"  _
          , "Select"  , "Macros" 
'E 06-Apr-2023 12:07:52.855;   0:< 
Jrn.ListBox "Modal , Options , 0"  _
          , "IDP_FAILED_TO_CREATE"  _
          , "Select"  , "ViewCube" 
'E 06-Apr-2023 12:07:55.929;   0:< 
Jrn.ListBox "Modal , Options , 0"  _
          , "IDP_FAILED_TO_CREATE"  _
          , "Select"  , "Macros" 
'E 06-Apr-2023 12:07:57.065;   0:< 
Jrn.ListBox "Modal , Options , 0"  _
          , "IDP_FAILED_TO_CREATE"  _
          , "Select"  , "Modèle cloud" 
'E 06-Apr-2023 12:07:59.727;   0:< 
Jrn.PushButton "Modal , Options , 0"  _
          , "OK, IDOK" 
' 0:< No key-based tree File: RevitKeynotes_Imperial_2004.txt - in this Library Location: C:\ProgramData\Autodesk\RVT 2024\Libraries\French\ - file does not exist: C:\ProgramData\Autodesk\RVT 2024\Libraries\French\RevitKeynotes_Imperial_2004.txt 
' 0:< No key-based tree File: UniformatClassifications.txt - in this Library Location: C:\ProgramData\Autodesk\RVT 2024\Libraries\French\ - file does not exist: C:\ProgramData\Autodesk\RVT 2024\Libraries\French\UniformatClassifications.txt 
' 0:< No key-based tree File: RevitKeynotes_Imperial_2004.txt - in this Library Location: C:\ProgramData\Autodesk\RVT 2024\Libraries\French\ - file does not exist: C:\ProgramData\Autodesk\RVT 2024\Libraries\French\RevitKeynotes_Imperial_2004.txt 
' 0:< No key-based tree File: UniformatClassifications.txt - in this Library Location: C:\ProgramData\Autodesk\RVT 2024\Libraries\French\ - file does not exist: C:\ProgramData\Autodesk\RVT 2024\Libraries\French\UniformatClassifications.txt 
' 1:< FileCheckTrigger dependencies update 
' 0:< No key-based tree File: RevitKeynotes_Imperial_2004.txt - in this Library Location: C:\ProgramData\Autodesk\RVT 2024\Libraries\French\ - file does not exist: C:\ProgramData\Autodesk\RVT 2024\Libraries\French\RevitKeynotes_Imperial_2004.txt 
' 0:< No key-based tree File: UniformatClassifications.txt - in this Library Location: C:\ProgramData\Autodesk\RVT 2024\Libraries\French\ - file does not exist: C:\ProgramData\Autodesk\RVT 2024\Libraries\French\UniformatClassifications.txt 
' 1:< FileCheckTrigger dependencies update 
' 0:< No key-based tree File: UniformatClassifications.txt - in this Library Location: C:\ProgramData\Autodesk\RVT 2024\Libraries\French\ - file does not exist: C:\ProgramData\Autodesk\RVT 2024\Libraries\French\UniformatClassifications.txt 
' 1:< FileCheckTrigger dependencies update 
' 0:< No key-based tree File: UniformatClassifications.txt - in this Library Location: C:\ProgramData\Autodesk\RVT 2024\Libraries\French\ - file does not exist: C:\ProgramData\Autodesk\RVT 2024\Libraries\French\UniformatClassifications.txt 
' 1:< FileCheckTrigger dependencies update 
' 0:< No key-based tree File: UniformatClassifications.txt - in this Library Location: C:\ProgramData\Autodesk\RVT 2024\Libraries\French\ - file does not exist: C:\ProgramData\Autodesk\RVT 2024\Libraries\French\UniformatClassifications.txt 
' 1:< FileCheckTrigger dependencies update 
' 0:< No key-based tree File: RevitKeynotes_Imperial_2004.txt - in this Library Location: C:\ProgramData\Autodesk\RVT 2024\Libraries\French\ - file does not exist: C:\ProgramData\Autodesk\RVT 2024\Libraries\French\RevitKeynotes_Imperial_2004.txt 
' 0:< No key-based tree File: UniformatClassifications.txt - in this Library Location: C:\ProgramData\Autodesk\RVT 2024\Libraries\French\ - file does not exist: C:\ProgramData\Autodesk\RVT 2024\Libraries\French\UniformatClassifications.txt 

'C 06-Apr-2023 12:08:00.197; 0:< Notify Active View. 'E 06-Apr-2023 12:08:00.297; 0:< Jrn.RibbonEvent "TabActivated:Compléments" 'E 06-Apr-2023 12:08:00.575; 0:< ' [Jrn.ExternalEventExecution] Rvt.Attr.AddInId: 844fae81-bbed-4b1e-aa6f-06ef261f6096 Rvt.Attr.AddInName: StructuralRibbon Rvt.Attr.AddInVersion: 2024.0.0.5138 Rvt.Attr.ExternalEventName: Dialog option event handler for Structural Ribbon Rvt.Attr.VendorDescription: ADSK, www.autodesk.com Rvt.Attr.VendorId: ADSK 'E 06-Apr-2023 12:08:04.459; 0:< Jrn.Size 0 , 1290 , 783 'H 06-Apr-2023 12:08:04.459; 0:< Jrn.Directive "WindowSize" , "[Snowdon Towers Sample Architectural.rvt]" , "Feuille: G000 - Cover" , 1290, 783 ' 0:< ::274:: Delta VM: Avail +75 -> 134142163 MB, Used -13 -> 2853 MB; RAM: Avail -1359 -> 43176 MB, Used +148 -> 2919 MB, Peak +150 -> 2922 MB ' 0:< GUI Resource Usage GDI: Avail 8488, Used 1512, User: Used 600 'C 06-Apr-2023 12:23:07.809; 0:< License Idle: Enter ' 0:< ::274:: Delta VM: Avail +9 -> 134142172 MB, Used -5 -> 2849 MB; RAM: Avail -620 -> 42557 MB, Used 2919 MB ' 0:< GUI Resource Usage GDI: Avail 8488, Used 1512, User: Used 595 ' 0:< Triggering SSO refresh, SSOStatus : 6. ' 0:< ::274:: Delta VM: Avail +2 -> 134142174 MB, Used -1 -> 2848 MB; RAM: Avail -2948 -> 39609 MB, Used -2 -> 2918 MB ' 0:< GUI Resource Usage GDI: Avail 8501, Used 1499, User: Used 595 'C 06-Apr-2023 13:16:21.151; 0:< Notify Active View. ' 0:< ::274:: Delta VM: Avail -14 -> 134142161 MB, Used +8 -> 2856 MB; RAM: Avail -5 -> 39605 MB, Used +8 -> 2926 MB, Peak +4 -> 2926 MB ' 0:< GUI Resource Usage GDI: Avail 8485, Used 1515, User: Used 599 'C 06-Apr-2023 13:16:21.192; 0:< Notify Active View. 'C 06-Apr-2023 13:16:22.859; 0:< License Idle: Exit 'E 06-Apr-2023 13:16:22.859; 0:< ' [Jrn.Tooltip] Rvt.Attr.Tooltip.CommandID: CustomCtrl%CustomCtrl%CustomCtrl%Add-Ins%Revit Lookup%RevitLookup%RevitLookup.Commands.SearchElementsCommand Rvt.Attr.Tooltip.ElapsedTime: 0.4309641 Rvt.Attr.Tooltip.Enabled: True Rvt.Attr.Tooltip.IsFirst: False Rvt.Attr.Tooltip.Key: CustomCtrl%CustomCtrl%CustomCtrl%Add-Ins%Revit Lookup%RevitLookup%RevitLookup.Commands.SearchElementsCommand Rvt.Attr.Tooltip.Progressive: True Rvt.Attr.Tooltip.Progressive.Delay: 2 'C 06-Apr-2023 13:16:24.112; 0:< LicenseUpd(1)
' 0:< ::275:: Delta VM: Avail -2 -> 134142160 MB, Used +2 -> 2859 MB; RAM: Avail +11 -> 39616 MB, Used +2 -> 2928 MB, Peak +5 -> 2932 MB ' 0:< GUI Resource Usage GDI: Avail 8473, Used 1527, User: Used 596 'C 06-Apr-2023 13:17:06.893; 0:< Notify Active View. 'E 06-Apr-2023 13:17:08.534; 0:< Jrn.RibbonEvent "Execute external command:CustomCtrl%CustomCtrl%CustomCtrl_%Add-Ins%Revit Lookup%RevitLookup%RevitLookup.Commands.SearchElementsCommand:RevitLookup.Commands.SearchElementsCommand" ' 1:< APIERROR { : Assembly version conflict in some references in RevitLookup.dll assembly 'Addin's module System.Net.Http of version 4.2.0.0 conflicts with same preloaded module of version 4.0.0.0 } ' 0.824694 1:<<<API External Command Time 'H 06-Apr-2023 13:17:09.360; 0:< Jrn.Data "APIStringStringMapJournalData" , 0 'E 06-Apr-2023 13:17:13.927; 0:< ' [Jrn.ExternalEventExecution] Rvt.Attr.AddInId: 356cda5a-e6c5-4c2f-a9ef-b3222116b8c8 Rvt.Attr.AddInName: RevitLookup Rvt.Attr.AddInVersion: 2024.0.0.0 Rvt.Attr.ExternalEventName: AsyncEventHandler1 Rvt.Attr.VendorDescription: Autodesk, www.autodesk.com Rvt.Attr.VendorId: ADSK 'E 06-Apr-2023 13:17:14.243; 0:< ' [Jrn.ExternalEventExecution] Rvt.Attr.AddInId: 356cda5a-e6c5-4c2f-a9ef-b3222116b8c8 Rvt.Attr.AddInName: RevitLookup Rvt.Attr.AddInVersion: 2024.0.0.0 Rvt.Attr.ExternalEventName: AsyncEventHandler1 Rvt.Attr.VendorDescription: Autodesk, www.autodesk.com Rvt.Attr.VendorId: ADSK ' 0:< ::278:: Delta VM: Avail -34 -> 134142126 MB, Used 2859 MB; RAM: Avail -14 -> 39603 MB, Used +0 -> 2929 MB, Peak +1 -> 2933 MB ' 0:< GUI Resource Usage GDI: Avail 8457, Used 1543, User: Used 610 'E 06-Apr-2023 13:17:18.851; 0:< ' [Jrn.ExternalEventExecution] Rvt.Attr.AddInId: 356cda5a-e6c5-4c2f-a9ef-b3222116b8c8 Rvt.Attr.AddInName: RevitLookup Rvt.Attr.AddInVersion: 2024.0.0.0 Rvt.Attr.ExternalEventName: AsyncEventHandler`1 Rvt.Attr.VendorDescription: Autodesk, www.autodesk.com Rvt.Attr.VendorId: ADSK ' 0:< ::279:: Delta VM: Avail +25 -> 134142152 MB, Used +0 -> 2860 MB, Peak +5 -> 2872 MB; RAM: Avail -61 -> 39542 MB, Used +3 -> 2933 MB, Peak +12 -> 2945 MB ' 0:< GUI Resource Usage GDI: Avail 8452, Used 1548, User: Used 605 ' 0:< Exception occurred 'C 06-Apr-2023 13:17:46.234; 0:< ExceptionCode=0xe0434352 ExceptionFlags=0x00000001 ExceptionAddress=00007FFC8C12CD29 'C 06-Apr-2023 13:17:46.234; BC: 0,2385,1 ' 0:< System (MB) [Available / Total ] [Revit Memory Usage (MB) ] ' 0:< RAM Statistics: 39544 / 64692 2931=InUse 2945=Peak
' 0:< VM Statistics: 134142161 / 134217727 2859=InUse 2872=Peak
' 1:< ::279:: Delta VM: Avail +10 -> 134142162 MB, Used -2 -> 2859 MB; RAM: Avail +256 -> 39799 MB, Used -2 -> 2931 MB ' 1:< GUI Resource Usage GDI: Avail 8452, Used 1548, User: Used 597 'C 06-Apr-2023 13:17:47.956; Revit worker 1 closed cleanly 'C 06-Apr-2023 13:17:47.959; [00003a58]QueueMinder stopped 'C 06-Apr-2023 13:17:47.959; 1:< logging finished virtualization services
'C 06-Apr-2023 13:17:47.959; 1:< logging finished worker services
'C 06-Apr-2023 13:17:47.960; 1:< logging erased queues
' 1.710806 1:<<<Terminating RevitWorker Processes ' 0:< ::279:: Delta VM: Avail +20 -> 134142182 MB, Used -2 -> 2857 MB; RAM: Avail +203 -> 40002 MB, Used -2 -> 2930 MB ' 0:< GUI Resource Usage GDI: Avail 8453, Used 1547, User: Used 566 ' 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. ' 'Sélectionnez Aide ou appuyez sur F1 pour plus d'informations sur les causes possibles des erreurs bloquantes." ' 0:< ::279:: Delta VM: Avail -30 -> 134142153 MB, Used 2857 MB; RAM: Avail +7 -> 40009 MB, Used 2930 MB ' 0:< GUI Resource Usage GDI: Avail 8448, Used 1552, User: Used 574 ' 0:< MFC MainFrame activated 'C 06-Apr-2023 13:17:51.166; 0:< Notify Active View. 'H 06-Apr-2023 13:17:51.167; 0:< Jrn.Data _ "MessageBox" , "IDOK" , "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." & vbLf & "" & vbLf & "Sélectionnez Aide ou appuyez sur F1 pour plus d'informations sur les causes possibles des erreurs bloquantes." 'C 06-Apr-2023 13:17:51.168; 0:< License shutdown starting 'C 06-Apr-2023 13:17:51.205; 0:< License cleanup complete: 20, 0 ' 0:< CefSharp has been shutdown successfully! 'C 06-Apr-2023 13:17:51.205; program terminated

jmcouffin commented 1 year ago

Can you temporarily delete the manifest files of the other add-ins and run Revit ?

not right now, but I launched it again and tried it again, no issues so far. maybe a false positive.

jmcouffin commented 1 year ago

oh, and the components explorer, pretty cool too :)

Nice3point commented 1 year ago

Didn't find anything in the log that caused the error, the only thing is its number) ExceptionCode=0xe0434352 ExceptionFlags=0x00000001

https://www.autodesk.com/support/technical/article/caas/sfdcarticles/sfdcarticles/An-unrecoverable-error-has-occurred-when-opening-files-in-Revit.html https://github.com/DynamoDS/DynamoWorkspaceUpgradeExtension/issues/6

Nice3point commented 1 year ago

Can you temporarily delete the manifest files of the other add-ins and run Revit ?

not right now, but I launched it again and tried it again, no issues so far. maybe a false positive.

It's all right now, we can close this issue?)

jmcouffin commented 1 year ago

😄 it is. I deactivated Revit DB explorer. there seems to be a conflict. Everytime I had a failure event it was going in infinite loop and crashing, nothing special in the journal. It did the same in 2021

Nice3point commented 1 year ago

@jmcouffin Possibly Revit DB explorer is using outdated library versions incompatible with RevitLookup, request an update from the publisher or move the files from one plug-in to another yourself

If you are a developer you can run the program in Debug mode and check with the debugger what is causing the problem