Opened 12 years ago

Closed 12 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:


yellowbastard ~ # ./ Perl/AtManager Small/ /home/lucas/
Traceback (most recent call last):
  File "./", line 54, in ?
    os.path.join(tracenv, 'attachments/wiki', newname))
  File "/usr/lib/python2.4/", 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 12 years ago by Noah Kantrowitz

Status: newassigned

comment:2 Changed 12 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
as closed The owner will remain Noah Kantrowitz.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.