lowercaseDir.py not working?
Philipp Stader
me at ph1l.de
Tue Dec 27 08:31:35 EST 2005
Hi,
anyone else experiences this problem? I just uploaded some custom maps
and tried to the run the script.
python lowercaseDir.py /home/bf2/bf2/mods/
Traceback (most recent call last):
File "lowercaseDir.py", line 62, in ?
os.path.walk(directory, visit, args)
File "/usr/lib/python2.4/posixpath.py", line 298, in walk
walk(name, func, arg)
File "/usr/lib/python2.4/posixpath.py", line 298, in walk
walk(name, func, arg)
File "/usr/lib/python2.4/posixpath.py", line 290, in walk
func(arg, top, names)
File "lowercaseDir.py", line 35, in visit
os.rename(os.path.join(dirname, x), os.path.join(dirname, low))
OSError: [Errno 39] Directory not empty
python
Python 2.4.2 (#1, Oct 14 2005, 11:55:58)
[GCC 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
All help appreciated. I don't feel like renaming everything by hand and
am not the shell magician i'd love to be.
Kind regards from Germany
Phil
More information about the Bf1942
mailing list