Message: 3 Date: Tue, 6 Jul 2010 17:42:25 -0400 From: Ed Leafe <[email protected]> To: Dabo Users list <[email protected]> Subject: Re: [dabo-users] Report Writer problems on new computer Message-ID: <[email protected]>
On Jul 6, 2010, at 4:11 PM, Steve Rose wrote: > Looks like the temp pdf file is not being created for some reason. Any > suggestions on where to troubleshoot from here? If you double-click any .pdf file, does it open automatically, or do you have to pick an app to open it? Based on the error, it sounds like there is no application associated with .pdf on your system. -- Ed Leafe ------------------------------------------------------- I checked the file association for pdf's and as you predicted, there was no default program for it. I set Acrobat to open pdf files and now my simple test program works and the Report Designer displays a preview. Thanks for that. However, I now find that I still can't open reports in my main application. These reports work fine on two other computers but not on the new one. This is the traceback I'm getting: Traceback (most recent call last): File "c:\python25\lib\site-packages\Dabo-0.9.2-py2.5.egg\dabo\ui\uiwx\dMenuIte m.py", line 57, in __onWxHit self.raiseEvent(dEvents.Hit, evt) File "c:\python25\lib\site-packages\Dabo-0.9.2-py2.5.egg\dabo\ui\uiwx\dPemMixi n.py", line 949, in raiseEvent super(dPemMixin, self).raiseEvent(eventClass, nativeEvent, *args, **kwargs) File "c:\python25\lib\site-packages\Dabo-0.9.2-py2.5.egg\dabo\lib\eventMixin.py", line 93, in raiseEvent bindingFunction(event) File "CountyBirds_Paged16.py", line 145, in countyReportsHit self.printCountyTotals() File "CountyBirds_Paged16.py", line 177, in printCountyTotals rw.ReportFormFile = "CountyTotalsReport1.rfxml" File "c:\python25\lib\site-packages\Dabo-0.9.2-py2.5.egg\dabo\lib\reportWriter .py", line 2163, in _setReportFormFile self._reportForm = self._getFormFromXML(self._reportFormXML) File "c:\python25\lib\site-packages\Dabo-0.9.2-py2.5.egg\dabo\lib\reportWriter .py", line 2006, in _getFormFromXML form = self._getFormFromXMLDict(xmldict) File "c:\python25\lib\site-packages\Dabo-0.9.2-py2.5.egg\dabo\lib\reportWriter .py", line 1973, in _getFormFromXMLDict reportObject = self._getReportObject(child["name"], formdict) File "c:\python25\lib\site-packages\Dabo-0.9.2-py2.5.egg\dabo\lib\reportWriter .py", line 1994, in _getReportObject ref = cls(parent) TypeError: 'NoneType' object is not callable The rfxml file is the same on all computers. Is there any test code I can put into reportWriter.py to try to debug this? Thanks for your great support. Steve --- 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/[email protected]
