[GRASS-user] v.in.dxf crashes

On Nov 26, 2008, at 10:00 AM, <grass-user-request@lists.osgeo.org> wrote:

Message: 5
Date: Wed, 26 Nov 2008 10:56:30 -0600
From: William Kyngesburye <woklist@kyngchaos.com>
Subject:
To: Kurt Springs <ferret_bard@mac.com>
Cc: GRASS user list <grassuser@grass.itc.it>
Message-ID: <0382A5B6-C4D1-462E-A32E-EC51A09F00DF@kyngchaos.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes

On Nov 26, 2008, at 9:14 AM, Kurt Springs wrote:

On GRASS 6.3 I use X11 on Mac OS X 10.5.5 (aka Leopard). I agree
that the problem is with Active tcl 8.5. Having used the two, I
have found X11 to be much more stable. How easy would it be to
compile a 6.4 to use X11?

Not hard at all...

Actually, except for NVIZ, you don't even have to compile anything. If you have TclTk for x11, you can just set GRASS_WISH to the wish file for that version of TclTk. You need to do this in your bash .profile file and not in the .grassrc6 file. Then all of GRASS will be in the x11 version except for NVIZ.

Michael

Note that not only is the type of TclTk different - Aqua vs X11, but
the version as well: 8.4 X11 for GRASS 6.3, 8.5 Aqua for GRASS 6.4.
Maybe there is an issue with TclTk 8.5?

It's not possible to build a working (for GRASS) TclTk 8.4 Aqua - some
Aqua issues were fixed in 8.5.

I guess the thing to try is TclTk 8.5 X11, to test if it's a version
problem.

Do you have a small DXF that crashes for you that I could test with?

I tried a simple layer and it still crashed. I got the message
"The application Wish quit unexpectedly."
I didn't have this problem with 6.3.

Check for a crashlog in Console.app. This could help. Especially
since it would have some paths to verify which wish is running.

I don't think that the wish related part in GRASS 6.3 was different.
More likely, did you use a different Tcl version?

In Console Messages I get:

11/25/08 1:10:45 PM Terminal[8482] .sdef error: Operation
could not be completed. (NSXMLParserErrorDomain error 1549.)
11/25/08 1:10:45 PM Terminal[8482] line number: 2

Hope this means something to someone.

Searching in the net shows a couple of similar messages, apparently
related to Active tcl 8.5 (and not GRASS).

Markus

ActiveTcl or Aqua TclTk? (google didn't turn up anything for me)

sdef... that's scripting (Applescript) definitions for OSX (Wish.app
is scriptable, to run a Tcl script). ... the AS dictionary for
wish.app opens in Script Editor... Wish.app runs fine alone...
hopefully a crashlog will help...

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

Earth: "Mostly harmless"

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

------------------------------

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

End of grass-user Digest, Vol 31, Issue 59
******************************************

On Nov 26, 2008, at 11:42 AM, Michael Barton wrote:

On Nov 26, 2008, at 10:00 AM, <grass-user-request@lists.osgeo.org> wrote:

Message: 5
Date: Wed, 26 Nov 2008 10:56:30 -0600
From: William Kyngesburye <woklist@kyngchaos.com>
Subject:
To: Kurt Springs <ferret_bard@mac.com>
Cc: GRASS user list <grassuser@grass.itc.it>
Message-ID: <0382A5B6-C4D1-462E-A32E-EC51A09F00DF@kyngchaos.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes

On Nov 26, 2008, at 9:14 AM, Kurt Springs wrote:

On GRASS 6.3 I use X11 on Mac OS X 10.5.5 (aka Leopard). I agree
that the problem is with Active tcl 8.5. Having used the two, I
have found X11 to be much more stable. How easy would it be to
compile a 6.4 to use X11?

Not hard at all...

Actually, except for NVIZ, you don't even have to compile anything. If you have TclTk for x11, you can just set GRASS_WISH to the wish file for that version of TclTk. You need to do this in your bash .profile file and not in the .grassrc6 file. Then all of GRASS will be in the x11 version except for NVIZ.

Michael

Except that I bundle the X11 TclTk into GRASS, while the Aqua TclTk is outside GRASS. Chances are Kurt doesn't have an X11 TclTk hanging around, except what would be in GRASS 6.3.app. Since I built 6.4 for TclTk Aqua, I didn't bundle TclTk X11 into it.

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

"History is an illusion caused by the passage of time, and time is an illusion caused by the passage of history."

- Hitchhiker's Guide to the Galaxy

You are right, he would need to actually *have* a copy of x11 TclTk. However, your instructions for building it (in the GRASS source code) are very good and easy to follow.

Michael
______________________________
C. Michael Barton, Professor of Anthropology
Director of Graduate Studies
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University
Tempe, AZ 85287-2402
USA

voice: 480-965-6262; fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

On Nov 26, 2008, at 11:11 AM, William Kyngesburye wrote:

On Nov 26, 2008, at 11:42 AM, Michael Barton wrote:

On Nov 26, 2008, at 10:00 AM, <grass-user-request@lists.osgeo.org> wrote:

Message: 5
Date: Wed, 26 Nov 2008 10:56:30 -0600
From: William Kyngesburye <woklist@kyngchaos.com>
Subject:
To: Kurt Springs <ferret_bard@mac.com>
Cc: GRASS user list <grassuser@grass.itc.it>
Message-ID: <0382A5B6-C4D1-462E-A32E-EC51A09F00DF@kyngchaos.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes

On Nov 26, 2008, at 9:14 AM, Kurt Springs wrote:

On GRASS 6.3 I use X11 on Mac OS X 10.5.5 (aka Leopard). I agree
that the problem is with Active tcl 8.5. Having used the two, I
have found X11 to be much more stable. How easy would it be to
compile a 6.4 to use X11?

Not hard at all...

Actually, except for NVIZ, you don't even have to compile anything. If you have TclTk for x11, you can just set GRASS_WISH to the wish file for that version of TclTk. You need to do this in your bash .profile file and not in the .grassrc6 file. Then all of GRASS will be in the x11 version except for NVIZ.

Michael

Except that I bundle the X11 TclTk into GRASS, while the Aqua TclTk is outside GRASS. Chances are Kurt doesn't have an X11 TclTk hanging around, except what would be in GRASS 6.3.app. Since I built 6.4 for TclTk Aqua, I didn't bundle TclTk X11 into it.

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

"History is an illusion caused by the passage of time, and time is an illusion caused by the passage of history."

- Hitchhiker's Guide to the Galaxy