[Qgis-developer] fTools and qt-4.6.0-rc

John C. Tull jctull at gmail.com
Wed Nov 18 22:26:18 EST 2009


On Nov 18, 2009, at 1:57 PM, Carson Farmer wrote:

> Hi John,
>> In my ongoing attempt to get a python enabled qgis working on OS X Snow Leopard, I am having better success using sip and pyqt dev branches and the qt-4.6.0 release candidate. Unfortunately, an error when starting qgis is indicating a problem with fTools. Below is the text of the error. It appears like the message is cut off at the end, but that was the entirety of the message text in the pop-up window. Any ideas on this?
>> 
>>  File "/Applications/qgis1.4.0.app/Contents/MacOS/share/qgis/python/plugins/fTools/ui_frmAbout.py", line 71
>>    self.textEdit.setHtml(QtGui.QApplication.translate("Dialog", "
> Possibly a Qt version issue, though without the last bit of the error message its hard to know. I don't suppose anything is being printed to a console (debug mode)?
> In the mean time, you can disable the about dialog by changing line 47 of your fTools.py file from (untested):
> import doReProject, doSpatialJoin, doSubsetSelect, doSumLines, doVectorGrid, doAbout
> to:
> import doReProject, doSpatialJoin, doSubsetSelect, doSumLines, doVectorGrid#, doAbout
> and line 241 from:
>   QObject.connect( self.ftools_aboot, SIGNAL("triggered()"), self.doaboot )
> to:
>   #QObject.connect( self.ftools_aboot, SIGNAL("triggered()"), self.doaboot )
> 
> Otherwise, we need to figure out exactly what that error message is saying?
> 

Hi Carson,

Editing the .py file allows it to load and so far so good. I did a table join, but not much else.

I cannot think of a way to get the entire message on the dialog screen. Debug mode does not dump a message to the console. Any other suggestions?

John


More information about the Qgis-developer mailing list