Very strange things happening here and I don't understand.

1.  I ran make install in the src directory and it finished without error.  
grass78 is in /usr/local/bin as it should be.  But running grass78 from this 
directory produces this output:

(base) [root@godelsrevenge ~]# /usr/local/bin/grass78 --gui
Starting GRASS GIS...
ERROR: wxGUI requires wxPython. No module named 'wx'
You can still use GRASS GIS modules in the command line or in Python.
ERROR: Error in GUI startup. See messages above (if any) and if necessary, 
please report this error to the GRASS developers.
On systems with package manager, make sure you have the right GUI package, 
probably named grass-gui, installed.
To run GRASS GIS in text mode use the --text flag.
Use '--help' for further options
     grass78 --help
See also: https://grass.osgeo.org/grass78/manuals/helptext.html
Exiting...
(base) [root@godelsrevenge ~]#

Checking for wxPython produces this:

(base) [root@godelsrevenge ~]# find / -name wxPython
find: File system loop detected; ‘/run/media/root/fedora_fedora5/root’ is part 
of the same file system loop as ‘/’.
find: File system loop detected; ‘/run/media/root/fedora_fedora4/root’ is part 
of the same file system loop as ‘/’.
find: File system loop detected; ‘/run/media/root/fedora_fedora3/root’ is part 
of the same file system loop as ‘/’.
find: File system loop detected; ‘/run/media/root/fedora_fedora2/root’ is part 
of the same file system loop as ‘/’.
find: File system loop detected; ‘/run/media/root/fedora_fedora1/root’ is part 
of the same file system loop as ‘/’.
find: File system loop detected; ‘/run/media/root/fedora_fedora/root’ is part 
of the same file system loop as ‘/’.
/usr/lib64/python3.9/site-packages/wx/include/wxPython

The source file for grass-7.8.5 is at : /grass-7.8.5 NOT /root/grass-7.8.5.

Next I checked echo $PATH and received this message:

(base) [root@godelsrevenge ~]# echo $PATH
/usr/lib64/python3.9/site-packages/wx/include:/root/anaconda3/bin:/root/anaconda3/condabin:/usr/lib64/python3.9/site-packages/wx/include:/usr/lib64/ccache:/usr/local/sbin:/usr/sbin:/usr/local/bin:/usr/bin:/bin
(base) [root@godelsrevenge ~]#


but here's my .bashrc file:

# .bashrc

# Source global definitions
if [ -f /etc/bashrc ]; then
        . /etc/bashrc
fi

# User specific environment

# Uncomment the following line if you don't like systemctl's auto-paging 
feature:
# export SYSTEMD_PAGER=

# User specific aliases and functions

alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'

# >>> Export for wxPython >>>
export PATH="/usr/lib64/python3.9/site-packages/wx/include:$PATH"

# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/root/anaconda3/bin/conda' 'shell.bash' 'hook' 2> 
/dev/null)"
if [ $? -eq 0 ]; then
    eval "$__conda_setup"
else
    if [ -f "/root/anaconda3/etc/profile.d/conda.sh" ]; then
        . "/root/anaconda3/etc/profile.d/conda.sh"
    else
        export PATH="/root/anaconda3/bin:$PATH"
    fi
fi
unset __conda_setup
# <<< conda initialize <<<


So what is the origin of that long line of PATH directories when they don't 
appear in the .bashrc file?  (I checked to make sure I was running bash).

And if /usr/local/bin contains grass78 and wxPython is located in 
/usr/lib64/python3.9/site-packages/wx/includes then why is grass78 missing the 
wxPython file?

And I also checked using find / -name grass-gui and came up with nothing, that 
is grass-gui is missing.

I hope I've included enough detail to help with this.


Michael Allen
Industrial Weather
763-777-1263

Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Sunday, December 27, 2020 8:00 PM, Rich Shepard <rshep...@appl-ecosys.com> 
wrote:

&gt; On Sun, 27 Dec 2020, mdwxman wrote:
&gt;
&gt; &gt; And that's a very good idea! I just went through the process of 
creating a(base) [root@godelsrevenge ~]# find / -name wxPython
find: File system loop detected; ‘/run/media/root/fedora_fedora5/root’ is part 
of the same file system loop as ‘/’.
find: File system loop detected; ‘/run/media/root/fedora_fedora4/root’ is part 
of the same file system loop as ‘/’.
find: File system loop detected; ‘/run/media/root/fedora_fedora3/root’ is part 
of the same file system loop as ‘/’.
find: File system loop detected; ‘/run/media/root/fedora_fedora2/root’ is part 
of the same file system loop as ‘/’.
find: File system loop detected; ‘/run/media/root/fedora_fedora1/root’ is part 
of the same file system loop as ‘/’.
find: File system loop detected; ‘/run/media/root/fedora_fedora/root’ is part 
of the same file system loop as ‘/’.
/usr/lib64/python3.9/site-packages/wx/include/wxPython
(
&gt; &gt; link to the GRASS78 file. Your idea is something I never considered. I
&gt; &gt; guess too many years of managing Unix and Linux systems with command 
lines
&gt; &gt; has stopped the creative juices from using the GUIs that were put 
there
&gt; &gt; for everyone's benefit!
&gt;
&gt; Mike,
&gt;
&gt; Your method of invoking grass should reflect how you want to work with it.
&gt; I've been using grass since version 4.0 (integer numbers only) and most of
&gt; the time work strictly from the command line. Now and then I want to use 
the
&gt; GUI so I'll start it that way ... from the command line.
&gt;
&gt; You can select how it starts by, for example, $ grass79 -text or $ grass73
&gt; -gui (I beta test the development builds by using them when I do spatial
&gt; analyses.
&gt;
&gt; The list of command line startup options is on a document page. I don't 
know
&gt; which one now that the web site's been restructured.
&gt;
&gt; Stay well,
&gt;
&gt; Rich
&gt;
&gt; grass-user mailing list
&gt; grass-user@lists.osgeo.org
&gt; https://lists.osgeo.org/mailman/listinfo/grass-user

</rshep...@appl-ecosys.com>
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to