[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2235: Error from 'tahoe cp' on Windows, possibly due to a long path (IOError: Errno2 - no such file or dir.)

Tahoe-LAFS trac at tahoe-lafs.org
Wed Apr 30 00:15:24 UTC 2014


#2235: Error from 'tahoe cp' on Windows, possibly due to a long path (IOError:
Errno2 - no such file or dir.)
--------------------------------+------------------------------------------
     Reporter:  CyberAxe        |      Owner:  daira
         Type:  defect          |     Status:  new
     Priority:  normal          |  Milestone:  undecided
    Component:  code-frontend-  |    Version:  1.10.0
  cli                           |   Keywords:  tahoe-cp error windows win32
   Resolution:                  |
Launchpad Bug:                  |
--------------------------------+------------------------------------------

Comment (by daira):

 [http://bugs.python.org/issue18199]. This will not be fixed in Python 2.x,
 so the only way for us to work around it is either to:
 a. chdir to each subdirectory in turn using relative paths (this changes
 the limitation to 259 characters per directory component);
 b. on Windows, use the Win32 API functions with the "`\\?\`" prefix
 directly via `ctypes` or similar.

 b. seems like too much work.

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2235#comment:3>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list