Op Wednesday 02 January 2008, schreef Paul McNett:
> Dennis Meulensteen wrote:
> > Hi all,
> >
> > I am trying to open a report from a button in my gui.
> >
> > The code I have (called when the button is pressed) is this:
> >
> > def writeReport01(self):
> >     rw = self.ReportWriter
> >     app = self.Application
> >     rw.ReportFormFile = os.path.join(app.HomeDirectory,"report01.rfxml")
> >     mybizObj = self.getBizobj(dataSource="t_persoon")
> >     rw.Cursor =  mybizObj.DataSource
> >     f = rw.OutputFile = reportUtils.getTempFile()
> >     rw.write()
> >     reportUtils.previewPDF(f)
> >
> >
> > This results in a .pdf being generated, but it reports the following
> > errors in stead of field contents:
> > 'str' object has no attribute 'has_key'
> >
> > Any idea what I have done wrong here?
>
> Please post the traceback you are receiving.
>
> Paul

which: no gpdf in (/opt/kde3/bin:/hom 
e/dennis/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/cross/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/lib/qt3/bin)

This is all. No idea why I didn't notice this before. But.. I just tried to 
compile this on my KDE system and I'm missing lots of deps... Soooo please tell 
me this is not the real issue! There is also no package I can find that 
contains this for my OpenSuse 10.3 x64 system.

Thanks,
Dennis



--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]

Reply via email to