Re: [GRASS-user] v.in.dxf crashes

2008-11-26 Thread Markus Neteler
On Wed, Nov 26, 2008 at 5:23 AM, Kurt Springs [EMAIL PROTECTED] wrote:
 It seemed to run fine in the command line.  Running it through Wish causes
 it to crash.

I have tried v.in.dxf from current GRASS 6.4 on Linux and it worked for me.
So it might be related to Active tcl 8.5.

  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.

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
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] v.in.dxf crashes

2008-11-26 Thread Kurt Springs
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?


Kurt
On Nov 26, 2008, at 3:04 AM, Markus Neteler wrote:

On Wed, Nov 26, 2008 at 5:23 AM, Kurt Springs [EMAIL PROTECTED]  
wrote:
It seemed to run fine in the command line.  Running it through Wish  
causes

it to crash.


I have tried v.in.dxf from current GRASS 6.4 on Linux and it worked  
for me.

So it might be related to Active tcl 8.5.


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.


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


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


Re: [GRASS-user] v.in.dxf crashes

2008-11-26 Thread William Kyngesburye

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...

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


Re: [GRASS-user] v.in.dxf crashes

2008-11-26 Thread William Kyngesburye

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

On Nov 26, 2008, at 10:00 AM, [EMAIL PROTECTED]  
wrote:



Message: 5
Date: Wed, 26 Nov 2008 10:56:30 -0600
From: William Kyngesburye [EMAIL PROTECTED]
Subject:
To: Kurt Springs [EMAIL PROTECTED]
Cc: GRASS user list [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
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


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


Re: [GRASS-user] v.in.dxf crashes

2008-11-26 Thread Hamish
William wrote:
 Check for a crashlog in Console.app.  This could help. 
 Especially since it would have some paths to verify which
 wish is running.


In gis.m look in Help-About System for that.


Hamish



  

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