Modify ↓
Opened 19 years ago
Closed 19 years ago
#205 closed defect (fixed)
Problems with wiki page names containing slashes (?)
Reported by: | anonymous | Owned by: | Noah Kantrowitz |
---|---|---|---|
Priority: | normal | Component: | WikiRenameScript |
Severity: | normal | Keywords: | |
Cc: | Trac Release: |
Description
yellowbastard ~ # ./RenamePage.py Perl/AtManager Small/atman.pl /home/lucas/burst.ath.cx/codelab/ Traceback (most recent call last): File "./RenamePage.py", line 54, in ? os.path.join(tracenv, 'attachments/wiki', newname)) File "/usr/lib/python2.4/os.py", line 201, in renames rename(old, new) OSError: [Errno 2] No such file or directory
I guess the script tries to copy files to a directory that doesnt exist... It should first try to mkdir all slash seperated parts of the wiki page name
Attachments (0)
Change History (2)
comment:1 Changed 19 years ago by
Status: | new → assigned |
---|
comment:2 Changed 19 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
(In [455]) Vastly improved version. Functionality is now encapsulated in a few function, making it easier to automate mass renames. Also the attachment moving glitch should be fixed (closes #205).