<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Did you set a CRS (for this project or as default for new layers)
before you started the plugin?<br>
<br>
Sake Wagenaar<br>
<br>
Op 6-8-2011 18:34, Manuel Spínola schreef:
<blockquote
cite="mid:CABkCotROm56Ahs=AkZnRaAdtv52COvu7VgKBc9h=WsbHy5HwpA@mail.gmail.com"
type="cite">
<div>Dear list members,</div>
<div><br>
</div>
<div>I am trying to use the MMQGIS plugin to create a hexagoanl
grid but I got the following error:</div>
<div><br>
</div>
<div><br>
</div>
<span style=" color:#ff0000;">An error has occured while executing
Python code:</span><br>
<br>
Traceback (most recent call last):<br>
File
"C:/Users/Manuel/.qgis/python/plugins\mmqgis\mmqgis_menu.py", line
137, in grid<br>
dialog = mmqgis_grid_dialog(self.iface)<br>
File
"C:/Users/Manuel/.qgis/python/plugins\mmqgis\mmqgis_dialogs.py",
line 552, in __init__<br>
self.crs =
self.iface.mapCanvas().mapRenderer().destinationCrs()<br>
AttributeError: 'QgsMapRenderer' object has no attribute
'destinationCrs'<br>
<br>
Python version:<br>
2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit
(Intel)]<br>
<br>
<br>
QGIS version:<br>
1.6.0-Capiapo Capiapo, exported<br>
<br>
Python path: ['C:/PROGRA~2/QUANTU~1/apps/qgis/./python',
'C:/Users/Manuel/.qgis/python',
'C:/Users/Manuel/.qgis/python/plugins',
'C:/PROGRA~2/QUANTU~1/apps/qgis/./python/plugins',
'C:\\PROGRA~2\\QUANTU~1\\apps\\gdal-17\\pymod', 'C:\\Program Files
(x86)\\Quantum GIS Copiapo',
'C:\\PROGRA~2\\QUANTU~1\\bin\\python25.zip',
'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\DLLs',
'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\lib',
'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\lib\\plat-win',
'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\lib\\lib-tk',
'C:\\PROGRA~2\\QUANTU~1\\apps\\qgis\\bin',
'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25',
'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\lib\\site-packages',
'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\lib\\site-packages\\win32',
'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\lib\\site-packages\\win32\\lib',
'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\lib\\site-packages\\Pythonwin',
'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\lib\\site-packages\\wx-2.8-msw-unicode',
'C:\\PROGRA~2\\QUANTU~1\\apps\\qgis\\python\\plugins\\fTools\\tools',
'C:\\Users\\Manuel\\.qgis\\python\\plugins\\mmqgis/forms']<br
clear="all">
<br>
<div><br>
</div>
<div><br>
-- <br>
<b>Manuel Spínola, Ph.D.</b> <br>
Instituto Internacional en Conservación y Manejo de Vida
Silvestre <br>
Universidad Nacional <br>
Apartado 1350-3000 <br>
Heredia <br>
COSTA RICA <br>
<a moz-do-not-send="true" href="mailto:mspinola@una.ac.cr"
target="_blank">mspinola@una.ac.cr</a> <br>
<a moz-do-not-send="true" href="mailto:mspinola10@gmail.com"
target="_blank">mspinola10@gmail.com</a> <br>
Teléfono: (506) 2277-3598 <br>
Fax: (506) 2237-7036 <br>
Personal website: <a moz-do-not-send="true"
href="https://sites.google.com/site/lobitoderio/"
target="_blank">Lobito de río</a> <br>
Institutional website: <a moz-do-not-send="true"
href="http://www.icomvis.una.ac.cr/" target="_blank">ICOMVIS</a><br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a>
</pre>
</blockquote>
<br>
</body>
</html>