[Qgis-user] Re: GDAL Tools and QGIS 1.5 segmentation fault

Gary Smith gary.smith.rsa at gmail.com
Sun Apr 18 12:53:14 PDT 2010


All,

A false fix. I apologise for the error. The fix that I stated below is 
not valid. The seg fault occurs when no raster is loaded and one tries 
to invoke any of the tools.

Gary Smith wrote:
> I am not sure whether this is a problem with the Gdal tools plugin or 
> with the QGIS application, but I worked out how to overcome it. In 
> case it might help anyone else here is the solution.
>
> In the dialogBase.py file there is a section which renames the file to 
> a ".bat" if the platform is windows. I don't know why this is causing 
> the seg fault - I assume that the "if" statement is failing but 
> commenting out the offending lines works for me.
>
>       # on Windows replace the .py with .bat extension
> #      if platform.system() == "Windows" and pluginCommand[-3:] == ".py":
> #        self.command = pluginCommand[:-3] + ".bat"
> #      else:
>       self.command = pluginCommand
>
> Gary
>
> qgis-user-request at lists.osgeo.org wrote:
>> Send Qgis-user mailing list submissions to
>> 	qgis-user at lists.osgeo.org
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>> 	http://lists.osgeo.org/mailman/listinfo/qgis-user
>> or, via email, send a message with subject or body 'help' to
>> 	qgis-user-request at lists.osgeo.org
>>
>> You can reach the person managing the list at
>> 	qgis-user-owner at lists.osgeo.org
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of Qgis-user digest..."
>>
>>
>> Today's Topics:
>>
>>    1. Re: QGIS 1.5 segmentation fault with GDAL tools
>>       (Giuseppe Sucameli)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Sat, 17 Apr 2010 20:52:00 +0200
>> From: Giuseppe Sucameli <brush.tyler at gmail.com>
>> Subject: Re: [Qgis-user] QGIS 1.5 segmentation fault with GDAL tools
>> To: Gary Smith <gary.smith.rsa at gmail.com>
>> Cc: qgis-user at lists.osgeo.org
>> Message-ID:
>> 	<m2rbaea77b11004171152of9d14e33of094d1d9261f965b at mail.gmail.com>
>> Content-Type: text/plain; charset=ISO-8859-1
>>
>> Hi Gary,
>>
>> On Fri, Apr 16, 2010 at 8:16 PM, Gary Smith <gary.smith.rsa at gmail.com> wrote:
>>   
>>> Can someone assist with a problem that I am having. When trying to run any
>>> of the options under the "Raster menu" except "About GdalTools" I get a
>>> segmentation fault.
>>>
>>> The problem is with GDalTools 1.1.0 and 1.1.1
>>>     
>> it's very strange. It works fine on my Ubuntu.
>> Did you try to uninstall and re-install it?
>>
>> Cheers.
>>
>>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20100418/d504ef26/attachment.html>


More information about the Qgis-user mailing list