Thanks for the reply Christian.<div><br></div><div>I have tracked down my issue - only occurring on French 2003 :-)</div><div><br></div><div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;Unable to translate bytes [E9] at index 16 from specified code page to Unicode.</div>
<div><br></div><div>Which is fair enough so I can toughen up the logging and move on.</div><div><br></div><div>Thanks,</div><div>Davy Mitchell</div><br><div class="gmail_quote">On Wed, Jan 14, 2009 at 12:11 PM, Christian Muirhead <span dir="ltr">&lt;<a href="mailto:christian.muirhead@resolversystems.com">christian.muirhead@resolversystems.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="Ih2E3d">Davy Mitchell wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I am running a simple script to configure IIS using System.DirectoryServices and it has been running well for months.<br>
The whole thing is wrapped in a try i.e.<br>
<br>
try:<br>
 &nbsp; &nbsp;...<br>
except Exception, inst:<br>
 &nbsp; &nbsp;... # write to log file.<br>
<br>
I&#39;ve had a single execution (trying to reproduce) that caused the script to stop mid-way thru but not record any exception. Now it could be the logging failed somehow but I am wondering if &#39;except Exception, inst&#39; is a suitable catch all??<br>

<br>
</blockquote>
<br></div>
Just to add - we&#39;ve seen this a few times as well. Our distributed build script very occasionally dies with an IronPython Console crash dialog despite try/excepts around all of the threads of execution. It took a long time to actually see what the error was - it looks like it was a .NET file system exception resulting from a call to shutil.copyfile (unfortunately I didn&#39;t manage to grab the text). The traceback was from &lt;somestream&gt;.Flush - we&#39;re copying files over a network which occasionally goes away, so that would make sense.<br>

<br>
(This is also IP 1.1.2 - haven&#39;t tried this with IP 2.)<br>
<br>
Christian<br>
<br>
-- <br>
Christian Muirhead<br>
Resolver Systems<br>
<a href="mailto:christian.muirhead@resolversystems.com" target="_blank">christian.muirhead@resolversystems.com</a><br>
<br>
<br>
Resolver Systems Ltd<br>
17a Clerkenwell Road, London EC1M 5RD, UK<br>
VAT No.: GB 893 5643 79 Registered in England and Wales as company number 5467329.<br>
Registered address: 843 Finchley Road, London NW11 8NA, UK<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.ironpython.com" target="_blank">Users@lists.ironpython.com</a><br>
<a href="http://lists.ironpython.com/listinfo.cgi/users-ironpython.com" target="_blank">http://lists.ironpython.com/listinfo.cgi/users-ironpython.com</a><br>
</blockquote></div><br></div>