[Qgis-developer] QtTest missing

William Kyngesburye woklist at kyngchaos.com
Tue Jan 18 09:45:37 EST 2011


I didn't realize part of the QGIS Python stuff used QtTest and didn't include QtTest in the Mac QGIS.  I'll have to package an update, watch for it.

On Jan 18, 2011, at 8:28 AM, Patrice Vetsel wrote:

> Hi,
> 
> I'm searching to play with QGis and my bluetooth gps datalogger.
> I'v founded this plugin :
> GatherPlugin
> on http://code.google.com/p/qgismapper/wiki/GatherPlugin
> 
> But when i install it I get this error :
> Impossible de charger l'extension gatherplugin provoque une erreur lors de l'appel de sa méthode classFactory()
> 
> Traceback (most recent call last):
>   File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 138, in startPlugin
>     plugins[packageName] = package.classFactory(iface)
>   File "/Users/Patrice/.qgis/python/plugins/gatherplugin/__init__.py", line 11, in classFactory
>     from GatherPlugin import GatherPlugin
>   File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 279, in _import
>     mod = _builtin_import(name, globals, locals, fromlist, level)
>   File "/Users/Patrice/.qgis/python/plugins/gatherplugin/GatherPlugin.py", line 12, in 
>     import Gatherer
>   File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 279, in _import
>     mod = _builtin_import(name, globals, locals, fromlist, level)
>   File "/Users/Patrice/.qgis/python/plugins/gatherplugin/Gatherer.py", line 5, in 
>     from PyQt4.QtTest import *
>   File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 279, in _import
>     mod = _builtin_import(name, globals, locals, fromlist, level)
> ImportError: No module named QtTest
> 
> Version de Python :
> 2.6.1 (r261:67515, Jun 24 2010, 21:47:49) 
> [GCC 4.2.1 (Apple Inc. build 5646)]
> 
> 
> Version de QGIS :
> 1.6.0-Copiapo Copiapo, exported
> 
> Chemin vers Python : ['/Applications/QGIS.app/Contents/MacOS/../Resources/python', '/Users/Patrice/.qgis/python', '/Users/Patrice/.qgis/python/plugins', '/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins', '/Library/Frameworks/SQLite3.framework/Versions/3/Python', '/Library/Python/2.6/site-packages/numpy-override', '/Library/Frameworks/GDAL.framework/Versions/1.7/Python/site-packages', '/Library/Frameworks/cairo.framework/Versions/1/Python', '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python26.zip', '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6', '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-darwin', '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac', '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac/lib-scriptpackages', '/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python', '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-tk', '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-old', '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload', '/Library/Python/2.6/site-packages', '/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/PyObjC', '/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/wx-2.8-mac-unicode', '/Applications/QGIS.app/Contents/Resources/python/plugins/fTools/tools']
> 
> 
> 
> How can I install the module named QtTest ?
> 
> Regards
> 
> Patrice Vetsel
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"Those people who most want to rule people are, ipso-facto, those least suited to do it."

- A rule of the universe, from the HitchHiker's Guide to the Galaxy




More information about the Qgis-developer mailing list