<html><head><style type="text/css" media="screen">Body{font-family: Verdana;font-size:.75em;}h4{font-size:.9em;}a{color: #3a62a6;}.digest .toc {margin-bottom: 15px; padding-bottom:8px; border-bottom: 1px solid #ccc;}.digest .tocItem {margin-bottom: 15px;}.tocItem a{color:#000;text-decoration: none;}.tocItem a:hover{color: #3a62a6;text-decoration: underline;}.topic{padding-bottom: 8px;margin-bottom: 20px; border-bottom: 1px solid #ccc;}.topicHeader{margin-bottom:10px;}.topicTitle{font-weight: bold;}.replies p{margin:0;padding:0;}.replies hr{width: 15%;text-align: left;margin: 0 auto 5px 0;border: none 0;border-top: 1px solid #ccc;height: 1px;}.reply{margin-bottom: 6px;padding-bottom: 4px;}.anchorMarker{color: #3a62a6;}.footer{color: gray;}</style></head><body><div class="digest"><p>Hi ironpython,</p><p>Here's your Daily Digest of new issues for project "<a href="http://ironpython.codeplex.com/">IronPython</a>".</p><p>In today's digest:</p><h4>ISSUES</h4><div class="toc"><div class="tocItem"><a href="#toc_issue_1">1. <span class="tocTitle">[New issue] Misleading error message with clr.AddReferenceToFileAndPath on a UNC path</span> <span class="anchorMarker">↓</span></a></div></div><h4>ISSUES</h4><div class="topic"><a name="toc_issue_1"></a><div class="topicHeader"><span class="topicTitle">1. [New issue] Misleading error message with clr.AddReferenceToFileAndPath on a UNC path</span> <a href="http://ironpython.codeplex.com/workitem/31749">view online</a></div><p>User jperraud has proposed the issue:</p><p>"Trying to do something like:<br />>>> clr.AddReferenceToFileAndPath(r'\\somename\a\b\c\d\e.dll')<br />the IPY console reports:<br />IOError: System.IO.IOException: file does not exist: \\somename\a\b\c\d\e.dll<br /> at IronPython.Runtime.ClrModule.AddReferenceToFileAndPath(CodeContext context, String file) in c:\src\ironlanguages\m<br />ain\Languages\IronPython\IronPython\Runtime\ClrModule.cs:line 488<br /><br />The file definitely exists. Running ipy with debug symbols, it appears that a NotSupportedException exception is silently trapped in PythonContext. The message is much more useful and accurate and should be passed to the console:<br /><br />System.NotSupportedException occurred<br /> Message=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.<br /> Source=mscorlib<br /> StackTrace:<br /> at System.Reflection.RuntimeAssembly.nLoadFile(String path, Evidence evidence)<br /> at System.Reflection.Assembly.LoadFile(String path)<br /> at IronPython.Runtime.PythonContext.TryLoadAssemblyFromFileWithPath(String path, Assembly& res) in c:\src\ironlanguages\main\Languages\IronPython\IronPython\Runtime\PythonContext.cs:line 1348<br /> InnerException:"</p></div><div class="footer"><p>You are receiving this email because you subscribed to notifications on CodePlex.</p><p>To report a bug, request a feature, or add a comment, visit <a href="http://ironpython.codeplex.com/workitem/list/basic">IronPython Issue Tracker</a>. You can <a href="https://ironpython.codeplex.com/subscriptions/workitem/project/edit">unsubscribe or change your issue notification settings</a> on CodePlex.com.</p></div></div></body></html>