Modify

Opened 9 years ago

Closed 9 years ago

#205 closed defect (fixed)

Problems with wiki page names containing slashes (?)

Reported by: anonymous Owned by: coderanger
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 9 years ago by coderanger

  • Status changed from new to assigned

comment:2 Changed 9 years ago by coderanger

  • Resolution set to fixed
  • Status changed from assigned to closed

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

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.