[Qgis-developer] PostGIS manager

John C. Tull john.tull at wildnevada.org
Tue Oct 28 15:13:53 EDT 2008


On Oct 28, 2008, at 11:19 AM, Martin Dobias wrote:

> On Tue, Oct 28, 2008 at 6:38 PM, John C. Tull <john.tull at wildnevada.org 
> > wrote:
>> On Oct 27, 2008, at 6:52 PM, Gary Sherman wrote:
>>> The plugin loads when QGIS starts. When I click on the tool icon  
>>> QGIS
>>> crashes. There is no project loaded. I'm using Qt 4.3.x---I wonder  
>>> if your
>>> plugin relies on a more recent version since Jctull is able to run  
>>> it.
>>>
>>> -gary
>>
>> My debug build now crashes also. Here is the output after I hit the  
>> plugin
>> button.
>>
>> John
>>
>> [...]
>
> Maybe I have an idea what's wrong, but not sure. Please try this:
> - go to plugin's directory: ~/.qgis/python/plugins/postgis_manager
> - edit ManagerWindow.py:
>  - on lines 311 and 313 add "self" to empty parentheses, so that it  
> looks like:
> 	self.table = QTableView(self)
> 			
> 	self.preview = qgis.gui.QgsMapCanvas(self)
>
> And let me know if that helped!

That did not fix the crash.

John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20081028/c2c83309/attachment.html


More information about the Qgis-developer mailing list