[Qgis-developer] getting single quote error in ui_qgsplugininstallerbase.py

Jamie Adams jaadfoo at gmail.com
Mon Aug 24 14:22:06 EDT 2009


Hello all,

I've been getting this error over the last couple weeks when build qgis from
svn trunk, and now the 1.2 release branch.  It's easy to fix, I just edit
ui_qgsplugininstallerbase.py by hand.  I haven't seen anyone else
complaining about it, so I'm wondering if it's just my system.  I'm using
Ubuntu 8.04.

-Jamie
---------------------------------------------

Couldn't load plugin plugin_installer due an error when calling its
classFactory() method

Traceback (most recent call last):
  File "", line 1, in
  File
"/usr/local/apps/qgis_1.2/share/qgis/python/plugins/plugin_installer/__init__.py",
line 32, in classFactory
    from installer_plugin import InstallerPlugin
  File "/usr/local/buildtools/current/sitecustomize/sitecustomize.py", line
248, in SetupPathsAndImport
    return real_import(name, globals, locals, fromlist)
  File
"/usr/local/apps/qgis_1.2/share/qgis/python/plugins/plugin_installer/installer_plugin.py",
line 19, in
    from installer_gui import *
  File "/usr/local/buildtools/current/sitecustomize/sitecustomize.py", line
248, in SetupPathsAndImport
    return real_import(name, globals, locals, fromlist)
  File
"/usr/local/apps/qgis_1.2/share/qgis/python/plugins/plugin_installer/installer_gui.py",
line 25, in
    from ui_qgsplugininstallerbase import Ui_QgsPluginInstallerDialogBase
  File "/usr/local/buildtools/current/sitecustomize/sitecustomize.py", line
248, in SetupPathsAndImport
    return real_import(name, globals, locals, fromlist)
  File
"/usr/local/apps/qgis_1.2/share/qgis/python/plugins/plugin_installer/ui_qgsplugininstallerbase.py",
line 16
    QgsPluginInstallerDialogBase.setWindowIcon(QtGui.QIcon("
                                                            ^
SyntaxError: EOL while scanning single-quoted string

Python version:
2.5.2 (r252:60911, Jul 22 2009, 15:50:42)
[GCC 4.2.4 (Ubuntu 4.2.4-1ubuntu3)]

Python path:
['/usr/local/apps/qgis_1.2/share/qgis/python',
'/home/jamie/.qgis//python/plugins',
'/usr/local/apps/qgis_1.2/share/qgis/python/plugins',
'/usr/lib/python2.5/site-packages/GDAL-1.6.1-py2.5-linux-x86_64.egg',
'/usr/local/buildtools/current/sitecustomize', '/usr/lib/python25.zip',
'/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/local/lib/python2.5/site-packages/geos',
'/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',
'/usr/lib/python2.5/site-packages/gtk-2.0',
'/var/lib/python-support/python2.5/gtk-2.0',
'/var/lib/python-support/python2.5/pyinotify',
'/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode',
'/usr/local/apps/qgis_1.2/share/qgis/python/plugins/fTools/tools']
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20090824/b821bacc/attachment.html


More information about the Qgis-developer mailing list