<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Oct 28, 2008, at 11:19 AM, Martin Dobias wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; ">On Tue, Oct 28, 2008 at 6:38 PM, John C. Tull &lt;<a href="mailto:john.tull@wildnevada.org">john.tull@wildnevada.org</a>> wrote:<br><blockquote type="cite">On Oct 27, 2008, at 6:52 PM, Gary Sherman wrote:<br></blockquote><blockquote type="cite"><blockquote type="cite">The plugin loads when QGIS starts. When I click on the tool icon QGIS<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">crashes. There is no project loaded. I'm using Qt 4.3.x---I wonder if your<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">plugin relies on a more recent version since Jctull is able to run it.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">-gary<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">My debug build now crashes also. Here is the output after I hit the plugin<br></blockquote><blockquote type="cite">button.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">John<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">[...]<br></blockquote><br>Maybe I have an idea what's wrong, but not sure. Please try this:<br>- go to plugin's directory: ~/.qgis/python/plugins/postgis_manager<br>- edit ManagerWindow.py:<br>&nbsp;- on lines 311 and 313 add "self" to empty parentheses, so that it looks like:<br><span class="Apple-tab-span" style="white-space: pre; ">        </span>self.table = QTableView(self)<br><span class="Apple-tab-span" style="white-space: pre; ">        </span><span class="Apple-tab-span" style="white-space: pre; ">        </span><span class="Apple-tab-span" style="white-space: pre; ">        </span><br><span class="Apple-tab-span" style="white-space: pre; ">        </span>self.preview = qgis.gui.QgsMapCanvas(self)<br><br>And let me know if that helped!</span></blockquote></div><br><div>That did not fix the crash.</div><div><br></div><div>John</div></body></html>