ODP: [GRASS-user] tiger and wxgrass prolem
Adam Dershowitz
adershowitz at exponent.com
Thu Feb 21 13:58:09 EST 2008
I had the same problem. What worked for me, with Grass 6.3RC4
installed in Applications was to do this at the command line:
sudo cp /Applications/GRASS-6.3.app/Contents/MacOS/etc/wx/gui_modules/
grass-interface.dtd /Applications/GRASS-6.3.app/Contents/MacOS/etc/
grass-interface.dtd
--Adam
On Feb 21, 2008, at 9:24 AM, Maciej Tomaszczyk wrote:
> Hi
> thanks for the answer but i still dont know what exactly i should do.
> Could you describe it more extensive
> Thanks in advance
> best regards
> mt
>
> Maciej Tomaszczyk
> Polish Geological Institute
> Geological Mapping Department
> http://www.pgi.gov.pl
> http://www.opengeology.pl
>
>
>
> -----Wiadomość oryginalna-----
> Od: Martin Landa [mailto:landa.martin at gmail.com]
> Wysłano: Cz 2008-02-21 17:02
> Do: Maciej Tomaszczyk
> DW: grass-user at lists.osgeo.org
> Temat: Re: [GRASS-user] tiger and wxgrass prolem
>
> Hi,
>
> copy grass-interface.dtd from gui/xml to $GISBASE/xml, see
>
> http://trac.osgeo.org/grass/browser/grass/trunk/gui/xml
>
> already fixed in SVN.
>
> Martin
>
>
> 2008/2/20, Maciej Tomaszczyk <mtom at pgi.gov.pl>:
> >
> >
> >
> > Hi
> >
> > I have some problem with wxgrass on Tiger (intel).
> > I use Grass6.3RC4 (William Kyngesburye binaries).
> > When i want to add layer i get message:
> >
> >
> >
> > Traceback (most recent call last):
> > File
> > "/Applications/GRASS-6.3.app/Contents/MacOS/etc/wx/wxgui.py",
> > line 1072, in addVector
> > self.curr_page.maptree.AddLayer('vector')
> > File
> > "/Applications/GRASS-6.3.app/Contents/MacOS/etc/wx/gui_modules/
> wxgui_utils.py",
> > line 529, in AddLayer
> > self.PropertiesDialog(layer, show=True)
> > File
> > "/Applications/GRASS-6.3.app/Contents/MacOS/etc/wx/gui_modules/
> wxgui_utils.py",
> > line 583, in PropertiesDialog
> > parentframe=self)
> > File
> > "/Applications/GRASS-6.3.app/Contents/MacOS/etc/wx/gui_modules/
> menuform.py",
> > line 1246, in ParseCommand
> > xml.sax.parseString( getInterfaceDescription(cmd[0]),
> > handler )
> > File
> > "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/
> xml/sax/__init__.py",
> > line 49, in parseString
> > parser.parse(inpsrc)
> > File
> > "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/
> xml/sax/expatreader.py",
> > line 107, in parse
> > xmlreader.IncrementalParser.parse(self, source)
> > File
> > "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/
> xml/sax/xmlreader.py",
> > line 123, in parse
> > self.feed(buffer)
> > File
> > "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/
> xml/sax/expatreader.py",
> > line 207, in feed
> > self._parser.Parse(data, isFinal)
> > File
> > "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/
> xml/sax/expatreader.py",
> > line 381, in external_entity_ref
> > "")
> > File
> > "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/
> xml/sax/saxutils.py",
> > line 298, in prepare_input_source
> > f = urllib.urlopen(source.getSystemId())
> > File
> > "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/
> urllib.py",
> > line 82, in urlopen
> > return opener.open(url)
> > File
> > "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/
> urllib.py",
> > line 190, in open
> > return getattr(self, name)(url)
> > File
> > "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/
> urllib.py",
> > line 459, in open_file
> > return self.open_local_file(url)
> > File
> > "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/
> urllib.py",
> > line 473, in open_local_file
> > raise IOError(e.errno, e.strerror, e.filename)
> > IOError: [Errno 2] No such file or directory:
> > '/Applications/GRASS-6.3.app/Contents/MacOS/etc/grass-interface.dtd'
> >
> > Thanks in advance for help
> >
> > best regards
> > maciej
> >
> > Maciej Tomaszczyk
> > Polish Geological Institute
> > Geological Mapping Department
> > http://www.pgi.gov.pl
> > http://www.opengeology.pl
> >
> >
> > _______________________________________________
> > grass-user mailing list
> > grass-user at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/grass-user
> >
> >
>
>
> --
> Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/
> ~landa *
>
>
>
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20080221/09b9d7a1/attachment.html
More information about the grass-user
mailing list