Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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\", line 173, in startPlugin
  File "C:/Users/bruno.saphy/.qgis//python/plugins\GoogleLayers\", line 33, in initGui
    self.sessionid = gmaps.get_sessionid()
  File "C:/Users/bruno.saphy/.qgis//python/plugins\GoogleLayers\", 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\\', '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.

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.