| AttributeError | Python 2.4.3: /usr/bin/python Tue Sep 7 03:35:19 2010 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
| /home/bfordham/websites/socialistsushi.com/toys/scooby.cgi |
| 21 image = scooby.write_text(text) |
| 22 tmp = StringIO() |
| 23 image.save(tmp, 'JPEG') |
| 24 tmp.seek(0) |
| 25 data = tmp.read() |
| image = 'Too much text, sorry. At most have 5 characters.....Too much text, sorry. At most have 5 characters.', image.save undefined, tmp = <StringIO.StringIO instance> |
AttributeError: 'str' object has no attribute 'save'
args =
("'str' object has no attribute 'save'",)