Antoine Pitrou <pit...@free.fr> added the comment: Le samedi 25 juillet 2009 à 12:35 +0000, David Roberts a écrit : > File "C:\Python26\lib\ntpath.py", line 97, in join > if path[-1] in "/\\": > IndexError: cannot fit 'int' into an index-sized integer
This is definitely fishy and shouldn't happen in such a line of code. Perhaps there is some deficient exception handling in one of the extension modules you are using. What if you remove calls to Image.open() (I assume it is the PIL library?) and simply return filenames instead of Image objects? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6562> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com