[Qgis-user] QGIS and Python
Carsten Hogertz
carsten.hogertz at gmail.com
Mon Feb 4 02:28:32 PST 2013
Hi Victor,
thanks for your eMail. I deinstalled Sextante but I still got the following
Python-Error:
Fehler bei der Ausführung von Python-Code:
Traceback (most recent call last):
File "/home/user/.qgis//python/plugins/mmqgis/mmqgis_dialogs.py", line
959, in run
message = mmqgis_geocode_google(self.iface, csvname, shapefilename,
notfoundfile, fields, 1)
File "/home/user/.qgis//python/plugins/mmqgis/mmqgis_library.py", line
1083, in mmqgis_geocode_google
xml = urllib.urlopen(url).read()
File "/usr/lib/python2.7/urllib.py", line 86, in urlopen
return opener.open(url)
File "/usr/lib/python2.7/urllib.py", line 207, in open
return getattr(self, name)(url)
File "/usr/lib/python2.7/urllib.py", line 344, in open_http
h.endheaders(data)
File "/usr/lib/python2.7/httplib.py", line 954, in endheaders
self._send_output(message_body)
File "/usr/lib/python2.7/httplib.py", line 814, in _send_output
self.send(msg)
File "/usr/lib/python2.7/httplib.py", line 776, in send
self.connect()
File "/usr/lib/python2.7/httplib.py", line 757, in connect
self.timeout, self.source_address)
File "/usr/lib/python2.7/socket.py", line 571, in create_connection
raise err
IOError: [Errno socket error] [Errno 101] Das Netzwerk ist nicht erreichbar
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-Pfad: ['/usr/share/qgis/python', '/home/user/.qgis//python',
'/home/user/.qgis//python/plugins', '/usr/share/qgis/python/plugins',
'/usr/local/lib/python2.7/dist-packages/OWSLib-0.5.1-py2.7.egg',
'/usr/local/lib/python2.7/dist-packages/libLAS-1.7.0-py2.7.egg',
'/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/local/lib/python2.7/dist-packages/setuptools-0.6c11-py2.7.egg-info',
'/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/wx-2.8-gtk2-unicode',
'/home/user/.qgis/python/plugins/mmqgis/forms', '/usr/share/qgis/python',
'/usr/share/qgis/python/plugins/fTools/tools']
Any suggestions?
Thanks
--
Carsten
2013/2/4 Victor Olaya <volayaf at gmail.com>
> Carsten
>
> That error is because you have installed the Permaclim plugin, but not
> the SEXTANTE plugin it depends on. Whether install SEXTANTE or
> uninstall the Permaclim plugin
>
> Regards
>
> Victor
>
>
> 2013/2/4 Carsten Hogertz <carsten.hogertz at gmail.com>:
> > Hi everyone,
> >
> > evertime I start QGIS Desktop 1.8 I get the following Python error. This
> > error also appears with a lot of plugins too.
> > I'm on Ubuntu 11.10. Does anyone know how to solve this problem?
> > Thanks a lot.
> > --
> > Carsten
> >
> > Konnte Erweiterung permaclim nicht laden wegen eines Fehler beim Aufruf
> > seiner classFactory()-Methode
> >
> > 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/carsten/.qgis//python/plugins/permaclim/__init__.py", line
> 45,
> > in classFactory
> > from permaclim.SextantePermaclimProviderPlugin import
> > SextantePermaclimProviderPlugin
> > File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 309, in
> > _import
> > mod = _builtin_import(name, globals, locals, fromlist, level)
> > File
> >
> "/home/carsten/.qgis//python/plugins/permaclim/SextantePermaclimProviderPlugin.py",
> > line 32, in
> > from sextante.core.Sextante import Sextante
> > 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 sextante.core.Sextante
> >
> > Python-Version:
> > 2.7.2+ (default, Jul 20 2012, 22:24:03)
> > [GCC 4.6.1]
> >
> >
> > QGIS-Version:
> > 1.8.0-Lisboa Lisboa, exported
> >
> > Python-Pfad: ['/home/carsten/.qgis/python/plugins/GeoCoding',
> > '/usr/share/qgis/python', '/home/carsten/.qgis//python',
> > '/home/carsten/.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/wx-2.8-gtk2-unicode',
> > '/home/carsten/.qgis/python/plugins/mmqgis/forms']
> >
> >
> >
> > _______________________________________________
> > Qgis-user mailing list
> > Qgis-user at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/qgis-user
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20130204/7650ba63/attachment.html>
More information about the Qgis-user
mailing list