mcneel / rhino.inside-revit

This is the open-source repository for Rhino.Inside®.Revit
https://www.rhino3d.com/inside/revit/
MIT License
260 stars 67 forks source link

Runtime Error (SB 28317120) #250

Closed eirannejad closed 4 years ago

eirannejad commented 4 years ago

Ticket Info

Support Ticket

Host Info

Journal Report

Section of journal after loading Rhino.Inside.Revit (100 lines)

 Jrn.RibbonEvent "Execute external command:CustomCtrl_%CustomCtrl_%Add-Ins%Rhinoceros%CommandRhinoInside:RhinoInside.Revit.UI.CommandRhinoInside"
' 2:< ::60:: Delta VM: Avail -131 -> 134210535 MB, Used +36 -> 811 MB, Peak +38 -> 814 MB; RAM: Avail -40 -> 8558 MB, Used +57 -> 897 MB, Peak +57 -> 897 MB 
' 2:< GUI Resource Usage GDI: Avail 9105, Used 895, User: Used 467 
' 11.297553!!! 2:!!!BIG_GAP API External Command Time 
' 2:< ::60:: Delta VM: Avail -90551 -> 134119985 MB, Used +197 -> 1009 MB, Peak +194 -> 1009 MB; RAM: Avail -172 -> 8386 MB, Used +216 -> 1113 MB, Peak +216 -> 1113 MB 
' 2:< GUI Resource Usage GDI: Avail 8710, Used 1290, User: Used 1329 
'  7.431214!!! 2:!!!BIG_GAP API External Command Time 
' 1:< ::60:: Delta VM: Avail -44 -> 134119941 MB, Used +101 -> 1110 MB, Peak +101 -> 1111 MB; RAM: Avail -123 -> 8264 MB, Used +117 -> 1231 MB, Peak +118 -> 1232 MB 
' 1:< GUI Resource Usage GDI: Avail 8717, Used 1283, User: Used 1324 
' 1:< API_SUCCESS { Registered an external server: Name(Grasshopper); VendorId(RMA); ServerId(b45a29b1-4343-4035-989e-044e8580d9cf); ServiceId(e454a471-b9f3-4cb7-96b1-bab4cf7742a6) } 
 'E 16-May-2020 21:30:32.741;   1:< 
 Jrn.MouseMove    0 ,    525 ,     65
 'E 16-May-2020 21:30:32.741;   1:< 
 ' [Jrn.RegisterExternalServer] Rvt.Attr.ExternalServer: b45a29b1-4343-4035-989e-044e8580d9cf Rvt.Attr.ExternalService: e454a471-b9f3-4cb7-96b1-bab4cf7742a6 
' 1:< API_SUCCESS { Registering Idling event by application Rhino.Inside (02eff7f0-4921-4fd3-91f6-a87b6ba9bf74). } 
' 1:< API_SUCCESS { Registering Idling event by application Rhino.Inside (02eff7f0-4921-4fd3-91f6-a87b6ba9bf74). } 
' 1:< API_SUCCESS { Registering DocumentChanged event by application Rhino.Inside (02eff7f0-4921-4fd3-91f6-a87b6ba9bf74). } 
' 1:< External Command Registration Exception: Invalid long description format.
'An error occurred while parsing EntityName. Line 3, position 41. 
' 1:< API_SUCCESS { Added pushbutton Id: 6415, name: , text: Sample files, class: RhinoInside.Revit.UI.CommandSampleFiles, assembly: %APPDATA%\Autodesk\Revit\Addins\2020\RhinoInside.Revit\RhinoInside.Revit.dll } 
' 1:< API_SUCCESS { Added pushbutton Id: 6416, name: , text: APIDocs, class: RhinoInside.Revit.UI.CommandAPIDocs, assembly: %APPDATA%\Autodesk\Revit\Addins\2020\RhinoInside.Revit\RhinoInside.Revit.dll } 
' 1:< API_SUCCESS { Added pushbutton Id: 6417, name: , text: TheBuildingCoder, class: RhinoInside.Revit.UI.CommandTheBuildingCoder, assembly: %APPDATA%\Autodesk\Revit\Addins\2020\RhinoInside.Revit\RhinoInside.Revit.dll } 
' 1:< API_SUCCESS { Added pushbutton Id: 6418, name: , text: Rhino Dev Docs, class: RhinoInside.Revit.UI.CommandRhinoDevDocs, assembly: %APPDATA%\Autodesk\Revit\Addins\2020\RhinoInside.Revit\RhinoInside.Revit.dll } 
' 1:< API_SUCCESS { Added pushbutton Id: 6419, name: , text: McNeel Discourse, class: RhinoInside.Revit.UI.CommandDiscourse, assembly: %APPDATA%\Autodesk\Revit\Addins\2020\RhinoInside.Revit\RhinoInside.Revit.dll } 
' 1:< API_SUCCESS { Added pushbutton Id: 6420, name: , text: Updates, class: RhinoInside.Revit.UI.CommandCheckForUpdates, assembly: %APPDATA%\Autodesk\Revit\Addins\2020\RhinoInside.Revit\RhinoInside.Revit.dll } 
' 1:< API_SUCCESS { Added pushbutton Id: 6421, name: , text: About, class: RhinoInside.Revit.UI.CommandAbout, assembly: %APPDATA%\Autodesk\Revit\Addins\2020\RhinoInside.Revit\RhinoInside.Revit.dll } 
' 1:< API_SUCCESS { Added pushbutton Id: 6422, name: , text: Rhino, class: RhinoInside.Revit.UI.CommandRhino, assembly: %APPDATA%\Autodesk\Revit\Addins\2020\RhinoInside.Revit\RhinoInside.Revit.dll } 
' 1:< API_SUCCESS { Added pushbutton Id: 6423, name: , text: Preview, class: RhinoInside.Revit.UI.CommandRhinoPreview, assembly: %APPDATA%\Autodesk\Revit\Addins\2020\RhinoInside.Revit\RhinoInside.Revit.dll } 
' 1:< API_SUCCESS { Added pushbutton Id: 6424, name: , text: Python, class: RhinoInside.Revit.UI.CommandPython, assembly: %APPDATA%\Autodesk\Revit\Addins\2020\RhinoInside.Revit\RhinoInside.Revit.dll } 
' 1:< API_SUCCESS { Added pushbutton Id: 6425, name: , text: Grasshopper, class: RhinoInside.Revit.UI.CommandGrasshopper, assembly: %APPDATA%\Autodesk\Revit\Addins\2020\RhinoInside.Revit\RhinoInside.Revit.dll } 
' 1:< API_SUCCESS { Added pushbutton Id: 6426, name: , text: Player, class: RhinoInside.Revit.UI.CommandGrasshopperPlayer, assembly: %APPDATA%\Autodesk\Revit\Addins\2020\RhinoInside.Revit\RhinoInside.Revit.dll } 
' 1:< API_SUCCESS { Added pushbutton Id: 6427, name: , text: Off, class: RhinoInside.Revit.UI.CommandGrasshopperPreviewOff, assembly: %APPDATA%\Autodesk\Revit\Addins\2020\RhinoInside.Revit\RhinoInside.Revit.dll } 
' 1:< API_SUCCESS { Added pushbutton Id: 6428, name: , text: Wireframe, class: RhinoInside.Revit.UI.CommandGrasshopperPreviewWireframe, assembly: %APPDATA%\Autodesk\Revit\Addins\2020\RhinoInside.Revit\RhinoInside.Revit.dll } 
' 1:< API_SUCCESS { Added pushbutton Id: 6429, name: , text: Shaded, class: RhinoInside.Revit.UI.CommandGrasshopperPreviewShaded, assembly: %APPDATA%\Autodesk\Revit\Addins\2020\RhinoInside.Revit\RhinoInside.Revit.dll } 
' 1:< API_SUCCESS { Added pushbutton Id: 6430, name: , text: Recompute, class: RhinoInside.Revit.UI.CommandGrasshopperRecompute, assembly: %APPDATA%\Autodesk\Revit\Addins\2020\RhinoInside.Revit\RhinoInside.Revit.dll } 
' 1:< API_SUCCESS { Added pushbutton Id: 6431, name: , text: Bake Selected, class: RhinoInside.Revit.UI.CommandGrasshopperBake, assembly: %APPDATA%\Autodesk\Revit\Addins\2020\RhinoInside.Revit\RhinoInside.Revit.dll } 
' 1:< API_SUCCESS { Registering Idling event by application Rhino.Inside (02eff7f0-4921-4fd3-91f6-a87b6ba9bf74). } 
' 1:< API_SUCCESS { Added pushbutton Id: 6432, name: , text: Sample 1, class: RhinoInside.Revit.Samples.Sample1, assembly: %APPDATA%\Autodesk\Revit\Addins\2020\RhinoInside.Revit\RhinoInside.Revit.dll } 
' 1:< API_SUCCESS { Added pushbutton Id: 6433, name: , text: Browse..., class: RhinoInside.Revit.Samples.Sample4+Browse, assembly: %APPDATA%\Autodesk\Revit\Addins\2020\RhinoInside.Revit\RhinoInside.Revit.dll } 
' 1:< API_SUCCESS { Added pushbutton Id: 6434, name: , text: Sample 8, class: RhinoInside.Revit.Samples.Sample8, assembly: %APPDATA%\Autodesk\Revit\Addins\2020\RhinoInside.Revit\RhinoInside.Revit.dll } 
 ' 1:< ::62:: Delta VM: Avail -3 -> 134119939 MB, Used +17 -> 1128 MB, Peak +19 -> 1130 MB; RAM: Avail -19 -> 8245 MB, Used +17 -> 1249 MB, Peak +19 -> 1251 MB 
 ' 1:< GUI Resource Usage GDI: Avail 8718, Used 1282, User: Used 1317 
 'E 16-May-2020 21:30:43.534;   1:< 
 Jrn.LButtonDown    1 ,    920 ,    257
 ' 1:< Candidates (curIdx = -1):  
' 1:< TaskDialog "Keyboard shortcut 'R' is now assigned to Rhino"
'Id : RhinoInside.Revit.UI.CommandRhinoInside.ShowShortcutHelp
'Command Links:
'1001 : Customize keyboard shortcuts
'DefaultButton : 1001 
' 16.072844!!! 2:!!!BIG_GAP API External Command Time 
' 1:< ::63:: Delta VM: Avail +4 -> 134119943 MB, Used +1 -> 1130 MB, Peak +7 -> 1137 MB; RAM: Avail +79 -> 8324 MB, Used +2 -> 1251 MB, Peak +7 -> 1259 MB 
' 1:< GUI Resource Usage GDI: Avail 8708, Used 1292, User: Used 1324 
' 1:< Muted: Jrn.Directive IdleTimeTaskSymbol 
' 0:< ::63:: Delta VM: Avail 134119943 MB, Used -27 -> 1103 MB; RAM: Avail +10 -> 8335 MB, Used -26 -> 1226 MB 
' 0:< GUI Resource Usage GDI: Avail 8708, Used 1292, User: Used 1324 
' 63.196835   1:<<API External Command Time 
'H 16-May-2020 21:31:12.066;   0:< 
Jrn.Data "APIStringStringMapJournalData"  _
        , 0
 'E 16-May-2020 21:31:12.234;   1:< 
 Jrn.MouseMove    0 ,   1134 ,    344
 'E 16-May-2020 21:31:12.234;   1:< 
 Jrn.RibbonEvent "ComboCurrentChangedEvent:CustomCtrl_%CustomCtrl_%Rhinoceros%Grasshopper%Category:"
 'E 16-May-2020 21:31:12.241;   1:< 
 Jrn.RibbonEvent "ComboCurrentChangedEvent:CustomCtrl_%CustomCtrl_%Rhinoceros%Grasshopper%Category:"
