[GRASS-user] problem with display monitors on mac

Hello

I have problem with display monitors(d.m manager), when i want to display anything i get message;

child process exited abnormally
child process exited abnormally
while executing
“exec – d.mon start=x0 >@ stdout 2>@ stderr”
(“eval” body line 1)
invoked from within
“eval exec – $cmd $args >@ stdout 2>@ stderr”
(procedure “run” line 2)
invoked from within
"run “d.mon start=x0"”
(procedure “Dm::monitor” line 10)
invoked from within
“Dm::monitor”
(procedure “Dm::display” line 6)
invoked from within
“Dm::display”
(“uplevel” body line 1)
invoked from within
“uplevel #0 $cmd”
(procedure “Button::_release” line 18)
invoked from within
“Button::_release .mainframe.topf.tb0.bbox1.b0”
(command bound to event)

I tried d.mon command and got message:

GRASS 6.2.1 (klodawa_nowa):~ > d.mon start=x0
ERROR: no such monitor ‘x0’
No such monitor as ‘x0’
Problem selecting x0. Will try once more
No such monitor as ‘x0’

gis.m manager works properly

I installed grass using binaries provided by Lorenzo Moretti
My OS is Tiger

Is it posible to fix it?

regards

Maciej Tomaszczyk
Polish Geological Institute
Geological Mapping Department

Is X11 running? I'm not sure about Larenzo's binaries, but X11 might not start automatically.

If gis.m works, then you may be using the Aqua interface, which doesn't need X11, but all the d.* commands need it still.

I'm not sure of the operational status of d.m, though. gis.m should fully replace d.m functionality. It may be that d.m doesn't work in Aqua mode.

I find that TclTk Aqua has usability problems - not all controls have been Aquafied (like the sliders), and are larger than on other platforms so layout gets slightly messed up, and NVIZ has occassional problems. So I always recommend sticking to X11 for GRASS.

On Jun 3, 2007, at 12:40 PM, Maciej Tomaszczyk wrote:

Hello

I have problem with display monitors(d.m manager), when i want to display anything i get message;

child process exited abnormally
    while executing
"exec -- d.mon start=x0 >@ stdout 2>@ stderr"
    ("eval" body line 1)
    invoked from within
"eval exec -- $cmd $args >@ stdout 2>@ stderr"
    (procedure "run" line 2)
    invoked from within
"run "d.mon start=x0""
    (procedure "Dm::monitor" line 10)
    invoked from within
"Dm::monitor"
    (procedure "Dm::display" line 6)
    invoked from within
"Dm::display"
    ("uplevel" body line 1)
    invoked from within
"uplevel \#0 $cmd"
    (procedure "Button::_release" line 18)
    invoked from within
"Button::_release .mainframe.topf.tb0.bbox1.b0"
    (command bound to event)

I tried d.mon command and got message:

GRASS 6.2.1 (klodawa_nowa):~ > d.mon start=x0
ERROR: no such monitor 'x0'
No such monitor as 'x0'
Problem selecting x0. Will try once more
No such monitor as 'x0'

gis.m manager works properly

I installed grass using binaries provided by Lorenzo Moretti
My OS is Tiger

Is it posible to fix it?

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"Those people who most want to rule people are, ipso-facto, those least suited to do it."

- A rule of the universe, from the HitchHiker's Guide to the Galaxy

I tried to run grass with X11 and got the same error. There is a problem with nviz also.
I installed Lorenzo binaries becouse i want run qgis in grass. Before, i used binaries provided by you
but qgis did not work in grass. Now i have full functionality of qgis but dont have d.m and nviz.
Is it possible to install both version of grass(your and Lorenzo). After i installed Lorenzos binaries
yours stoped work.
regards
maciej

Maciej Tomaszczyk
Polish Geological Institute
Geological Mapping Department

-----Wiadomość oryginalna-----
Od: William Kyngesburye [mailto:woklist@kyngchaos.com]
Wysłano: N 2007-06-03 20:07
Do: Maciej Tomaszczyk
DW: grassuser@grass.itc.it
Temat: Re: [GRASS-user] problem with display monitors on mac

