I am trying to use kivy.atlas to make an atlas of images, but I keep getting the following error:
python -m kivy.atlas myatlas 256x256 *.png
[INFO ] [Logger ] Record log in /home/ajmabe/.kivy/logs/kivy_15-07-02_9.txt
[INFO ] [Kivy ] v1.9.1-dev
[INFO ] [Python ] v3.4.3 (default, Mar 25 2015, 17:13:50)
[GCC 4.9.2 20150304 (prerelease)]
Traceback (most recent call last):
File "/usr/lib/python3.4/runpy.py", line 170, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.4/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/lib/python3.4/site-packages/kivy/atlas.py", line 442, in <module>
ret = Atlas.create(outname, filenames, size, **options)
File "/usr/lib/python3.4/site-packages/kivy/atlas.py", line 275, in create
size_w = size_h = int(size)
TypeError: int() argument must be a string, a bytes-like object or a number, not 'map'
I am using arch linux and have python 3.4 installed by default, but I also have python 2 installed. I also installed the Pillow library.