' 1:< API_SUCCESS { Unregistering Idling event by application Rhino.Inside (02eff7f0-4921-4fd3-91f6-a87b6ba9bf74). } 
'H 16-May-2020 21:31:12.284;   0:< 
Jrn.Directive "IdleTimeTaskInvocation"  _
        , "2.PostCommandTask", 0, "{}"
 'E 16-May-2020 21:31:12.290;   0:< 
 Jrn.Command "KeyboardShortcut" , " , ID_KEYBOARD_SHORTCUT_DIALOG"
' 0:< Unnecessary nesting;ArrowUI_4;-1;ID_KEYBOARD_SHORTCUT_DIALOG ;N++EB(NB); 
' 0:< TaskDialog "The shortcut RR is currently assigned to the command Render. "
'Id : TaskDialog_Shortcut_Duplication
'CommonButtons : Ok, Cancel
'DefaultButton : 1001 
' 0:< ::67:: Delta VM: Avail +9 -> 134119952 MB, Used -2 -> 1102 MB; RAM: Avail -21 -> 8315 MB, Used +1 -> 1227 MB 
' 0:< GUI Resource Usage GDI: Avail 8707, Used 1293, User: Used 1319 
'H 16-May-2020 21:31:52.748;   0:< 
Jrn.Directive "IdleTimeTaskInvocation"  _
        , "2.PostCommandTask", 0, "end"
'C 16-May-2020 21:31:52.817;   0:< idle0_doc 
 'E 16-May-2020 21:31:53.367;   0:< 
 Jrn.MouseMove    0 ,    574 ,    352
 'E 16-May-2020 21:31:53.367;   0:< 
 Jrn.LButtonDown    1 ,    574 ,    352
 ' 0:< Candidates (curIdx = -1):  
 'E 16-May-2020 21:31:53.489;   0:< 
 Jrn.LButtonUp    0 ,    574 ,    352
 ' 0:< Candidates (curIdx = -1):  
 ' 0:< ::70:: Delta VM: Avail 134119952 MB, Used 1102 MB; RAM: Avail -11 -> 8304 MB, Used 1227 MB 
 ' 0:< GUI Resource Usage GDI: Avail 8704, Used 1296, User: Used 1326 
 'E 16-May-2020 21:31:55.397;   0:< 
 Jrn.MouseMove    0 ,   1067 ,    377
 'E 16-May-2020 21:31:55.397;   0:< 
 Jrn.LButtonDown    1 ,   1067 ,    377
 ' 0:< Candidates (curIdx = -1):  
 'E 16-May-2020 21:31:55.569;   0:< 
 Jrn.LButtonUp    0 ,   1067 ,    377

Console Log

(0.0000) - Since Last Record = 0.0000 (%0.00) - Create Stopwatch
(0.0180) - Since Last Record = 0.0180 (%0.12) - Pre-initialize .net
(10.7070) - Since Last Record = 10.6890 (%69.61) - Post-initialize .net
(10.9720) - Since Last Record = 0.2650 (%1.73) - after create and load AppSettings
(10.9730) - Since Last Record = 0.0010 (%0.01) - before CRhWGLExtensions::InitWGLExtensions()
(11.2620) - Since Last Record = 0.2890 (%1.88) - after CRhWGLExtensions::InitWGLExtensions()
(11.2750) - Since Last Record = 0.0130 (%0.08) - construct CMainFrame
(11.7100) - Since Last Record = 0.4350 (%2.83) - after load CMainFrame
(12.7260) - Since Last Record = 1.0160 (%6.62) - after initialize license manager
(12.7680) - Since Last Record = 0.0420 (%0.27) - after loading of cursor resources
(12.7920) - Since Last Record = 0.0240 (%0.16) - after RegisterBuiltInCommands()
(12.8350) - Since Last Record = 0.0430 (%0.28) - Pre auto load plugins
(12.9040) - Since Last Record = 0.0690 (%0.45) - Toolbars
(12.9090) - Since Last Record = 0.0050 (%0.03) - RDK:CRhRdkRhinoPlugIn CTOR
(12.9110) - Since Last Record = 0.0020 (%0.01) - RDK:OnLoadPlugIn
(12.9170) - Since Last Record = 0.0060 (%0.04) - RDK:Initialize: start
(12.9170) - Since Last Record = 0.0000 (%0.00) - RDK:Initialize: after default registered properties
(12.9390) - Since Last Record = 0.0220 (%0.14) - RDK:Initialize: after default post effect plug-in factories
(12.9390) - Since Last Record = 0.0000 (%0.00) - RDK:Initialize: after adding internal extensions
(12.9390) - Since Last Record = 0.0000 (%0.00) - RDK:Initialize: after conduits
(12.9660) - Since Last Record = 0.0270 (%0.18) - RDK:Initialize: end
(12.9660) - Since Last Record = 0.0000 (%0.00) - RDK:OnLoadPlugIn: after RDK Initialize
(12.9660) - Since Last Record = 0.0000 (%0.00) - RDK:OnLoadPlugIn: after RDK OnLoadRhinoPlugIn
(12.9660) - Since Last Record = 0.0000 (%0.00) - RDK:OnLoadPlugIn - end
(13.0110) - Since Last Record = 0.0450 (%0.29) - Renderer Development Kit
(13.2660) - Since Last Record = 0.2550 (%1.66) - Commands
(13.2740) - Since Last Record = 0.0080 (%0.05) - Snapshots
(13.2880) - Since Last Record = 0.0140 (%0.09) - Rhino Render
(13.4000) - Since Last Record = 0.1120 (%0.73) - RDK_EtoUI
(13.4100) - Since Last Record = 0.0100 (%0.07) - Renderer Development Kit UI
(13.5100) - Since Last Record = 0.1000 (%0.65) - RhinoCycles
(13.5280) - Since Last Record = 0.0180 (%0.12) - 3Dconnexion 3D Mouse
(13.5370) - Since Last Record = 0.0090 (%0.06) - Displacement
(13.5950) - Since Last Record = 0.0580 (%0.38) - after create TabbedDockBarCollection
(13.5960) - Since Last Record = 0.0010 (%0.01) - after load default render engine
(13.5960) - Since Last Record = 0.0000 (%0.00) - after CloseAllDocuments
(13.5980) - Since Last Record = 0.0020 (%0.01) - before LoadToolBarsAndRestoreDockBarPositionAndStates
(13.6010) - Since Last Record = 0.0030 (%0.02) - Start of C# LoadToolBarFiles
(13.7020) - Since Last Record = 0.1010 (%0.66) -   - LoadToolBarFiles step 1
(13.7040) - Since Last Record = 0.0020 (%0.01) -   - Start TryLoadRuiFile: %APPDATA%\McNeel\Rhinoceros\7.0\UI\default.rui
(14.3190) - Since Last Record = 0.6150 (%4.00) -   - END TryLoadRuiFile
(14.3190) - Since Last Record = 0.0000 (%0.00) -   - LoadToolBarFiles step 2
(14.3610) - Since Last Record = 0.0420 (%0.27) - End of C# LoadToolBarFiles
(14.3610) - Since Last Record = 0.0000 (%0.00) - after  m_pCallbacks->LoadToolBarFiles
(14.3610) - Since Last Record = 0.0000 (%0.00) - after RunLoadToolbars
(14.6060) - Since Last Record = 0.2450 (%1.60) - after RunPostLoadToolBarsAndRestoreDockBarPositionAndStates
(14.6060) - Since Last Record = 0.0000 (%0.00) - after LoadToolBarsAndRestoreDockBarPositionAndStates
(14.6060) - Since Last Record = 0.0000 (%0.00) - before Process Shell Commands
(14.7380) - Since Last Record = 0.1320 (%0.86) - after Process Shell Commands
(15.3560) - Since Last Record = 0.6180 (%4.02) - CRhStopWatch::ShowReport()

Third-party Addons

⚠️ shows addons with known conflicts Addon data not collected

eirannejad commented 4 years ago

Moved to https://github.com/mcneel/rhino.inside-revit/issues/248