[Qgis-developer] PostGIS manager

Martin Dobias wonder.sk at gmail.com
Tue Oct 28 14:19:39 EDT 2008


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!

Martin


More information about the Qgis-developer mailing list