[GRASS-dev] Clicking on a text layer in GIS manager gives tcl error

Hi,

If I add a text layer to gis.m and click on it, I get the following error:

invalid command name "<<<<<<<"
invalid command name "<<<<<<<"
    while executing
"<<<<<<< dtext.tcl"
    (procedure "GmDtext::options" line 3)
    invoked from within
"GmDtext::options $id $opt"
    ("dtext" arm line 2)
    invoked from within
"switch $type {
        raster {
            GmRaster::options $id $opt
        }
        vector {
            GmVector::options $id $opt
        }
   ..."
    (procedure "GmTree::select" line 14)
    invoked from within
"GmTree::select $node"
    (procedure "GmTree::selectn" line 7)
    invoked from within
"GmTree::selectn .mainframe.frame.pw1.f0.frame.pgs.fpage_1.sw.tree_1 [string range [lindex [.mainframe.frame.pw1.f0.frame.pgs.fpage_1.sw.tree_1:cmd get..."
    (command bound to event)

Can anyone confirm this error? I'm using Grass 6.3, cvs updated Novmeber 30th.

~ Eric.

Hmm, I didn't get any cvs errors during update. Should I blow away my cvs directory and do a fresh checkout instead?

~ Eric.

-----Original Message-----
From: tlaronde@polynum.com
To: Patton, Eric
Sent: 11/30/2006 10:18 AM
Subject: Re: [GRASS-dev] Clicking on a text layer in GIS manager gives tcl error

Hello,

On Thu, Nov 30, 2006 at 09:18:21AM -0500, Patton, Eric wrote:

Hi,

If I add a text layer to gis.m and click on it, I get the following

error:

invalid command name "<<<<<<<"
invalid command name "<<<<<<<"
    while executing
"<<<<<<< dtext.tcl"

Your sources have conflicts from a cvs update (the update failed and the
"<<<<<<<" are the lines where they were conflicts during cvs update).

You need to correct these (and the method depends on whether you have
local changes or not).

HTH
--
Thierry Laronde (Alceste) <tlaronde +AT+ polynum +dot+ com>
                 http://www.kergis.com/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C

On 11/30/06 7:18 AM, "Patton, Eric" <epatton@nrcan.gc.ca> wrote:

If I add a text layer to gis.m and click on it, I get the following error:

invalid command name "<<<<<<<"
invalid command name "<<<<<<<"

I tried this with a cvs version of 6.3 I compiled yesterday and cannot
duplicate it. The "<<<<<<<" command name looks very strange. I can't imagine
where this is coming from.

Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics and Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

Michael,

As Thierry mentioned, deleting my grass6 directory and doing a fresh cvs checkout solved the problem.

BTW, text positioning works great! Thanks,

~ Eric.

-----Original Message-----
From: Michael Barton
To: Patton, Eric; grass-dev@grass.itc.it
Cc: grassuser@grass.itc.it
Sent: 11/30/2006 12:25 PM
Subject: Re: [GRASS-user] Clicking on a text layer in GIS manager gives tcl error

On 11/30/06 7:18 AM, "Patton, Eric" <epatton@nrcan.gc.ca> wrote:

If I add a text layer to gis.m and click on it, I get the following

error:

invalid command name "<<<<<<<"
invalid command name "<<<<<<<"

I tried this with a cvs version of 6.3 I compiled yesterday and cannot
duplicate it. The "<<<<<<<" command name looks very strange. I can't
imagine
where this is coming from.

Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics and Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

On 11/30/06 11:14 AM, "Patton, Eric" <epatton@nrcan.gc.ca> wrote:

Michael,

As Thierry mentioned, deleting my grass6 directory and doing a fresh cvs
checkout solved the problem.

BTW, text positioning works great! Thanks,

Good. I'm happy that the text positioning works. I like it. Have you tried
the legend and scalebar mouse positioning too? Do they work for you?

Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics and Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

Patton, Eric wrote:

> > If I add a text layer to gis.m and click on it, I get the following error:
> >
> > invalid command name "<<<<<<<"
> > invalid command name "<<<<<<<"
> > while executing
> > "<<<<<<< dtext.tcl"
>
> Your sources have conflicts from a cvs update (the update failed and the
> "<<<<<<<" are the lines where they were conflicts during cvs update).
>
> You need to correct these (and the method depends on whether you have
> local changes or not).

Hmm, I didn't get any cvs errors during update.

Conflicts are only reported once; if you miss them the first time, you
won't get any warning on subsequent updates.

Tip: update with:

  cvs update 2>&1 | fgrep -v 'cvs server: Updating '

This makes it much easier to spot "useful" messages.

Should I blow away my cvs directory and do a fresh checkout instead?

Although it's now moot, just deleting the file in question and
updating that file (or directory) will suffice.

--
Glynn Clements <glynn@gclements.plus.com>

Oh yes, those work great as well. The text, scale, and legend positioning tools is great for putting together diagrams, figures, etc. The more I can do in Grass, the less I have to rely on e.g. Inkscape to do the final text tweaking, which saves quite a bit of time.

~ Eric.

-----Original Message-----
From: Michael Barton
To: Patton, Eric; grass-dev@grass.itc.it
Cc: grassuser@grass.itc.it
Sent: 11/30/2006 1:49 PM
Subject: Re: [GRASS-user] Clicking on a text layer in GIS manager gives tcl error

On 11/30/06 11:14 AM, "Patton, Eric" <epatton@nrcan.gc.ca> wrote:

Michael,

As Thierry mentioned, deleting my grass6 directory and doing a fresh

cvs

checkout solved the problem.

BTW, text positioning works great! Thanks,

Good. I'm happy that the text positioning works. I like it. Have you
tried
the legend and scalebar mouse positioning too? Do they work for you?

Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics and Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton