Ticket #1275 (closed assessed: fixed)

Opened 11 years ago

Last modified 9 years ago

Plug-ins do not load

Reported by: kimdem Owned by: jeroens
Priority: high Milestone: Ecopath 6: future version
Component: Overall Plugins Version: 6.3.1
Severity: major Keywords:
Cc:

Description

My machine cannot find any EwE plug-ins. I am running EwE on Windows via Parallels on a Mac

Change History

comment:1 Changed 11 years ago by jeroens

The EwE log file (when set to providing detailed debug information in Tools > Options > General) shows that the plug-ins are searched at paths like


psf\Home\Documents\...\EwENetworkAnalysis.dll

This means that EwE executable directory is resolved to a network path, which results in the following error:

An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information.

comment:2 Changed 11 years ago by jeroens

The EwE plug-in code resolves the local plug-ins path to absolute paths. This attempt to do things neatly is actually backfiring: assemblies cannot be loaded across the network!

comment:3 Changed 10 years ago by jeroens

Still working on this; trying to load untrusted assemblies with full access rights through the EwE plug-in manager. Fun times.

comment:4 Changed 10 years ago by jeroens

  • Summary changed from Plug-ins cannot be found to Plug-ins do not load

comment:5 Changed 10 years ago by jeroens

  • Milestone changed from Ecopath 6: release 6.4 BETA to Ecopath 6: future version

comment:6 Changed 9 years ago by jeroens

  • Status changed from new to closed
  • Resolution set to fixed

Managed to load untrusted plug-ins in a local sandbox. This solves most issues, such as experienced with downloaded plug-ins (shown as 'blocked' in Windows Explorer). Closing this ticket for now.

Note: See TracTickets for help on using tickets.