What steps will reproduce the problem? 1. run it on linux
What is the expected output? What do you see instead? got this error: pradeep@euler:/tmp/evb$ python createBadges.py 0 Siddharta Siddharta Traceback (most recent call last): File "createBadges.py", line 122, in <module> badge.drawPerson(name) File "createBadges.py", line 61, in drawPerson size = self.getFitSize(45, name) File "createBadges.py", line 49, in getFitSize font = ImageFont.truetype("Trebucbd.ttf", size*300/72) File "/usr/lib/python2.5/site-packages/PIL/ImageFont.py", line 205, in truetype return FreeTypeFont(filename, size, index, encoding) File "/usr/lib/python2.5/site-packages/PIL/ImageFont.py", line 121, in init self.font = _imagingft.getfont(file, size, index, encoding) IOError: cannot open resource
What version of the product are you using? On what operating system? python 2.5, Ubuntu 7.04
Please provide any additional information below.
Also, you might want to fix the hardcoded FS paths.
Status: New
Labels:
Type-Defect
Priority-Medium