[QGIS-trac] [Quantum GIS] #1270: Python plugins refuse to load "due
an error when calling its initGui() method"
Quantum GIS
qgis at qgis.org
Tue Sep 2 12:00:58 EDT 2008
#1270: Python plugins refuse to load "due an error when calling its initGui()
method"
---------------------------------------------------------+------------------
Reporter: msieczka | Owner: nobody
Type: bug | Status: new
Priority: critical: causes crash or data corruption | Milestone: Version 1.0.0
Component: Python | Version: HEAD
Keywords: | Platform_version:
Platform: Debian | Must_fix: Yes
Status_info: 0 |
---------------------------------------------------------+------------------
In r9245 all Python plugins refuse to load with an error:
{{{
Nie można wczytać wtyczkifTools due an error when calling its initGui()
method
}}}
In r9243 it was all ok.
Full error output:
{{{
Nie można wczytać wtyczkigeoprocessing due an error when calling its
initGui() method
Traceback (most recent call last):
File "", line 1, in
File
"/home/shoofi/.qgis//python/plugins/geoprocessing/geoprocessing.py", line
83, in initGui
self.actionGeoprocessing =
QAction(QIcon(":/plugins/geoprocessing/icon_buffer.xpm"),
QCoreApplication.translate("Geoprocessing","Geoprocessing Tool"),
self.iface.getMainWindow())
AttributeError: getMainWindow
Python version:
2.5.2 (r252:60911, Aug 6 2008, 09:48:46)
[GCC 4.3.1]
Python path:
['/usr/local/qgis/share/qgis/python',
'/home/shoofi/.qgis//python/plugins',
'/usr/local/qgis/share/qgis/python/plugins', '/usr/lib/python2.5',
'/usr/lib/python2.5/plat-linux2', '/usr/lib/python2.5/lib-tk',
'/usr/lib/python2.5/lib-dynload', '/usr/local/lib/python2.5/site-
packages', '/usr/lib/python2.5/site-packages', '/usr/lib/python2.5/site-
packages/Numeric', '/usr/lib/python2.5/site-packages/PIL',
'/usr/lib/python2.5/site-packages/gst-0.10', '/var/lib/python-
support/python2.5', '/var/lib/python-support/python2.5/gtk-2.0',
'/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode',
'/home/shoofi/.qgis/python/plugins/fTools/tools']
}}}
Cosmetic issue - there should be a space between words "wtyczki" and the
plugin name ("fTools" in this case).
--
Ticket URL: <http://trac.osgeo.org/qgis/ticket/1270>
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