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

Gary Smith gary.smith.rsa at gmail.com
Sun Apr 18 11:13:24 PDT 2010


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/b4aff261/attachment.html>


More information about the Qgis-user mailing list