[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2329: cp -r stops with an exception

Tahoe-LAFS trac at tahoe-lafs.org
Tue Jan 27 08:21:34 UTC 2015


#2329: cp -r stops with an exception
-------------------------+-------------------------------------------------
     Reporter:  zooko    |      Owner:  warner
         Type:  defect   |     Status:  assigned
     Priority:  major    |  Milestone:  1.10.1
    Component:  code-    |    Version:  1.10.0
  frontend-cli           |   Keywords:  regression tahoe-cp review-needed
   Resolution:           |  release-blocker
Launchpad Bug:           |
-------------------------+-------------------------------------------------

Comment (by warner):

 Ok, here's the current state of affairs:

 * `cp -r X local/`, where `local` already exists:

 ||= X           =||= 1.10          =||= trunk(e73d76e)     =||= new? =||
 || PARENTCAP/dir || (A1) local/file || (F1) local/dir/file  ||        ||
 || DIRCAP        || (B1) local/file || (G1) EXCEPTION-1     ||        ||
 || DIRCAP_ALIAS: || (C1) local/file || (H1) EXCEPTION-1     ||        ||
 || -             ||                 ||                      ||        ||
 || DIRCAP/file   || (D1) local/file || (I1) local/file      ||        ||
 || FILECAP       || (E1) ERROR-2    || (J1) ERROR-2         ||        ||

 * `cp -r X local/missing`, where `local` exists but `missing` does not:

 ||= X           =||= 1.10                  =||= trunk(e73d76e)
 =||= new? =||
 || PARENTCAP/dir || (A2) local/missing/file || (F2) local/missing/dir/file
 ||        ||
 || DIRCAP        || (B2) local/missing/file || (G2) EXCEPTION-1
 ||        ||
 || DIRCAP_ALIAS: || (C2) local/missing/file || (H2) EXCEPTION-1
 ||        ||
 || -             ||                         ||
 ||        ||
 || DIRCAP/file   || (D2) local/missing/file || (I2) local/missing/file
 ||        ||
 || FILECAP       || (E2) EXCEPTION-3        || (J2) EXCEPTION-3
 ||        ||

 * EXCEPTION-1: `build_graphs()`, `NoneType has no attribute startswith`
 * ERROR-2: `error: you must specify a destination filename`
 * EXCEPTION-3: `put_file()` line 156, `name` is None but precondition
 requires `isinstance(unicode)`

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


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