<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Dear group,<DIV><DIV>Thanks for your excellent PyMate. Unfortunately I have started using shelve to save intermediate results and have found a bug. Try the following simplest script. (which uses the underlying problem pickle)</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Please can somebody check that the error below occurs on the minimum script that I have. I have copied the PyMate output below. I particularly want to know if I have corrupted my python bundle in some way.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>This script runs without error when using the normal textmate command</DIV><DIV>=============<DIV>import pickle</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>class testobject(object):</DIV><DIV>    pass</DIV><DIV>        </DIV><DIV>pickle.dumps(testobject())</DIV><DIV>=============</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 14px/normal Lucida Grande; background-color: rgb(203, 217, 240); min-height: 17px; "><BR></DIV><DIV style="text-align: right;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background-color: rgb(203, 217, 240); "><FONT class="Apple-style-span" color="#F95600" face="Lucida Grande" size="2"><SPAN class="Apple-style-span" style="font-size: 9.3px;"><B>HIDE STDERR</B></SPAN></FONT><FONT class="Apple-style-span" face="Lucida Grande" size="2"><SPAN class="Apple-style-span" style="font-size: 9.3px;"><B> </B></SPAN></FONT><FONT class="Apple-style-span" face="Lucida Grande" size="4"><SPAN class="Apple-style-span" style="font-size: 14px;"><B>SHOW STDERR</B></SPAN></FONT></DIV><DIV style="text-align: auto;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background-color: rgb(203, 217, 240); "><FONT class="Apple-style-span" face="Lucida Grande" size="4"><SPAN class="Apple-style-span" style="font-size: 14px;"><B>Python 2.4.3 - PyMate r5848</B></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 14px/normal Lucida Grande; background-color: rgb(203, 217, 240); min-height: 17px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background-color: rgb(203, 217, 240); "><FONT class="Apple-style-span" face="Lucida Grande" size="3"><SPAN class="Apple-style-span" style="font-size: 11.7px;">For comments contact </SPAN></FONT><A href="mailto:domenico.carbotta@gmail.com?subject=Python%202.4.3%20-%20PyMate%20r5848"><FONT class="Apple-style-span" face="Lucida Grande" size="3"><SPAN class="Apple-style-span" style="font-size: 11.7px;"><FONT class="Apple-style-span" color="#265A88">the author</FONT></SPAN></FONT></A><FONT class="Apple-style-span" face="Lucida Grande" size="3"><SPAN class="Apple-style-span" style="font-size: 11.7px;">.</SPAN></FONT><FONT class="Apple-style-span" face="Lucida Grande" size="3"><SPAN class="Apple-style-span" style="font-size: 11.7px;"> </SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background-color: rgb(203, 217, 240); "><FONT class="Apple-style-span" face="Lucida Grande" size="3"><SPAN class="Apple-style-span" style="font-size: 11.7px;">The regular Python interpreter can be invoked using ⌘⇧R.</SPAN></FONT><FONT class="Apple-style-span" face="Lucida Grande" size="3"><SPAN class="Apple-style-span" style="font-size: 11.7px;"> </SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 14px/normal Lucida Grande; background-color: rgb(203, 217, 240); min-height: 17px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 14px/normal Lucida Grande; background-color: rgb(203, 217, 240); min-height: 17px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background-color: rgb(203, 217, 240); "><FONT class="Apple-style-span" color="#30569D" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 10.7px;">>>> shelvetest.py</SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10.7px/normal Monaco; background-color: rgb(203, 217, 240); min-height: 15px; "><SPAN class="Apple-style-span" style="line-height: 16px;"><BR></SPAN></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 14px/normal Monaco; background-color: rgb(203, 217, 240); min-height: 19px; "><SPAN class="Apple-style-span" style="line-height: 16px;"><BR></SPAN></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background-color: rgb(203, 217, 240); "><SPAN class="Apple-style-span" style="line-height: 16px;"><FONT class="Apple-style-span" color="#F95600" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 10.7px; line-height: normal;">forcing redraw!!!</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 10.7px; line-height: normal;"> don't remove</SPAN></FONT></SPAN></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background-color: rgb(186, 207, 240); "><FONT class="Apple-style-span" color="#D60600" face="Lucida Grande"><B>PicklingError</B></FONT><FONT class="Apple-style-span" face="Lucida Grande">: ("Can't pickle : it's not found as __main__.testobject",)</FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background-color: rgb(186, 207, 240); "><FONT class="Apple-style-span" face="Lucida Grande" size="3"><SPAN class="Apple-style-span" style="font-size: 10.7px;">Traceback:</SPAN></FONT></DIV><TABLE cellspacing="0" cellpadding="0" style="margin: 0.0px 40.0px 0.0px 40.0px; padding: 2.0px 0.0px 2.0px 0.0px"><TBODY><TR><TD valign="middle" style="width: 141.0px; padding: 0.0px 2.0px 0.0px 2.0px"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Lucida Grande">function </FONT><A href="txmt://open?url=file:///Users/nigelk/PipingHotNetworks/Sprint/Chicago/shelvetest.py&line=6"><FONT class="Apple-style-span" color="#265A88"><I>module body</I></FONT></A></DIV></TD><TD valign="middle" style="width: 151.0px; padding: 0.0px 2.0px 0.0px 2.0px"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Lucida Grande">in </FONT><FONT class="Apple-style-span" face="Lucida Grande"><B>shelvetest.py</B></FONT><FONT class="Apple-style-span" face="Lucida Grande"> at line 6</FONT></DIV></TD></TR><TR><TD valign="middle" style="width: 141.0px; padding: 0.0px 2.0px 0.0px 2.0px"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Lucida Grande">function </FONT><A href="txmt://open?url=file:///sw/lib/python2.4/pickle.py&line=1386"><FONT class="Apple-style-span" face="Lucida Grande"><FONT class="Apple-style-span" color="#B33D00">dumps ⎋</FONT></FONT></A></DIV></TD><TD valign="middle" style="width: 151.0px; padding: 0.0px 2.0px 0.0px 2.0px"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Lucida Grande">in </FONT><FONT class="Apple-style-span" face="Lucida Grande"><B>pickle.py</B></FONT><FONT class="Apple-style-span" face="Lucida Grande"> at line 1386</FONT></DIV></TD></TR><TR><TD valign="middle" style="width: 141.0px; padding: 0.0px 2.0px 0.0px 2.0px"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Lucida Grande">function </FONT><A href="txmt://open?url=file:///sw/lib/python2.4/pickle.py&line=231"><FONT class="Apple-style-span" face="Lucida Grande"><FONT class="Apple-style-span" color="#B33D00">dump ⎋</FONT></FONT></A></DIV></TD><TD valign="middle" style="width: 151.0px; padding: 0.0px 2.0px 0.0px 2.0px"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Lucida Grande">in </FONT><FONT class="Apple-style-span" face="Lucida Grande"><B>pickle.py</B></FONT><FONT class="Apple-style-span" face="Lucida Grande"> at line 231</FONT></DIV></TD></TR><TR><TD valign="middle" style="width: 141.0px; padding: 0.0px 2.0px 0.0px 2.0px"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Lucida Grande">function </FONT><A href="txmt://open?url=file:///sw/lib/python2.4/pickle.py&line=338"><FONT class="Apple-style-span" face="Lucida Grande"><FONT class="Apple-style-span" color="#B33D00">save ⎋</FONT></FONT></A></DIV></TD><TD valign="middle" style="width: 151.0px; padding: 0.0px 2.0px 0.0px 2.0px"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Lucida Grande">in </FONT><FONT class="Apple-style-span" face="Lucida Grande"><B>pickle.py</B></FONT><FONT class="Apple-style-span" face="Lucida Grande"> at line 338</FONT></DIV></TD></TR><TR><TD valign="middle" style="width: 141.0px; padding: 0.0px 2.0px 0.0px 2.0px"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Lucida Grande">function </FONT><A href="txmt://open?url=file:///sw/lib/python2.4/pickle.py&line=415"><FONT class="Apple-style-span" face="Lucida Grande"><FONT class="Apple-style-span" color="#B33D00">save_reduce ⎋</FONT></FONT></A></DIV></TD><TD valign="middle" style="width: 151.0px; padding: 0.0px 2.0px 0.0px 2.0px"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Lucida Grande">in </FONT><FONT class="Apple-style-span" face="Lucida Grande"><B>pickle.py</B></FONT><FONT class="Apple-style-span" face="Lucida Grande"> at line 415</FONT></DIV></TD></TR><TR><TD valign="middle" style="width: 141.0px; padding: 0.0px 2.0px 0.0px 2.0px"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Lucida Grande">function </FONT><A href="txmt://open?url=file:///sw/lib/python2.4/pickle.py&line=293"><FONT class="Apple-style-span" face="Lucida Grande"><FONT class="Apple-style-span" color="#B33D00">save ⎋</FONT></FONT></A></DIV></TD><TD valign="middle" style="width: 151.0px; padding: 0.0px 2.0px 0.0px 2.0px"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Lucida Grande">in </FONT><FONT class="Apple-style-span" face="Lucida Grande"><B>pickle.py</B></FONT><FONT class="Apple-style-span" face="Lucida Grande"> at line 293</FONT></DIV></TD></TR><TR><TD valign="middle" style="width: 141.0px; padding: 0.0px 2.0px 0.0px 2.0px"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Lucida Grande">function </FONT><A href="txmt://open?url=file:///sw/lib/python2.4/pickle.py&line=576"><FONT class="Apple-style-span" face="Lucida Grande"><FONT class="Apple-style-span" color="#B33D00">save_tuple ⎋</FONT></FONT></A></DIV></TD><TD valign="middle" style="width: 151.0px; padding: 0.0px 2.0px 0.0px 2.0px"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Lucida Grande">in </FONT><FONT class="Apple-style-span" face="Lucida Grande"><B>pickle.py</B></FONT><FONT class="Apple-style-span" face="Lucida Grande"> at line 576</FONT></DIV></TD></TR><TR><TD valign="middle" style="width: 141.0px; padding: 0.0px 2.0px 0.0px 2.0px"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Lucida Grande">function </FONT><A href="txmt://open?url=file:///sw/lib/python2.4/pickle.py&line=293"><FONT class="Apple-style-span" face="Lucida Grande"><FONT class="Apple-style-span" color="#B33D00">save ⎋</FONT></FONT></A></DIV></TD><TD valign="middle" style="width: 151.0px; padding: 0.0px 2.0px 0.0px 2.0px"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Lucida Grande">in </FONT><FONT class="Apple-style-span" face="Lucida Grande"><B>pickle.py</B></FONT><FONT class="Apple-style-span" face="Lucida Grande"> at line 293</FONT></DIV></TD></TR><TR><TD valign="middle" style="width: 141.0px; padding: 0.0px 2.0px 0.0px 2.0px"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Lucida Grande">function </FONT><A href="txmt://open?url=file:///sw/lib/python2.4/pickle.py&line=760"><FONT class="Apple-style-span" face="Lucida Grande"><FONT class="Apple-style-span" color="#B33D00">save_global ⎋</FONT></FONT></A></DIV></TD><TD valign="middle" style="width: 151.0px; padding: 0.0px 2.0px 0.0px 2.0px"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Lucida Grande">in </FONT><FONT class="Apple-style-span" face="Lucida Grande"><B>pickle.py</B></FONT><FONT class="Apple-style-span" face="Lucida Grande"> at line 760</FONT></DIV></TD></TR></TBODY></TABLE><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Thanks<BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV>---</DIV><DIV>Nigel King</DIV></SPAN></DIV><BR></DIV></DIV><DIV><BR class="khtml-block-placeholder"></DIV></DIV></BODY></HTML>