Archaeopteryx Software, Inc.
Take Flight!Search

Wing IDE
About Us
Open Source

 Advanced Search

[wingide-users] 1.1b4 startup failure on NT

Stephan R.A. Deibel
Tue, 1 May 2001 16:15:05 -0400 (EDT)


It looks like we may be getting a bad file name from tempfile.mktemp():
'g:\temp\\~200-1'... should be 'g:\\temp\\~200-1'.  I've been suspicious
that Python 1.5.2's tempfile.mktemp() does not work correctly on Windows.

Just for sanity, could you check whether g:\temp exists on your machine
and is writeable to the user under which you're running Wing?

Meanwhile, I'll try to create a patch that fixes this.


- Stephan

Archaeopteryx Software, Inc.                        Wing IDE for Python                               Take Flight!

On Tue, 1 May 2001, Andrew Malcolmson wrote:

> On Win NT4, Wing starts, shows the Slash Screen, the Project Manager and
> the main editing window, and then dies.
> The console output with debugging on is:
> Running Wing IDE with Python version 1.5.2
> Read preferences from E:\apps\wing\preferences
> Read preferences from E:\apps\wing\profiles\Andrew\preferences
> Wing IDE version is 1.1b4 build 1
> kWingHome set to E:\apps\wing
> kUserWingDir set to E:\apps\wing\profiles\Andrew
> Warning: WINGHOME not in user registry; err=2
> WINGHOME IS E:\apps\wing
> Traceback (most recent call last):
>   File "<string>", line 1, in ?
> IOError: [Errno 22] Invalid argument: 'g:\temp\\~200-1'
> Traceback (innermost last):
>   File "E:\apps\wing\bin\", line 88, in ?
>     main.main(orig_execpath, orig_libpath)
>   File "E:\apps\wing\bin\1.5.2\src\main.pyo", line 741, in main
>   File "/src/ide\bin\1.5.2\src\browser\manager.pyo", line 434, in
> ResumePythonPathCha
> nges
>   File "/src/ide\bin\1.5.2\src\browser\manager.pyo", line 489, in
> __PythonPathChange
>   File "/src/ide\bin\1.5.2\src\browser\manager.pyo", line 449, in
> GetAnalysisStats
>   File "/src/ide\bin\1.5.2\src\proj\project.pyo", line 545, in
> GetEffectivePythonExec
>   File "/src/ide\bin\1.5.2\src\util\reflect.pyo", line 558, in FindPython
>   File "/src/ide\bin\1.5.2\src\util\reflect.pyo", line 290, in
> GetPythonExecFullPath
>   File "/src/ide\bin\1.5.2\src\util\reflect.pyo", line 327, in
> _RunInOtherPythonInter
> p
> IOError: [Errno 2] No such file or directory: 'g:\\temp\\~200-1'
> I've tried creating temp directories in my 'c:' partition and in the
> partition from which wing is running.
> Any ideas anyone?
> Andrew Malcolmson

Run by Mailman v 2.0.8

Copyright (c) 2000-2002, Archaeopteryx Software, Inc.
Legal Statements