Valified_Code_Classify icon indicating copy to clipboard operation
Valified_Code_Classify copied to clipboard

Error: Run "python /Image_Disposal/Image_Disposal.py"

Open finch0001 opened this issue 5 years ago • 1 comments

C:\Users\xxx>python D:\Code\Python\Valified_Code_Classify\Image_Disposal\Imag e_Disposal.py

... ... picture 27 picture 28 picture 29 picture 30 Traceback (most recent call last): File "D:\Code\Python\Valified_Code_Classify\Image_Disposal\Image_Disposal.py" line 14, in Crop.Crop(pic, save_path, i) File "D:\Code\Python\Valified_Code_Classify\Image_Disposal\Crop.py", line 22, in Crop file = save_address + "\" + str(amount) + "_" + save_name[num] + ".jpg" IndexError: string index out of range

finch0001 avatar Dec 02 '19 08:12 finch0001

Make sure that length of tag(save_name) is equal to the number of characters

SymphonyPy avatar Dec 02 '19 08:12 SymphonyPy