<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Thanks for reporting the issue – I’ll take a look.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">For the Wait for input when process exits, I’m assuming you’re using .NET debugging. You could go to project properties and switch to Python debugging and
this option will be respected. Unfortunately there’s no way for us to enable it for .NET debugging because the debugger simply doesn’t support it. But you can execute w/o debugging and we will wait then – that might be easier than adding –i.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">As for the exception, is DPStudio a plugin you have installed?
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"> ironpython-users-bounces+dinov=microsoft.com@python.org
[mailto:ironpython-users-bounces+dinov=microsoft.com@python.org] <b>On Behalf Of
</b>Lukas Cenovsky<br>
<b>Sent:</b> Tuesday, July 12, 2011 12:02 PM<br>
<b>To:</b> ironpython-users@python.org<br>
<b>Subject:</b> [Ironpython-users] PyTools Set as Startup File bug<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Dino,<br>
thanks for the new Pytools release. <br>
<br>
It looks like the <i>Set as Startup File</i> command is broken in RC1. When I click
<i>Set as Startup File</i> for any file deeper than project folder, the project folder is added to the startup file (e. g.
<tt><span style="font-size:10.0pt">MyProject\tests\testOne.py</span></tt> instead of
<tt><span style="font-size:10.0pt">tests\testOne.py</span></tt>) path causing the file is not found when the project is run (<a href="http://pytools.codeplex.com/workitem/351">http://pytools.codeplex.com/workitem/351</a>).<br>
<br>
The above error combined with <i>Wait for input when process exits ...</i> options not working is quite annoying - I had to use capturing screen program to be able to find out the error message. I have workarounded this issue with manually adding
<tt><span style="font-size:10.0pt">-i</span></tt> to Debug Interpreter Arguments of my project. How should the
<i>Wait ...</i> option work?<br>
<br>
Also right click on any python file in Solution explorer throws the following error into output window:<br>
<br>
<tt><span style="font-size:10.0pt">Exception Type: System.ArgumentException</span></tt><span style="font-size:10.0pt;font-family:"Courier New""><br>
<tt>Exception Message: InvalidParameter</tt><br>
<tt>Parameter name: index</tt><br>
<tt>Exception Stack Trace: at Microsoft.PythonTools.Project.Automation.OAProperties.Item(Object index)</tt><br>
<tt> at DPStudio.VSCommands.Features.MenuCommands.UngroupItemsCommand.#jr(SelectedItem i)</tt><br>
<tt> at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()</tt><br>
<tt> at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)</tt><br>
<tt> at DPStudio.VSCommands.Features.MenuCommands.UngroupItemsCommand.#1i()</tt><br>
<tt> at #U.#W.#Vi()</tt><br>
<br>
<tt>Exception Type: System.ArgumentException</tt><br>
<tt>Exception Message: InvalidParameter</tt><br>
<tt>Parameter name: index</tt><br>
<tt>Exception Stack Trace: at Microsoft.PythonTools.Project.Automation.OAProperties.Item(Object index)</tt><br>
<tt> at #9f.#mg.#0w(ProjectItem me)</tt><br>
</span><br>
Not sure whether this is Python Tools bug...<br>
<br>
--<br>
-- Lukáš<o:p></o:p></p>
</div>
</div>
</body>
</html>