[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
Sat May 3 23:54:17 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):

 I created a branch [https://github.com/daira/tahoe-lafs/commit/2235-long-
 paths-on-windows]. It results in the following failures of existing tests,
 some of which are obviously shallow. The others I haven't had time to
 investigate.
 {{{
 [FAIL]
 Traceback (most recent call last):
   File "c:\tahoe\git\trunk\src\allmydata\test\test_cli.py", line 389, in
 test_catalog_shares_error
     "didn't see 'error processing' in '%s'" % err)
 twisted.trial.unittest.FailTest: didn't see 'error processing' in ''

 allmydata.test.test_cli.CLI.test_catalog_shares_error
 ===============================================================================
 [FAIL]
 Traceback (most recent call last):
   File "c:\tahoe\git\trunk\src\allmydata\test\test_cli.py", line 3826, in
 test_basedir
     ".tahoe"))
   File "C:\Python27\lib\site-
 packages\twisted-12.2.0-py2.7-win32.egg\twisted\trial\unittest.py", lin
 e 271, in assertEqual
     % (msg, pformat(first), pformat(second)))
 twisted.trial.unittest.FailTest: not equal:
 a = u'\\\\?\\C:\\Documents and Settings\\David-Sarah\\.tahoe'
 b = 'C:\\Documents and Settings\\David-Sarah\\.tahoe'


 allmydata.test.test_cli.Options.test_basedir
 ===============================================================================
 [FAIL]
 Traceback (most recent call last):
   File "C:\tahoe\git\trunk\support\Lib\site-
 packages\mock-1.0.1-py2.7.egg\mock.py", line 1201, in pa
 tched
     return func(*args, **keywargs)
   File "c:\tahoe\git\trunk\src\allmydata\test\test_client.py", line 48, in
 test_error_on_old_config_
 files
     self.failUnlessIn(os.path.abspath(os.path.join(basedir,
 "introducer.furl")), e.args[0])
 twisted.trial.unittest.FailTest:
 'C:\\tahoe\\git\\trunk\\_trial_temp\\test_client.Basic.test_error_o
 n_old_config_files\\introducer.furl' not in
 set([u'\\\\?\\C:\\tahoe\\git\\trunk\\_trial_temp\\test_c
 lient.Basic.test_error_on_old_config_files\\readonly_storage',
 u'\\\\?\\C:\\tahoe\\git\\trunk\\_tria
 l_temp\\test_client.Basic.test_error_on_old_config_files\\introducer.furl',
 u'\\\\?\\C:\\tahoe\\git\
 \trunk\\_trial_temp\\test_client.Basic.test_error_on_old_config_files\\no_storage',
 u'\\\\?\\C:\\tah
 oe\\git\\trunk\\_trial_temp\\test_client.Basic.test_error_on_old_config_files\\debug_discard_storage
 '])

 allmydata.test.test_client.Basic.test_error_on_old_config_files
 ===============================================================================
 [FAIL]
 Traceback (most recent call last):
   File "c:\tahoe\git\trunk\src\allmydata\test\test_system.py", line 1374,
 in _test_runner
     self.failUnlessEqual(len(sharefiles), 10)
   File "C:\Python27\lib\site-
 packages\twisted-12.2.0-py2.7-win32.egg\twisted\trial\unittest.py", lin
 e 271, in assertEqual
     % (msg, pformat(first), pformat(second)))
 twisted.trial.unittest.FailTest: not equal:
 a = 0
 b = 10


 allmydata.test.test_system.SystemTest.test_filesystem
 ===============================================================================
 [FAIL]
 Traceback (most recent call last):
   File "c:\tahoe\git\trunk\src\allmydata\test\test_util.py", line 491, in
 test_abspath_expanduser_un
 icode
     self.failUnlessEqual(abspath_cwd, saved_cwd)
   File "C:\Python27\lib\site-
 packages\twisted-12.2.0-py2.7-win32.egg\twisted\trial\unittest.py", lin
 e 271, in assertEqual
     % (msg, pformat(first), pformat(second)))
 twisted.trial.unittest.FailTest: not equal:
 a = u'\\\\?\\C:\\tahoe\\git\\trunk\\_trial_temp'
 b = u'C:\\tahoe\\git\\trunk\\_trial_temp'


 allmydata.test.test_util.FileUtil.test_abspath_expanduser_unicode
 -------------------------------------------------------------------------------
 Ran 1137 tests in 878.831s

 FAILED (skips=15, expectedFailures=3, failures=5, successes=1114)
 }}}

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


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