[ python-Bugs-1504998 ] under Windows XP, os.walk problem with path >256? chars

SourceForge.net noreply at sourceforge.net
Tue Jun 13 10:34:37 CEST 2006


Bugs item #1504998, was opened at 2006-06-12 13:34
Message generated for change (Comment added) made by nnorwitz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1504998&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Mike Coleman (mkc)
Assigned to: Nobody/Anonymous (nobody)
Summary: under Windows XP, os.walk problem with path >256? chars

Initial Comment:
Under Windows XP, when using os.walk to walk a tree, I
get an error message for a path of 256+ characters.

The error looks like 

error listing directory [[Errno 206] The filename or
extension is too long: <omitted>

The path in question is 12 directories deep, if that
matters.  The Windows 'dir' command also doesn't like
this path because of its length, but it seems like
there ought to be a way to walk it.



----------------------------------------------------------------------

>Comment By: Neal Norwitz (nnorwitz)
Date: 2006-06-13 01:34

Message:
Logged In: YES 
user_id=33168

I'm not sure, but this may have been fixed in Python 2.5. 
There should be a shiny new beta coming out in the next
couple of days.  I believe alpha 2 also has the fix
(assuming that beta 1 has it and I'm not remembering some
other change).

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1504998&group_id=5470


More information about the Python-bugs-list mailing list