nuno-faria / tiler

👷 Build images with images
MIT License
5.89k stars 423 forks source link

AttributeError: 'NoneType' object has no attribute 'shape' #28

Closed 0x112a closed 4 years ago

0x112a commented 4 years ago

Traceback (most recent call last): File "tiler.py", line 223, in main() File "tiler.py", line 216, in main tiles = load_tiles(tiles_paths) File "tiler.py", line 85, in load_tiles tile = read_image(os.path.join(path, tile_name)) File "tiler.py", line 34, in read_image if img.shape[2] == 3:

nuno-faria commented 4 years ago

Does the tiles folder provided contain only images?

DMora92 commented 4 years ago

Have the exact same issue, this error is happening with the provided tiles folder, already tried with different default tiles folders (the ones provided on this repository) and the error still happening

DMora92 commented 4 years ago

Found the issue! I entered the path to the folder and NOT the path to the image file! Sorry, but now you can provide a more accurate error message for this issue.

Thanks for the app!