Is X11 running? I’m not sure about Larenzo’s binaries, but X11 might
not start automatically.

If gis.m works, then you may be using the Aqua interface, which
doesn’t need X11, but all the d.* commands need it still.

I’m not sure of the operational status of d.m, though. gis.m should
fully replace d.m functionality. It may be that d.m doesn’t work in
Aqua mode.

I find that TclTk Aqua has usability problems - not all controls have
been Aquafied (like the sliders), and are larger than on other
platforms so layout gets slightly messed up, and NVIZ has occassional
problems. So I always recommend sticking to X11 for GRASS.

On Jun 3, 2007, at 12:40 PM, Maciej Tomaszczyk wrote:

Hello

I have problem with display monitors(d.m manager), when i want to
display anything i get message;

child process exited abnormally
child process exited abnormally
while executing
“exec – d.mon start=x0 >@ stdout 2>@ stderr”
(“eval” body line 1)
invoked from within
“eval exec – $cmd $args >@ stdout 2>@ stderr”
(procedure “run” line 2)
invoked from within
"run “d.mon start=x0"”
(procedure “Dm::monitor” line 10)
invoked from within
“Dm::monitor”
(procedure “Dm::display” line 6)
invoked from within
“Dm::display”
(“uplevel” body line 1)
invoked from within
“uplevel #0 $cmd”
(procedure “Button::_release” line 18)
invoked from within
“Button::_release .mainframe.topf.tb0.bbox1.b0”
(command bound to event)

I tried d.mon command and got message:

GRASS 6.2.1 (klodawa_nowa):~ > d.mon start=x0
ERROR: no such monitor ‘x0’
No such monitor as ‘x0’
Problem selecting x0. Will try once more
No such monitor as ‘x0’

gis.m manager works properly

I installed grass using binaries provided by Lorenzo Moretti
My OS is Tiger

Is it posible to fix it?


William Kyngesburye <kyngchaosatkyngchaosdotcom>
http://www.kyngchaos.com/

“Those people who most want to rule people are, ipso-facto, those
least suited to do it.”

  • A rule of the universe, from the HitchHiker’s Guide to the Galaxy

On Jun 3, 2007, at 1:43 PM, Maciej Tomaszczyk wrote:

I tried to run grass with X11 and got the same error. There is a problem with nviz also.
I installed Lorenzo binaries becouse i want run qgis in grass. Before, i used binaries provided by you
but qgis did not work in grass. Now i have full functionality of qgis but dont have d.m and nviz.

Mine should run fine WITH Qgis, but I'm not sure about running Qgis from WITHIN my GRASS. I usually (when I use Qgis, which is seldom) run Qgis and open GRASS mapsets from there. How doesn't it work running Qgis from GRASS? You might ask the list, there are other Mac users who use Qgis and GRASS who might be able to help.

If it's just a matter of not finding Qgis from the GRASS Terminal, then it just means you need to specify the path to the Qgis executable, inside the Qgis app package. I think Lorenzo added a script to simplify this.

Is it possible to install both version of grass(your and Lorenzo). After i installed Lorenzos binaries
yours stoped work.

Well, they are physically separate, so it's possible Lorenzo's installer did something to your .bash_profile that is interfering with mine running. How is mine broken after installing Lorenzo's?

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"I ache, therefore I am. Or in my case - I am, therefore I ache."

- Marvin

How is mine broken after installing Lorenzo’s?

Welcome to Darwin!
/Volumes/GRASS.app\ 6.3.CVS/GRASS.app/Contents/Resources/grass.sh; exit
trolls-computer:~ troll$ /Volumes/GRASS.app\ 6.3.CVS/GRASS.app/Contents/Resources/grass.sh; exit
usage: dirname path
cut: /etc/VERSIONNUMBER: No such file or directory
/Volumes/GRASS.app 6.3.CVS/GRASS.app/Contents/Resources/grass.sh: line 80: /etc/build_html_user_index.sh: No such file or directory
/Volumes/GRASS.app 6.3.CVS/GRASS.app/Contents/Resources/grass.sh: line 86: /etc/Init.sh: No such file or directory
/Volumes/GRASS.app 6.3.CVS/GRASS.app/Contents/Resources/grass.sh: line 86: exec: /etc/Init.sh: cannot execute: No such file or directory
logout
[Process completed]

