New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: 'NoneType' object has no attribute 'shape' #33
Comments
Does the folder |
yes |
Add this line to the function |
It is giving me this error: |
are you going to help? |
You didn't pass the tiles folder as argument. You either have to run |
i passed |
The program only uses the tiles folder from the
Show me the exact command you entered. |
I was passing 3 arugments |
and conf.py was corrupted, So i reinstall the package |
This is the error
python tiler.py
./images/logo.png ./tiles/minecraft
Loading tiles
99%|████████████████████████████████▊| 150/151 [00:52<00:00, 2.96it/s]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:
AttributeError: 'NoneType' object has no attribute 'shape'
99%|████████████████████████████████▊| 150/151 [00:52<00:00, 2.85it/s]
The text was updated successfully, but these errors were encountered: