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

2010-04-19 Thread Niccolo Rigacci
On Sun, Apr 18, 2010 at 09:53:14PM +0200, Gary Smith wrote:
 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.

Ok, so the problem is reproducible.

Is there a ticket already opened?
https://trac.osgeo.org/qgis/report

-- 
Niccolo Rigacci
Firenze - Italy
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


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

2010-04-18 Thread Gary Smith

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-requ...@lists.osgeo.org wrote:

Send Qgis-user mailing list submissions to
qgis-user@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-requ...@lists.osgeo.org

You can reach the person managing the list at
qgis-user-ow...@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.ty...@gmail.com
Subject: Re: [Qgis-user] QGIS 1.5 segmentation fault with GDAL tools
To: Gary Smith gary.smith@gmail.com
Cc: qgis-user@lists.osgeo.org
Message-ID:
m2rbaea77b11004171152of9d14e33of094d1d9261f9...@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@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.

  
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user