[QGIS-trac] [Quantum GIS] #3491: Couldn't load plugin postgis_manager due an error when calling its initGui() method

Quantum GIS qgis at qgis.org
Tue Feb 15 02:42:22 EST 2011


#3491: Couldn't load plugin postgis_manager due an error when calling its
initGui() method
------------------------------------------------+---------------------------
   Reporter:  vvj                               |              Owner:  borysiasty
       Type:  bug                               |             Status:  new       
   Priority:  major: does not work as expected  |          Milestone:            
  Component:  Python plugins and bindings       |            Version:  1.6.0     
   Keywords:  postgis_manager, initGui()        |   Platform_version:            
   Platform:  Windows                           |           Must_fix:  Yes       
Status_info:  0                                 |  
------------------------------------------------+---------------------------
 After updating Qgis to 1.6.0-3 from 1.6.0-2 using OSGeo4W advanced
 installer (and some new libs were offered), Postgis Manager plugin stopped
 working:

 {{{
 '''Couldn't load plugin postgis_manager due an error when calling its
 initGui() method'''

 Traceback (most recent call last):
   File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 147, in
 startPlugin
     plugins[packageName].initGui()
   File
 "D:/Users/user1/.qgis/python/plugins\postgis_manager\ManagerPlugin.py",
 line 24, in initGui
     self.iface.addPluginToDatabaseMenu("&PostGIS Manager", self.action)
 TypeError: 'sip.methoddescriptor' object is not callable

 Python version:
 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]


 QGIS version:
 1.6.0-Capiapo Capiapo, exported

 Python path: ['C:/OSGeo4W/apps/qgis/./python',
 'D:/Users/arctic/.qgis/python', 'D:/Users/user1/.qgis/python/plugins',
 'C:/OSGeo4W/apps/qgis/./python/plugins', 'C:\\OSGeo4W\\bin\\python25.zip',
 'C:\\OSGeo4W\\apps\\Python25\\DLLs', 'C:\\OSGeo4W\\apps\\Python25\\lib',
 'C:\\OSGeo4W\\apps\\Python25\\lib\\plat-win',
 'C:\\OSGeo4W\\apps\\Python25\\lib\\lib-tk',
 'C:\\OSGeo4W\\apps\\qgis\\bin', 'C:\\OSGeo4W\\apps\\Python25',
 'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages',
 'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages\\win32',
 'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages\\win32\\lib',
 'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages\\Pythonwin',
 'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages\\wx-2.8-msw-unicode',
 'D:\\Users\\arctic\\.qgis\\python\\plugins\\cadtools\\tools']
 }}}

 I also get this error when trying to install this plugin after removing
 it.
 Just checked with 1.6.0-4 version - problem remains.

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/3491>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list