Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <013f01c26ef5$197dc170$40cf5380@cvis.psy.utexas.edu> From: "Jeff Perry" To: Subject: Can't run NumTut on cygwin-hosted python Date: Tue, 8 Oct 2002 13:04:09 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 When I try to run the NumTut demo in Numeric in my cygwin hosted python, I get a tclerror: "/c/winnt/temp/@1536.0.ppm": no such file or directory. But the file does indeed exist. At first glance it seems like a problem with cygwin mapping WinNT paths to POSIX paths, but I have played around with the environment variable that controls where this tempfile goes, and I am beginning to think that the problem lies somewhere else. All the other Numeric tests work, and all my tkinter demos run OK. Not sure what to try next. Any suggestions? Trace follows: Python 2.2.1 (#1, Jun 25 2002, 10:55:46) [GCC 2.95.3-5 (cygwin special)] on cygwin Type "help", "copyright", "credits" or "license" for more information. >>> from NumTut import * >>> view(greece) Exception in thread Thread-1: Traceback (most recent call last): File "/tmp/python.576/usr/lib/python2.2/threading.py", line 408, in __bootstra p self.run() File "NumTut/view.py", line 171, in run u = PPMImage(tl, array2ppm(image), scales) File "NumTut/view.py", line 136, in __init__ self.image = Tkinter.PhotoImage(file=save_ppm(ppm)) File "/tmp/python.576/usr/lib/python2.2/lib-tk/Tkinter.py", line 2997, in __in it__ apply(Image.__init__, (self, 'photo', name, cnf, master), kw) File "/tmp/python.576/usr/lib/python2.2/lib-tk/Tkinter.py", line 2953, in __in it__ self.tk.call(('image', 'create', imgtype, name,) + options) TclError: couldn't open "/c/winnt/temp/@1536.0.ppm": no such file or directory -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/