-----<
William Kyngesburye <kyngchaosatkyngchaosdotcom>
http://www.kyngchaos.com/

“I ache, therefore I am. Or in my case - I am, therefore I ache.”

  • Marvin

i managed to run X11 grass, now everything work ok:)
thx for help
next time i should read install manual before i say “it doesnt work”:slight_smile:
best regards

Maciej Tomaszczyk
Polish Geological Institute
Geological Mapping Department

-----Wiadomość oryginalna-----
Od: William Kyngesburye [mailto:woklist@kyngchaos.com]
Wysłano: N 2007-06-03 21:41
Do: Maciej Tomaszczyk
DW: grassuser@grass.itc.it
Temat: Re: PD: [GRASS-user] problem with display monitors on mac

On Jun 3, 2007, at 1:43 PM, Maciej Tomaszczyk wrote:

I tried to run grass with X11 and got the same error. There is a
problem with nviz also.
I installed Lorenzo binaries becouse i want run qgis in grass.
Before, i used binaries provided by you
but qgis did not work in grass. Now i have full functionality of
qgis but dont have d.m and nviz.
Mine should run fine WITH Qgis, but I’m not sure about running Qgis
from WITHIN my GRASS. I usually (when I use Qgis, which is seldom)
run Qgis and open GRASS mapsets from there. How doesn’t it work
running Qgis from GRASS? You might ask the list, there are other Mac
users who use Qgis and GRASS who might be able to help.

If it’s just a matter of not finding Qgis from the GRASS Terminal,
then it just means you need to specify the path to the Qgis
executable, inside the Qgis app package. I think Lorenzo added a
script to simplify this.

Is it possible to install both version of grass(your and Lorenzo).
After i installed Lorenzos binaries
yours stoped work.

Well, they are physically separate, so it’s possible Lorenzo’s
installer did something to your .bash_profile that is interfering
with mine running. How is mine broken after installing Lorenzo’s?


William Kyngesburye <kyngchaosatkyngchaosdotcom>
http://www.kyngchaos.com/

“I ache, therefore I am. Or in my case - I am, therefore I ache.”

  • Marvin

On Jun 3, 2007, at 4:43 PM, Maciej Tomaszczyk wrote:

>How is mine broken after installing Lorenzo's?

Welcome to Darwin!
/Volumes/GRASS.app\ 6.3.CVS/GRASS.app/Contents/Resources/grass.sh; exit
trolls-computer:~ troll$ /Volumes/GRASS.app\ 6.3.CVS/GRASS.app/Contents/Resources/grass.sh; exit
usage: dirname path
cut: /etc/VERSIONNUMBER: No such file or directory
/Volumes/GRASS.app 6.3.CVS/GRASS.app/Contents/Resources/grass.sh: line 80: /etc/build_html_user_index.sh: No such file or directory
/Volumes/GRASS.app 6.3.CVS/GRASS.app/Contents/Resources/grass.sh: line 86: /etc/Init.sh: No such file or directory
/Volumes/GRASS.app 6.3.CVS/GRASS.app/Contents/Resources/grass.sh: line 86: exec: /etc/Init.sh: cannot execute: No such file or directory
logout
[Process completed]

Ah, you moved my GRASS before installing Lorenzo's? I had a quoting problem in the OSX startup that is fixed in recent versions. Older versions of 6.3CVS and I think all 6.2 versions also have a problem running the GUI when there is a space in the path - there was a quoting problem that was fixed, and I don't know if it was backported to 6.2. My recent 6.3 CVS build should be fine with this. 6.2.x kinda runs - the GUI won't start (I think that was the problem).

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

Earth: "Mostly harmless"

- revised entry in the HitchHiker's Guide to the Galaxy