tcltkgrass errors

It is becoming a torment :slight_smile:

I am using a Sun SparcStation20 running Solaris 2.6, under CDE. I
downloaded from linuxapps a small scientific calculator (MoCalc)
developed in TclTk. I downloaded and installed it as normal user, not
root, and it works.

So it has to be something related to tcltkgrass, right?

I am clueless now. What else can it be? Is there any Solaris user out
there that can give some advice?

thank you
stefano maffulli

Markus Neteler wrote:

Hi Stefano,

well, what platform are you using? I guess there is somewere
an error with permission. The tcltkgrass is very friendly, it
does not write anything as far as I know.

Perhaps you try another tcl/tk software if it works. You need
an application using tcl/tk 8.0 (comparing to tcltkgrass).
Perhaps then you find the problem.

tcltksoftware you may find there: www.linuxapps.com

Cheers

Markus

On Mon, Aug 16, 1999 at 08:04:50AM -0100, arch. Stefano Maffulli wrote:

I am only able to run tcltkgrass
interface if I login as root!
If I login as another user it starts
drawing a window, then it stops and gives the error:

Mapset <stef> in Location <leics>
GRASS-GRID > Error in startup script: couldn't create error file for
command: no such file or directory

    while executing
"exec xwininfo -id [winfo id .w_g] | grep -i Corners"
    (file "/usr/local/grass42/tcltkgrass/main/gui.tcl" line 1511)
    invoked from within
"source $env(TCLTKGRASSBASE)/main/gui.tcl"
    (file "/usr/local/grass42/bin/tcltkgrass" line 17)

I checked the permission for /tmp and it seems ok: owner+group+other has
rwx permissions. Also the program xwininfo works if invoked.

What else can it be?

Some environment variable, like PATHs, TCLTKGRASSBASE might be different
vor the user and for root. Check the output of the "set" command and
compare it.

On Mon, Aug 16, 1999 at 12:48:35PM -0100, arch. Stefano Maffulli wrote:

I am clueless now. What else can it be? Is there any Solaris user out
there that can give some advice?

It is hard to do that, without actually looking into your problem on
your particular machine.

You might consider a fresh new install, to see if the problems are still
there.
    
  Bernhard

--
Research Assistant, Geog Dept UM-Milwaukee, USA. (www.uwm.edu/~bernhard)
Association for a Free Informational Infrastructure (ffii.org)

I had a similar, yet not identical, experience once. I finally found that
the problem was the .tmp (hidden dir) in my mapset that had root only
permissions. Its worth checking...

On Mon, 16 Aug 1999, Bernhard Reiter wrote:

On Mon, Aug 16, 1999 at 08:04:50AM -0100, arch. Stefano Maffulli wrote:
> I am only able to run tcltkgrass
> interface if I login as root!
> If I login as another user it starts
> drawing a window, then it stops and gives the error:
>
> Mapset <stef> in Location <leics>
> GRASS-GRID > Error in startup script: couldn't create error file for
> command: no such file or directory

> while executing
> "exec xwininfo -id [winfo id .w_g] | grep -i Corners"
> (file "/usr/local/grass42/tcltkgrass/main/gui.tcl" line 1511)
> invoked from within
> "source $env(TCLTKGRASSBASE)/main/gui.tcl"
> (file "/usr/local/grass42/bin/tcltkgrass" line 17)
>
> I checked the permission for /tmp and it seems ok: owner+group+other has
> rwx permissions. Also the program xwininfo works if invoked.
>
> What else can it be?

Some environment variable, like PATHs, TCLTKGRASSBASE might be different
vor the user and for root. Check the output of the "set" command and
compare it.

On Mon, Aug 16, 1999 at 12:48:35PM -0100, arch. Stefano Maffulli wrote:
> I am clueless now. What else can it be? Is there any Solaris user out
> there that can give some advice?

It is hard to do that, without actually looking into your problem on
your particular machine.

You might consider a fresh new install, to see if the problems are still
there.
    
  Bernhard

--
Research Assistant, Geog Dept UM-Milwaukee, USA. (www.uwm.edu/~bernhard)
Association for a Free Informational Infrastructure (ffii.org)

hello all

I finally solved the problem with TclTkGrass under Solaris 2.6: it was
due to a write permission problem in the dir /var/tmp. I originally
thought that the temp dir was /tmp, but this doesn't seem the sun's idea
:slight_smile:

I had to change the owner of the dir to allow root to change the
permissions (it belonged to 310 ?!? wonder what that is :-)) Now all
works fine. I discovered the trap trying to view the set output with vi
and vi complained that could not write to /var/tmp.

Thank you for your patience

Stefano Maffulli

"Jeff P. Hollenbeck" wrote:

I had a similar, yet not identical, experience once. I finally found that
the problem was the .tmp (hidden dir) in my mapset that had root only
permissions. Its worth checking...

On Mon, 16 Aug 1999, Bernhard Reiter wrote:

> On Mon, Aug 16, 1999 at 08:04:50AM -0100, arch. Stefano Maffulli wrote:
> > I am only able to run tcltkgrass
> > interface if I login as root!
> > If I login as another user it starts
> > drawing a window, then it stops and gives the error:
> >
> > Mapset <stef> in Location <leics>
> > GRASS-GRID > Error in startup script: couldn't create error file for
> > command: no such file or directory
>
> > while executing
> > "exec xwininfo -id [winfo id .w_g] | grep -i Corners"
> > (file "/usr/local/grass42/tcltkgrass/main/gui.tcl" line 1511)
> > invoked from within
> > "source $env(TCLTKGRASSBASE)/main/gui.tcl"
> > (file "/usr/local/grass42/bin/tcltkgrass" line 17)
> >
> > I checked the permission for /tmp and it seems ok: owner+group+other has
> > rwx permissions. Also the program xwininfo works if invoked.
> >
> > What else can it be?
>
> Some environment variable, like PATHs, TCLTKGRASSBASE might be different
> vor the user and for root. Check the output of the "set" command and
> compare it.
>
> On Mon, Aug 16, 1999 at 12:48:35PM -0100, arch. Stefano Maffulli wrote:
> > I am clueless now. What else can it be? Is there any Solaris user out
> > there that can give some advice?
>
> It is hard to do that, without actually looking into your problem on
> your particular machine.
>
> You might consider a fresh new install, to see if the problems are still
> there.
>
> Bernhard
>
> --
> Research Assistant, Geog Dept UM-Milwaukee, USA. (www.uwm.edu/~bernhard)
> Association for a Free Informational Infrastructure (ffii.org)
>