Thanks a lot.<br>The mailing list is working much better than the issue-tracker on CodePlex. I won&#39;t hesitate to report other issues that I&#39;ll notice. I already have an idea...<br><br><div class="gmail_quote">2009/1/15 Michael Foord <span dir="ltr">&lt;<a href="mailto:fuzzyman@voidspace.org.uk">fuzzyman@voidspace.org.uk</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">Dino Viehland wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
This is a bug – we're not adding references to mscorlib/System.dll when we run your app. You can just:<br>
<br>
import clr<br>
<br>
clr.AddReference('mscorlib')<br>
<br>
clr.AddReference('System')<br>
<br>
to your program. Alternately you could modify pyc.py to send these two strings in the references array to InitializeModule but that's more complex. I've filed a bug: <a href="http://www.codeplex.com/IronPython/WorkItem/View.aspx?WorkItemId=20623" target="_blank">http://www.codeplex.com/IronPython/WorkItem/View.aspx?WorkItemId=20623</a><br>

<br>
</blockquote>
<br></div>
Ahhh... that decision not to do this by default bites again. :-)<br>
<br>
Michael<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
*From:* <a href="mailto:users-bounces@lists.ironpython.com" target="_blank">users-bounces@lists.ironpython.com</a> [mailto:<a href="mailto:users-bounces@lists.ironpython.com" target="_blank">users-bounces@lists.ironpython.com</a>] *On Behalf Of *Renaud Durand<div class="Ih2E3d">
<br>
*Sent:* Thursday, January 15, 2009 9:14 AM<br>
*To:* <a href="mailto:users@lists.ironpython.com" target="_blank">users@lists.ironpython.com</a><br>
*Subject:* [IronPython] Issues with System members when using pyc.py<br>
<br>
Hi,<br>
<br>
I&#39;m new at IronPython and i&#39;m trying to compile a small app using pyc.py.<br>
When launched with the interpreter there&#39;s no issue. But when I launch the executable I get this :<br>
<br>
&gt; Unhandled Exception: System.MissingMemberException: &#39;namespace#&#39; object has no attribute &#39;DateTime&#39;<br>
<br>
or this while importing pySerial :<br>
<br>
&gt; Unhandled Exception: System.MissingMemberException: &#39;namespace#&#39; object has no attribute &#39;Array&#39;<br>
and<br>
&gt; Unhandled Exception: System.MissingMemberException: &#39;namespace#&#39; object has no attribute &#39;IO&#39;<br>
<br>
Does someone have an idea ? Where am I wrong ?<br>
<br>
Thanks.<br>
<br>
-- <br>
Renaud Durand<br>
<br></div>
------------------------------------------------------------------------<br>
<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>
 &nbsp;<br>
</blockquote>
<br>
<br>
-- <br>
<a href="http://www.ironpythoninaction.com/" target="_blank">http://www.ironpythoninaction.com/</a><br>
<a href="http://www.voidspace.org.uk/blog" target="_blank">http://www.voidspace.org.uk/blog</a><br>
<br>
<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><br clear="all"><br>-- <br>Renaud Durand<br>