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

[email protected] wrote:
Send Qgis-user mailing list submissions to
        [email protected]

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
        [email protected]

You can reach the person managing the list at
        [email protected]

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 <[email protected]>
Subject: Re: [Qgis-user] QGIS 1.5 segmentation fault with GDAL tools
To: Gary Smith <[email protected]>
Cc: [email protected]
Message-ID:
        <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1

Hi Gary,

On Fri, Apr 16, 2010 at 8:16 PM, Gary Smith <[email protected]> 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.

_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to