glyphicons-sprite-generator icon indicating copy to clipboard operation
glyphicons-sprite-generator copied to clipboard

IndexError: list index out of range

Open jkriordan opened this issue 10 years ago • 3 comments

I'm using Windows 7. I'm running Python 2.7.10 with PIL version 1.1.7. sprite-generator.py is in C:\glyphicons_pro.

The following error appears momentarily when running the script.

error screenshot

jkriordan avatar Sep 16 '15 21:09 jkriordan

Looks like it's because it's run on windows. If you want to submit a PR, the fix is replacing the '/' directory separator with the value of os.pathsep.

gmr avatar Sep 17 '15 15:09 gmr

Commit 13f8edfd5 may fix it, please give it a try and let me know.

gmr avatar Sep 17 '15 15:09 gmr

Thanks for the quick attention!

I tried with Commit 13f8edf. Unfortunately it was unsuccessfully. Here's the error:

error screenshot

jkriordan avatar Sep 17 '15 15:09 jkriordan