Ticket #5334 (closed defect: duplicate)
UNC paths from command line in trac-admin corrupted
| Reported by: | twoods-trac@… | Owned by: | cmlenz |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | admin/console | Version: | 0.10.4 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
On Windows, when using a UNC path with backslashes as an argument to trac-admin like the following:
python trac-admin \path\to\projenv hotcopy \\server\folder\path\to\backup
The following output is produced:
Hotcopying \path\to\projenv to \\\\server\\folder\\path\\to\\backup ...Command failed: [Errno 2] No such file or directory
Executing the hotcopy command within the trac-admin shell with the same path succeeds.
A workaround is to use forward slashes in place of the backslashes on the command line for the UNC path.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


