Created
July 2, 2012 23:25
-
-
Save legumbre/3036357 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ python ../../klibs/scripts/texture_atlas.py -r 80 -d -c pvr -v levels/textures levels/_tmp/textures levels/_tmp/textures.json | |
INFO:texture_atlas: | |
input_dir: levels/textures | |
output_dir: levels/_tmp/textures | |
output_file: levels/_tmp/textures.json | |
DEBUG:texture_atlas: env:{'atlas_size': 1024, 'resize_scale': 80.0, 'margin_size': 2, 'output_dir': 'levels/_tmp/textures', 'input_dir': 'levels/textures', 'compress_format': 'pvr'} | |
INFO:texture_atlas:---- 1. BATCHES ----------------------------------------------- | |
INFO:texture_atlas: adding textures: 1382 frames, ([]) | |
INFO:texture_atlas: adding textures/rings: 113 frames, (['_NO_MARGIN', '_NO_TRIM']) | |
INFO:texture_atlas:---- 2. PREPARE ATLAS ----------------------------------------- | |
Traceback (most recent call last): | |
File "../../klibs/scripts/texture_atlas.py", line 482, in <module> | |
atlas = pool.map(process_batch, batches) | |
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/multiprocessing/pool.py", line 148, in map | |
return self.map_async(func, iterable, chunksize).get() | |
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/multiprocessing/pool.py", line 422, in get | |
raise self._value | |
TypeError: argument 2 to map() must support iteration |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment