|
Post by borisfr on Jul 12, 2016 0:19:39 GMT -8
Hello. I'm using gd2asset (on Mac) without problem for other fonts and pictures but got problem with this particular one: font Aurez-Besh
The error: Traceback (most recent call last): File "/usr/local/bin/gd2asset", line 5, in <module> pkg_resources.run_script('gameduino2==0.1.4', 'gd2asset') File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 492, in run_script self.require(requires)[0].run_script(script_name, ns) File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 1357, in run_script exec_(script_code, namespace, namespace) File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 47, in exec_ exec("""exec code in globs, locs""") File "<string>", line 1, in <module> File "/Library/Python/2.7/site-packages/gameduino2-0.1.4-py2.7.egg/EGG-INFO/scripts/gd2asset", line 127, in <module> File "build/bdist.macosx-10.10-intel/egg/gameduino2/prep.py", line 426, in make File "/Library/Python/2.7/site-packages/gameduino2-0.1.4-py2.7.egg/EGG-INFO/scripts/gd2asset", line 98, in addall File "/Library/Python/2.7/site-packages/gameduino2-0.1.4-py2.7.egg/EGG-INFO/scripts/gd2asset", line 52, in ttf File "build/bdist.macosx-10.10-intel/egg/gameduino2/prep.py", line 286, in load_ttf File "build/bdist.macosx-10.10-intel/egg/gameduino2/prep.py", line 258, in load_font OverflowError: unsigned byte integer is less than minimum
Could you help me?
|
|
|
Post by jamesbowman on Jul 14, 2016 5:50:45 GMT -8
Yes, I updated the gd2asset tool to fix this problem. It is now version 0.1.8: pypi.python.org/pypi/gameduino2So if you use easy_install, then "sudo easy_install -U gd2asset" should bring you up to date.
|
|
|
Post by borisfr on Jul 19, 2016 0:28:09 GMT -8
Just come back from Celebration Star Wars @ London to find that you solve my problem. Great! Thanks a lot.
I'v just test and it is ok for me.
Thank you James!
|
|