Details:
Error: Unable to open database
<C:/DocumentsandSettings/Hamish/grassdata/spearfish60/PERMANENT/dbf/>
}}}
perhaps it is something to do with the spaces being stripped out of
"DocumentsandSettings" ??
after that the map renders ok, but I get the same error if I try to query
the vector map.
querying the elevation.10m raster map spits out some error messages to the
output window but then scrolls away and gives good data. (sorry already
gone, no cut&paste)
attempting to try out these changes by copying in wxgui.py, gis_set.py,
and the gui_modules/ dir from SVN over the top of the OSGeo4W 6.4.0rc3
files on the Windows machine. When I try to start GRASS I get this error:
{{{
Traceback (most recent call last):
File "C:/OSGeo4W/apps/grass/grass-6.4.0RC3/etc/wxpython/gis_set.py",
line 816,
in <module>
GRASSStartUp = StartUp(0)
File "C:\OSGeo4W\apps\Python25\lib\site-packages\wx-2.8-msw-
unicode\wx\_core.py", line 7935, in __init__
self._BootstrapApp()
File "C:\OSGeo4W\apps\Python25\lib\site-packages\wx-2.8-msw-
unicode\wx\_core.py", line 7509, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
File "C:/OSGeo4W/apps/grass/grass-6.4.0RC3/etc/wxpython/gis_set.py",
line 799,
in OnInit
StartUp = GRASSStartup()
File "C:/OSGeo4W/apps/grass/grass-6.4.0RC3/etc/wxpython/gis_set.py",
line 156,
in __init__
self._set_properties()
File "C:/OSGeo4W/apps/grass/grass-6.4.0RC3/etc/wxpython/gis_set.py",
line 195,
in _set_properties
self.OnSetDatabase(None)
File "C:/OSGeo4W/apps/grass/grass-6.4.0RC3/etc/wxpython/gis_set.py",
line 639,
in OnSetDatabase
self.OnSelectLocation(None)
File "C:/OSGeo4W/apps/grass/grass-6.4.0RC3/etc/wxpython/gis_set.py",
line 604,
in OnSelectLocation
self.listOfLocations[self.lblocations.GetSelection()]))
File "C:/OSGeo4W/apps/grass/grass-6.4.0RC3/etc/wxpython/gis_set.py",
line 574,
in UpdateMapsets
for line in mapsets.ReadStdOutput():
AttributeError: Command instance has no attribute 'ReadStdOutput'
Traceback (most recent call last):
File "C:/OSGeo4W/apps/grass/grass-6.4.0RC3/etc/wxpython/wxgui.py", line
70, in
<module>
import gui_modules.wxgui_utils as wxgui_utils
File
"C:\OSGeo4W\apps\grass\grass-6.4.0RC3\etc\wxpython\gui_modules\wxgui_utils.py",
line 38, in <module>
import mapdisp
File
"C:\OSGeo4W\apps\grass\grass-6.4.0RC3\etc\wxpython\gui_modules\mapdisp.py",
line 54, in <module>
import toolbars
File
"C:\OSGeo4W\apps\grass\grass-6.4.0RC3\etc\wxpython\gui_modules\toolbars.py",
line 36, in <module>
from icon import Icons as Icons
File "C:\OSGeo4W\apps\grass\grass-6.4.0RC3\etc\wxpython\icons\icon.py",
line 31, in <module>
import grassenv
ImportError: No module named grassenv
Press any key to continue . . .
}}}
Do you mean to copy from trunk/devbr6? If so, don't copy, but merge the
changes - wxGUI changed a lot since relbr64, 'grassenv' has been removed
from trunk and devbr6.
Replying to [comment:3 martinl]:
> Do you mean to copy from trunk/devbr6? If so, don't copy, but merge the
changes - wxGUI changed a lot since relbr64, 'grassenv' has been removed
from trunk and devbr6.
Replying to [comment:4 martinl]:
> Copying files from relbr64 should work.
ok, I tried again with full dir, seemed to start up ok this time.
adding vector maps works without error, as does querying vector and raster
maps.
I notice trying to Query vector map (edit mode) for roads@PERMANENT
[spearfish] gives me a pop up window error about not being able to find
the DBF file, and if I try again I get a traceback error in the Command
Output window. It should error-out if the map in not in the current mapset
(perhaps at the module level?) as @othermapset should always be read-only.
strangely the rendered map in the map display canvas became smaller while
I was doing these tests (first just a sliver on the right, then when I hit
the eyeball redraw button about 1/2 the canvas width). [Render is
ticked] Zoom to selected map didn't help, needed to fully use the zoom
_(+) tool.
aaaaaaaaah, the surviving part of the map display is that which IS
overlapped by the Layer Manager window when I change the "Comand output"
tab to "map layers for display" then put the Map display window back on
top. very weird. "Re-render map" doesn't help, but the pan tool does.
Again: clicking the eyeball makes the unoverlapped part disappear. now it
works. strange, maybe change of map (roads(vect)/elevation.10m) is part of
it. ??
hmmph, oh well. something to keep an eye out for.
Replying to [comment:5 hamish]:
> I notice trying to Query vector map (edit mode) for roads@PERMANENT
[spearfish] gives me a pop up window error about not being able to find
the DBF file, and if I try again I get a traceback error in the Command
Output window. It should error-out if the map in not in the current mapset
(perhaps at the module level?) as @othermapset should always be read-only.
in r36092 is added check for vector map mapset, in the result it's
possible to query in this mode only vector maps from the current mapset.