<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="+1">Hi,<br>
<br>
PostgisQuery (Postgis SQL Editor) crashed QGIS when I installed it and
crashes with a Bus Error every time QGIS starts. This is the same
problem as I had with GDAL Tools (see Ticket #2395, now fixed). I tried
the same fix as they applied to GDAL Tools and it has fixed it. As this
appears to be part of a template for Python plugins then it might be
worth modifying the template.<br>
<br>
The fix goes in the __init__ method of the plugin.py file. <br>
<br>
    self.localePath = pluginPath<br>
    if QFileInfo( self.localePath ).exists():         <-- Add test<br>
      self.translator = QTranslator()                  <--- from
here below as part of condition.<br>
      self.translator.load(self.localePath)<br>
      if qVersion() > '4.3.3':                                <br>
        QCoreApplication.installTranslator(self.translator)<br>
<br>
Details are all in the original ticket.<br>
<br>
Roland<br>
<br>
</font>
</body>
</html>