[Qgis-developer] Getting Sextante from GitHub core to work with QGIS 1.8.0

Rudi von Staden rudivs at gmail.com
Sat Oct 27 07:04:35 PDT 2012


Sorry, accidentally hit the send button too early.

On Sat, Oct 27, 2012 at 4:00 PM, Rudi von Staden <rudivs at gmail.com> wrote:

> I have cloned the GitHub repo, and have symbolically linked the
> ~/.qgis/python/plugins/sextante directory to
> Quantum-GIS/python/plugins/sextante.
>
> When I load QGIS, it does give me an error, stemming from
> sextante/about/AboutDialog.py; in particular, 'from ui_aboutdialogbase
> import Ui_DlgAbout' produces an ImportError (No module named
> ui_aboutdialogbase).
>
> I imagine this should be provided by PyQt
>

I imagine this should be provided by PyQt4.QtGui? Am I using an outdated
version? I'm using python-qt4 | 4.9.1-2ubuntu1 from precise/main. Here's
the full error message on load:


======[paste]======

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

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 164, in
startPlugin
    plugins[packageName] = package.classFactory(iface)
  File "/home/rudi/.qgis//python/plugins/sextante/__init__.py", line 45, in
classFactory
    from sextante.SextantePlugin import SextantePlugin
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 309, in
_import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/home/rudi/.qgis//python/plugins/sextante/SextantePlugin.py", line
45, in
    from sextante.about.AboutDialog import AboutDialog
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 309, in
_import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/home/rudi/.qgis//python/plugins/sextante/about/AboutDialog.py",
line 32, in
    from ui_aboutdialogbase import Ui_DlgAbout
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 309, in
_import
    mod = _builtin_import(name, globals, locals, fromlist, level)
ImportError: No module named ui_aboutdialogbase

Python version:
2.7.3 (default, Aug  1 2012, 05:27:35)
[GCC 4.6.3]


QGIS version:
1.8.0-Lisboa Lisboa, exported

Python path: ['/usr/share/qgis/python', '/home/rudi/.qgis//python',
'/home/rudi/.qgis//python/plugins', '/usr/share/qgis/python/plugins',
'/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2',
'/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old',
'/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PIL',
'/usr/lib/python2.7/dist-packages/gst-0.10',
'/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7',
'/usr/lib/python2.7/dist-packages/ubuntu-sso-client',
'/usr/lib/python2.7/dist-packages/ubuntuone-client',
'/usr/lib/python2.7/dist-packages/ubuntuone-control-panel',
'/usr/lib/python2.7/dist-packages/ubuntuone-couch',
'/usr/lib/python2.7/dist-packages/ubuntuone-installer',
'/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol',
'/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode']
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20121027/3ea4b4b2/attachment-0001.html>


More information about the Qgis-developer mailing list