From: Roberto A. <ra...@ne...> - 2010-09-09 03:56:43
|
On Thursday 09 September 2010 00:47:32 David Goodger wrote: > On Wed, Sep 8, 2010 at 23:23, Roberto Alsina <ra...@ne...> wrote: > >> AttributeError: 'NoneType' object has no attribute 'bands' > > > > This is caused by a bug in either reportlab or PIL (not sure who I should > > blame ;-) > > We had a bug report related to PIL before: > https://sourceforge.net/tracker/?func=detail&atid=422030&aid=2993756&group_ > id=38414 Especially see the workaround mentioned. > > It may or may not be related to this issue. It's applicable if your > code imports PIL in different ways (including any code you import). > Really tricky. And here is the PIL side of the bug: http://mail.python.org/pipermail/image-sig/2009-December/006023.html |