[GRASS-user] Another error with wxpython GUI in RC6 - repeatable
Martin Landa
landa.martin at gmail.com
Sun Apr 13 06:16:15 EDT 2008
Hi,
2008/4/13, geep999 <geep999 at yahoo.co.uk>:
> -there is an error if there is no directory called PERMANENT
> in a directory below the directory where grass63 -wxpython is run
strange I cannot reproduce this error (python 2.4.5, wxpython 2.8.7.1)
rm -r /home/martin/.grassrc6
ls
[nothing]
grass630 -wxpython
[gui starts -> list of locations/mapsets empty]
The patch I sent you didn't help?
BTW, can you install also grass_trunk and check if the same error appears?
Martin
> geep999 wrote:
> >
> > Hi Martin, Glynn & everybody,
> >
> > Problem solved (accidentally!) - not totally sure how.
> > And found a new (to me!) dependency - NumPy.
> >
> > 1/ When I started "grass63 -wxpython" the first few times I was in my home
> > directory.
> > When I got the nasty error messages initially reported I did not have any
> > GIS Data.
> >
> > Later I copied a GIS Data Directory from another PC into $HOME/MountDoom
> > Then:
> > cd $HOME/MountDoom
> > grass63 -wxpython (whilst in $HOME/MountDoom)
> >
> > No more nasty error messages, instead I got this:
> > dad at VMSLACK12_1_RC1:~/MountDoom$ grass63 -wxpython
> > Cleaning up temporary files.....
> > Starting GRASS ...
> > GRASS GUI should be wxpython
> > __________ ___ __________ _______________
> > / ____/ __ \/ | / ___/ ___/ / ____/ _/ ___/
> > / / __/ /_/ / /| | \__ \\_ \ / / __ / / \__ \
> > / /_/ / _, _/ ___ |___/ /__/ / / /_/ // / ___/ /
> > \____/_/ |_/_/ |_/____/____/ \____/___//____/
> >
> > Welcome to GRASS 6.3.0svn (2008)
> > GRASS homepage: http://grass.osgeo.org/
> > This version running thru: Bash Shell (/bin/bash)
> > Help is available with the command: g.manual -i
> > See the licence terms with: g.version -c
> > If required, restart the GUI with: g.gui wxpython
> > When ready to quit enter: exit
> >
> > GRASS 6.3.0svn (MountDoom):~/MountDoom > profile.py:
> > This module requires the NumPy module,
> > which could not be imported. It probably is not installed
> > (it's not part of the standard Python distribution). See the
> > Numeric Python site (http://numpy.scipy.org) for information on
> > downloading source or binaries.
> > GRASS 6.3.0svn (MountDoom):~/MountDoom >
> >
> > 2/ So, I installed this new dependency ;) NumPy.
> > Lo and behold, without so much as a ./configure or make, I find that
> > grass63 -wxpython is running with a shiny new interface.
> >
> > 3/ It seems that launching from within $HOME/MountDoom was somehow the
> > trick that got me started,
> > and stopped the nasty error messages.
> >
> > I note that -wxpython and -tcltk show different Project Locations
> > when launched from my $HOME directory.
> >
> > -tcltk lists all directories in $HOME in the Project Location box
> > -wxpython only lists directory MountDoom in the Project Location box
> >
> > Cheers,
> >
> > Peter
> >
> > Martin Landa-2 wrote:
> >>
> >> Hi,
> >>
> >>> 1/ I tried compiling using --with-python=no --with-wxwidgets
> >>> But with svn revision 30941 I get:
> >>> Errors in:
> >>> /home/dad/grass63_release_build/grass63_release/gui/wxpython/vdigit
> >>> --
> >>> In case of errors please change into the directory with error and run
> >>> 'make'.
> >>
> >> now should be fixed in trunk and releasebranch_63, see
> >>
> >> http://trac.osgeo.org/grass/changeset/30951
> >>
> >> when you run
> >>
> >> svn up
> >> ./configure ... --with-python=no ...
> >>
> >> vdigit will be not compiled, i.e. it requires both --with-python and
> >> --with-wxwidgets.
> >>
> >>> So it seems that to have the wxPython gui I need to have swig
> >>> installed.
> >>
> >> No, swig is need only for compilation of vector digitizer, wxGUI
> >> (without digitizer) is installed regardless of any configuration
> >> switch.
> >>
> >> Martin
> >>
> >> --
> >> 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
> >>
> >>
> >
> >
>
>
> --
> View this message in context: http://www.nabble.com/Another-error-with-wxpython-GUI-in-RC6-tp16627913p16656755.html
> Sent from the Grass - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> 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 *
More information about the grass-user
mailing list