homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author cgohlke
Recipients cgohlke
Date 2009年07月12日.20:22:41
SpamBayes Score 5.551115e-16
Marked as misclassified No
Message-id <1247430164.29.0.0724763544583.issue6470@psf.upfronthosting.co.za>
In-reply-to
Content
On Windows Vista 64-bit, when running Python 2.6.2 (32 or 64 bit) from a
network share, e.g. \\Server\Share\python26\python.exe,
importing Tkinter fails with "WindowsError: [Error 3] The system cannot
find the path specified". See session output below for traceback.
This is due to incomplete support for long UNC (UNCW) paths such as
\\?\UNC\Server\Share\File in FixTk.py. 
The attached patch solves this issue.
-Christoph
C:\>\\server\share\python26\python.exe
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit
(Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from Tkinter import *
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
 File "\\server\share\python26\lib\lib-tk\Tkinter.py", line 38, in <module>
 import FixTk
 File "\\server\share\python26\lib\lib-tk\FixTk.py", line 59, in <module>
 for name in os.listdir(prefix):
WindowsError: [Error 3] The system cannot find the path specified:
u'UNC\\server\\share\\Python26\\tcl\\*.*'
History
Date User Action Args
2009年07月12日 20:22:44cgohlkesetrecipients: + cgohlke
2009年07月12日 20:22:44cgohlkesetmessageid: <1247430164.29.0.0724763544583.issue6470@psf.upfronthosting.co.za>
2009年07月12日 20:22:42cgohlkelinkissue6470 messages
2009年07月12日 20:22:41cgohlkecreate

AltStyle によって変換されたページ (->オリジナル) /