[GRASS-user] GRASS doesn't find rasters after renaming mapset

Daniel Lee lee at isi-solutions.org
Sun Jan 1 20:19:52 EST 2012


Hi there,

Happy New Year's first of all :)

Something strange is happening when I rename mapsets. I'm running GRASS
6.4RC2 on OpenSUSE 12.1 64-bit. Often, when I rename a mapset - not always,
but often - the rasters are no longer recognized. When I press CTRL+L to
load layers, it also doesn't work. I get the following error:

Traceback (most recent call last):
  File "/opt/grass/etc/wxpython/wxgui.py", line 1276, in
OnAddMaps

dialog = gdialogs.AddMapLayersDialog (parent = self, title =
_("Add selected map layers into layer tree"))
  File "/opt/grass/etc/wxpython/gui_modules/gdialogs.py",
line 864, in LoadMapLayers

self.map_layers = grass.mlist_grouped(type = type)[mapset]
KeyError
:
u'Clearsky'

I'm pretty sure the two phenomena are connected.

Previously, I was able to solve the problem by naming the mapset back to
what it used to be called. Sadly, in this case I don't remember the
original name. Does anybody have a tip as to how I can access the rasters?
g.mremove * finds them, but g.list doesn't. Thanks!

Best,
Daniel

--
B.Sc. Daniel Lee
Geschäftsführung für Forschung und Entwicklung
ISIS - International Solar Information Solutions
Vertreten durch: Daniel Lee, Nepomuk Reinhard und Paul Gaus

Deutschhausstr. 10
35037 Marburg
Festnetz: +49 6421 379 6256
Mobil: +49 176 6127 7269
E-Mail: Lee at isi-solutions.org
Web: http://www.isi-solutions.org

ISIS wird gefördert durch die Bundesrepublik Deutschland, Zuwendungsgeber:
Bundesministerium für Wirtschaft und Technologie aufgrund eines Beschlusses
des Deutchen Bundestages, sowie durch die Europäiache Union,
Zuwendungsgeber: Europäischer Sozialfonds.
Zusätzliche Unterstützung erhält ISIS von dem Entrepreneurship Cluster
Mittelhessen, der Universität Marburg, dem Laboratory for Climatology and
Remote Sensing und dem GIS-Lab Marburg.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20120102/6e94e63b/attachment.html


More information about the grass-user mailing list