Closed GuyC64 closed 2 years ago
Hello GuyC64, thank you for submitting this issue! We are super excited that you want to help us make Dynamo all that it can be. However, we need some more information in order for the Dynamo team to investigate any further.
Can you please fill in the following to the best of your ability:
Additional information:
Dynamo Core 2.3.2.15696 Dynamo Revit 2.3.2.15724 Microsoft Windows 10 Professionnel : 10.0.19044 Numéro 19044
Some package do not work on my networks, ex.: I add the packages to a location in my network Message " Uh oh... something went wrong and Dynamo has crashed .... "
Could not load file or assembly 'file:///U:\Structure\CfgRevit-0Generale\Dynamo\Packages_GS\Data-Shapes_2022.2.103\bin\DataShapesUI.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark)
at System.Reflection.Assembly.LoadFrom(String assemblyFile)
at Dynamo.PackageManager.PackageLoader.TryLoadFrom(String filename, Assembly& assem)
at Dynamo.PackageManager.Package.EnumerateAssembliesInBinDirectory()
at Dynamo.PackageManager.PackageLoader.<>c.2.MoveNext() at System.Linq.Enumerable.WhereSelectEnumerableIterator
2.MoveNext()
at Dynamo.Models.DynamoModel.LibraryLoaded(Object sender, LibraryLoadedEventArgs e)
at System.EventHandler1.Invoke(Object sender, TEventArgs e) at Dynamo.Engine.LibraryServices.OnLibrariesImported(LibraryLoadedEventArgs e) at Dynamo.PackageManager.PackageLoader.LoadPackages(IEnumerable
1 packages)
at Dynamo.PackageManager.PackageLoader.LoadAll(LoadPackageParams loadPackageParams)
at Dynamo.PackageManager.PackageLoader.LoadCustomNodesAndPackages(LoadPackageParams loadPackageParams, CustomNodeManager customNodeManager)
at Dynamo.ViewModels.PackagePathViewModel.CommitChanges(Object param)
at Dynamo.Wpf.Views.PackageManager.PackagePathView.OnOkButtonClicked(Object sender, RoutedEventArgs e)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
@GuyC64 - Network paths with packages, especially complicated ones are not perfect. Do you get the same issue if you have packages located locally on your machine?
Given that there has been no additional information added, this issue will be closed for now. Please reopen and provide additional information if you wish the Dynamo team to investigate further.
Issue Description
Please fill in the following information to help us reproduce the issue:
What did you do?
Add Paths to read nodes and packages from " Settings / MAnage Node and Package Paths "
What did you expect to see?
May the new path work
What did you see instead?
Message " Uh oh... something went wrong and Dynamo has crashed .... "
What packages or external references (if any) were used?
The problem seems to come from .dll package " Data-Shapes ". -> Could not load file or assembly 'file:///U:\Structure\CfgRevit-0Generale\Dynamo\Packages_GS\Data-Shapes_2022.2.103\bin\DataShapesUI.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
Stack Trace
OS:
Microsoft Windows NT 10.0.19044.0
CLR:4.0.30319.42000
Dynamo:2.3.2.15696