<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Alex,<DIV>Thank you very much. It seems that if you modify any of a bundle the bundle does not update on a new version of textmate which I had not realised.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Thanks again</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Nigel<DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR><DIV><DIV>On 5 Jan 2007, at 08:29, Alexander Ross wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">Nigel,<DIV><BR class="khtml-block-placeholder"></DIV><DIV>You are using a very old copy of the Python bundle.  I was able to run your test case on the latest version.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Are you using your own copy of the Python Bundle?  If so, check the directories "~/Library/Application Support/TextMate/Bundles" and "/Library/Application Support/TextMate/Bundles" for copies of Python.tmbundle.  If they are there, just remove them.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Also, are you using a cutting-edge build of TextMate?  You can upgrade to the latest version through the preferences panel.  Go to "Software Update", and change "Watch for:" to "Cutting-Edge".</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Hope this helps,</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>– Alex</DIV><DIV><BR><DIV><DIV>On Jan 5, 2007, at 12:21 AM, Nigel King wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">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><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">______________________________________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">For new threads USE THIS: <A href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">(threading gets destroyed and the universe will collapse if you don't)</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://lists.macromates.com/mailman/listinfo/textmate">http://lists.macromates.com/mailman/listinfo/textmate</A></DIV> </BLOCKQUOTE></DIV><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">______________________________________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">For new threads USE THIS: <A href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">(threading gets destroyed and the universe will collapse if you don't)</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://lists.macromates.com/mailman/listinfo/textmate">http://lists.macromates.com/mailman/listinfo/textmate</A></DIV> </BLOCKQUOTE></DIV><BR></DIV></DIV>
<BR>
______________________________________________________________________<BR>
This email has been scanned by the MessageLabs Email Security System.<BR>
For more information please visit http://www.messagelabs.com/email <BR>
______________________________________________________________________<BR>
</BODY></HTML>