-
Notifications
You must be signed in to change notification settings - Fork 424
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 'split' #21
Comments
Did you pass arguments to the script? You have two ways you can use: |
IMAGE_TO_TILE = 'images/' folder with tiles (ignored if passed as the 2nd arg)TILES_FOLDER = 'tiles/minecraft' |
|
D:\tiler>python tiler.py D:\tiler\images\cake_at_simple.png D:\tiler |
where is the problem? guys |
The second argument must be a folder with just the tiles. |
thank you very much |
Also, check if there are hidden files in the "D:\tiler" folder which are not image types. |
I looked at what the people wrote above, and I found that I wrote my address right, no other files, and ran at first, but then still reported the same error.where is the problem?
|
I know where I m wrong,I used my gen_file.Thanks to open source. |
Traceback (most recent call last):
File "tiler.py", line 223, in
main()
File "tiler.py", line 206, in main
tiles_paths = conf.TILES_FOLDER.split(' ')
AttributeError: 'NoneType' object has no attribute 'split'
The text was updated successfully, but these errors were encountered: