I am trying to use curator 2.0 on Win2000 with Python-
2.2.
Am getting the following error though from line 342.
....
File "d:\tools\curator-2.0\curator", line 342, in html_join
p = apply( joinpath, ( a, ) + p )
File "d:\tools\curator-2.0\curator", line 342, in html_join
p = apply( joinpath, ( a, ) + p )
File "d:\tools\curator-2.0\curator", line 342, in html_join
p = apply( joinpath, ( a, ) + p )
File "d:\tools\curator-2.0\curator", line 342, in html_join
p = apply( joinpath, ( a, ) + p )
RuntimeError: maximum recursion depth exceeded
In the code I see a coment before this line:
# Hopefully, all paths will at some time have gone
through this, it should
# work under Windows.
I guess it does not work on Windows :(
Is there a work around I can do to prevent this?
Regards,
Nick.
PS. I call curator like so:
c:\Programme\Python\python.exe d:\tools\curator-2.0
\curator --magick-path
d:/tools/ImageMagick/ImageMagick-5.5.5
or just "curator.py" in the image directory.
Still get the same error.
Logged In: YES
user_id=94107
This comes from the definition of html_join. Right after
that function there is an if statement and assignment that
assigns joinpath to be html_join. But since html_join calls
joinpath, that recurses forever.
I've worked around this by replacing the joinpath in
html_join with os.path.join, but I suspect that this is
going to lead to other problems. But I think these are
going to be easy enough to fix - the only place where the
DOS \ seems to be required is where dos paths are given to
commands (ie "identify") and these are limited and easy to fix.