Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Possible Duplicate:
Problems with Google layers plugins

Impossible de charger l'extension GoogleLayers provoque une erreur lors de l'appel de sa méthode initGui()

Traceback (most recent call last):
  File "C:/PROGRA~1/Quantum GIS Lisboa/apps/qgis/./python\qgis\utils.py", line 173, in startPlugin
    plugins[packageName].initGui()
  File "C:/Users/bruno.saphy/.qgis//python/plugins\GoogleLayers\GoogleLayers.py", line 33, in initGui
    self.sessionid = gmaps.get_sessionid()
  File "C:/Users/bruno.saphy/.qgis//python/plugins\GoogleLayers\gmaps.py", line 21, in get_sessionid
    sessionid = t.strftime("%d%m%Y_%H%M%S%s")
ValueError: Invalid format string

Version de Python : 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)]

Version de QGIS : 1.8.0-Lisboa Lisboa, 6416f38

Chemin vers Python : ['C:\\Users\\bruno.saphy\\.qgis\\python\\plugins\\GeoCoding', 'C:/PROGRA~1/Quantum GIS Lisboa/apps/qgis/./python', 'C:/Users/bruno.saphy/.qgis//python', 'C:/Users/bruno.saphy/.qgis//python/plugins', 'C:/PROGRA~1/Quantum GIS Lisboa/apps/qgis/./python/plugins', 'C:\\PROGRA~1\\Quantum GIS Lisboa\\bin\\python27.zip', 'C:\\PROGRA~1\\Quantum GIS Lisboa\\apps\\Python27\\DLLs', 'C:\\PROGRA~1\\Quantum GIS Lisboa\\apps\\Python27\\lib', 'C:\\PROGRA~1\\Quantum GIS Lisboa\\apps\\Python27\\lib\\plat-win', 'C:\\PROGRA~1\\Quantum GIS Lisboa\\apps\\Python27\\lib\\lib-tk', 'C:\\PROGRA~1\\Quantum GIS Lisboa\\apps\\qgis\\bin', 'C:\\PROGRA~1\\Quantum GIS Lisboa\\apps\\Python27', 'C:\\PROGRA~1\\Quantum GIS Lisboa\\apps\\Python27\\lib\\site-packages', 'C:\\PROGRA~1\\Quantum GIS Lisboa\\apps\\Python27\\lib\\site-packages\\PIL', 'C:\\PROGRA~1\\Quantum GIS Lisboa\\apps\\Python27\\lib\\site-packages\\win32', 'C:\\PROGRA~1\\Quantum GIS Lisboa\\apps\\Python27\\lib\\site-packages\\win32\\lib', 'C:\\PROGRA~1\\Quantum GIS Lisboa\\apps\\Python27\\lib\\site-packages\\Pythonwin', 'C:\\PROGRA~1\\Quantum GIS Lisboa\\apps\\Python27\\lib\\site-packages\\wx-2.8-msw-unicode']ag

share|improve this question

marked as duplicate by underdark Jul 16 '12 at 12:04

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2 Answers 2

Did you upgrade from a previous version of QGIS, and have you installed extensions into that version?

I think the problem is incompatibility between the old extension and the new version of QGIS. Can you try renaming C:/Users/bruno.saphy/.qgis (to say, C:/Users/bruno.saphy/.qgis_original), then try running QGIS again?

share|improve this answer

If you don't want to lose all your settings (by making a new folder for QGIS), try removing just this GoogleLayers plugin first. Deleting the folder C:/Users/bruno.saphy/.qgis//python/plugins\GoogleLayers will be enough.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.