I was trying to import some more vectors from my .dxf file and GRASS 6.4 crashed under 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.
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
I was trying to import some more vectors from my .dxf file
and GRASS 6.4 crashed under 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.
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.
does it work if you try and run v.in.dxf from the command line?
(`wish` is the Tcl/Tk runtime..)
It seemed to run fine in the command line. Running it through Wish causes it to crash.
Kurt
On Nov 25, 2008, at 9:17 PM, Hamish wrote:
Kurt Springs wrote:
I was trying to import some more vectors from my .dxf file
and GRASS 6.4 crashed under 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.
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.
does it work if you try and run v.in.dxf from the command line?
(`wish` is the Tcl/Tk runtime..)
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 <ferret_bard@mac.com> 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).
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...
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?
Note that you don't need to re-compile anything to use a different
version of Tcl/Tk for gis.m. You just need to force it to use the
appropriate version of wish. Setting the GRASS_WISH environment
variable to point at a specic version of wish may be sufficient.
The only parts of GRASS which need to be compiled for a specific
version of Tcl/Tk are NVIZ, v.digit, and the form library used by
NVIZ, v.digit, d.what.vect and v.what.
Also, NVIZ needs to use the same "platform" for both Tcl/Tk and
OpenGL. You can't use --with-opengl=aqua with an X11 version of
Tcl/Tk, and vice versa.