Re: [Qgis-developer] GDAL tools not working in latest nightly builds
Hi Etienne, On Thu, Jun 27, 2013 at 10:21 PM, Etienne Tourigny wrote: > seems to me it only happens in OSX, it happens whether the user set paths into Settings dialog (so usually on OSX). > because all tools have been updated. Can you fix it and send me a patch? I'm working on fixing it, I've already patched it and some other tools (i.e. FillNoData, Info, Translate) that doesn't work in this moment. Cheers. > Etienne > > On Thu, Jun 27, 2013 at 11:22 AM, Cline, Royce L. wrote: > >> They worked prior to the SIP changes. Now I am getting the following >> QString error no matter which raster tool I try. Is anybody else seeing >> this? >> >> An error has occured while executing Python code: >> >> Traceback (most recent call last): >> File >> "/Applications/QGIS_2.0-devJun26.app/Contents/MacOS/../Resources/python/plugins/GdalTools/GdalTools.py", >> line 333, in doInfo >> d = Info( self.iface ) >> File >> "/Applications/QGIS_2.0-devJun26.app/Contents/MacOS/../Resources/python/plugins/GdalTools/tools/doInfo.py", >> line 45, in __init__ >> BasePluginWidget.__init__( self, self.iface, "gdalinfo" ) >> File >> "/Applications/QGIS_2.0-devJun26.app/Contents/MacOS/../Resources/python/plugins/GdalTools/tools/widgetPluginBase.py", >> line 39, in __init__ >> self.base = BaseDialog( iface.mainWindow(), iface, self, >> self.windowTitle(), commandName) >> File >> "/Applications/QGIS_2.0-devJun26.app/Contents/MacOS/../Resources/python/plugins/GdalTools/tools/dialogBase.py", >> line 49, in __init__ >> Utils.setProcessEnvironment(self.process) >> File >> "/Applications/QGIS_2.0-devJun26.app/Contents/MacOS/../Resources/python/plugins/GdalTools/tools/GdalTools_utils.py", >> line 827, in setProcessEnvironment >> elif not QString( envval ).split( sep ).contains( val, >> Qt.CaseInsensitive ): >> NameError: global name 'QString' is not defined >> >> Python version: >> 2.7.2 (default, Oct 11 2012, 20:14:37) >> [GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)] >> >> >> QGIS version: >> 1.9.0-Master Master, a597823 >> >> Royce >> >> >> >> ___ >> Qgis-developer mailing list >> Qgis-developer@lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/qgis-developer >> >> > > ___ > Qgis-developer mailing list > Qgis-developer@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/qgis-developer > > -- Giuseppe Sucameli ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] GDAL tools not working in latest nightly builds
seems to me it only happens in OSX, because all tools have been updated. Can you fix it and send me a patch? Etienne On Thu, Jun 27, 2013 at 11:22 AM, Cline, Royce L. wrote: > They worked prior to the SIP changes. Now I am getting the following > QString error no matter which raster tool I try. Is anybody else seeing > this? > > An error has occured while executing Python code: > > Traceback (most recent call last): > File > "/Applications/QGIS_2.0-devJun26.app/Contents/MacOS/../Resources/python/plugins/GdalTools/GdalTools.py", > line 333, in doInfo > d = Info( self.iface ) > File > "/Applications/QGIS_2.0-devJun26.app/Contents/MacOS/../Resources/python/plugins/GdalTools/tools/doInfo.py", > line 45, in __init__ > BasePluginWidget.__init__( self, self.iface, "gdalinfo" ) > File > "/Applications/QGIS_2.0-devJun26.app/Contents/MacOS/../Resources/python/plugins/GdalTools/tools/widgetPluginBase.py", > line 39, in __init__ > self.base = BaseDialog( iface.mainWindow(), iface, self, > self.windowTitle(), commandName) > File > "/Applications/QGIS_2.0-devJun26.app/Contents/MacOS/../Resources/python/plugins/GdalTools/tools/dialogBase.py", > line 49, in __init__ > Utils.setProcessEnvironment(self.process) > File > "/Applications/QGIS_2.0-devJun26.app/Contents/MacOS/../Resources/python/plugins/GdalTools/tools/GdalTools_utils.py", > line 827, in setProcessEnvironment > elif not QString( envval ).split( sep ).contains( val, > Qt.CaseInsensitive ): > NameError: global name 'QString' is not defined > > Python version: > 2.7.2 (default, Oct 11 2012, 20:14:37) > [GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)] > > > QGIS version: > 1.9.0-Master Master, a597823 > > Royce > > > > ___ > Qgis-developer mailing list > Qgis-developer@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/qgis-developer > > ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] GDAL tools not working in latest nightly builds
They worked prior to the SIP changes. Now I am getting the following QString error no matter which raster tool I try. Is anybody else seeing this? An error has occured while executing Python code: Traceback (most recent call last): File "/Applications/QGIS_2.0-devJun26.app/Contents/MacOS/../Resources/python/plugins/GdalTools/GdalTools.py", line 333, in doInfo d = Info( self.iface ) File "/Applications/QGIS_2.0-devJun26.app/Contents/MacOS/../Resources/python/plugins/GdalTools/tools/doInfo.py", line 45, in __init__ BasePluginWidget.__init__( self, self.iface, "gdalinfo" ) File "/Applications/QGIS_2.0-devJun26.app/Contents/MacOS/../Resources/python/plugins/GdalTools/tools/widgetPluginBase.py", line 39, in __init__ self.base = BaseDialog( iface.mainWindow(), iface, self, self.windowTitle(), commandName) File "/Applications/QGIS_2.0-devJun26.app/Contents/MacOS/../Resources/python/plugins/GdalTools/tools/dialogBase.py", line 49, in __init__ Utils.setProcessEnvironment(self.process) File "/Applications/QGIS_2.0-devJun26.app/Contents/MacOS/../Resources/python/plugins/GdalTools/tools/GdalTools_utils.py", line 827, in setProcessEnvironment elif not QString( envval ).split( sep ).contains( val, Qt.CaseInsensitive ): NameError: global name 'QString' is not defined Python version: 2.7.2 (default, Oct 11 2012, 20:14:37) [GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)] QGIS version: 1.9.0-Master Master, a597823 Royce ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer