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 Noah Kantrowitz

Status: newassigned

comment:2 Changed 19 years ago by Noah Kantrowitz

Resolution: fixed
Status: assignedclosed

(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).

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Noah Kantrowitz.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.