Re: [PythonReports-users] Images
Brought to you by:
a1s
From: alexander s. <al...@go...> - 2013-02-11 09:11:48
|
On 11.02.2013 11:03, Werner F. Bruhin wrote: > >> Indeed it is not evaluated. It shouldn't be, with your template >> contents. Please change the <data> line to <data >> expr="ru.getRecipeImagePNG(THIS.id)" /> > > Explains why I like to use the designer. Matter of preference. I find it much easier to understand in XML. > And I see this exception, not that my breakpoint in the > getRecipeImagePNG is still never hit. > > AttributeError: 'NoneType' object has no attribute 'strip' > "c:\Python27\Lib\site-packages\PythonReports\editor\templateloader.py", > line 222, in load_one_validator > XmlBody(xml_elmnt.text.strip())) Could you try a fresh checkout? I hope I have fixed this error. Best wishes, alex. |