On Mar 9, 2009, at 9:19 PM, <grass-dev-request@lists.osgeo.org> wrote:
Date: Mon, 09 Mar 2009 15:12:07 -0700
From: Ken Nussear <knussear@mac.com>
Subject: [GRASS-dev] database driver errors from wish tcltk gui on mac
To: grass-dev@lists.osgeo.org
Message-ID: <D308C505-5338-44A9-BA85-72DBD884F7FE@mac.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Hi
I'm on Mac OSX 10.5.6 using Grass 6.4 RC3. I'm using the WISH TclTk
GUI using ActiveTcl 8.5 from ActiveState.
I'm having driver errors when accessing vector attribute information
via the GUI, but not from the command line
For example- using spearfish
Adding a vector to the map
Selected buglist from the list of vectors
Clicked the "Show Attribute Table" button in the lower panel of the
GRASS GIS Manager window
Got this error in the output
db.select table=bugsites database=/Users/knussear/Documents/Research/
GIS/grassdata/spearfish60/PERMANENT/dbf/ driver=dbf
Bad file descriptor: dup r
dbmi: Protocol error
Unable to start driver <dbf>
I copied the same line and pasted it in the terminal
db.select table=bugsites database=/Users/knussear/Documents/Research/
GIS/grassdata/spearfish60/PERMANENT/dbf/ driver=dbf
cat|str1
1|Beetle site
2|Beetle site
3|Beetle site
4|Beetle site
5|Beetle site
6|Beetle site
7|Beetle site
8|Beetle site
9|Beetle site
10|Beetle site
11|Beetle site
12|Beetle site
13|Beetle site
14|Beetle site
..... and more rows
Can anyone help?
Thanks
Ken,
I just tried this with GRASS 6.5 svn, which has an identical TclTk GUI as the release branch currently. I added bugsites to the layer manager and clicked show attribute data and it shows the same information as you get in the terminal.
Perhaps, there is some problem with db.select that has been fixed after 6.4rc3.
Michael
Good news. Any chance this could be fixed for 6.4? Seems late in a version
release cycle to have a large bug like this slip by.
Michael Barton wrote:
On Mar 9, 2009, at 9:19 PM, <grass-dev-request@lists.osgeo.org> wrote:
Date: Mon, 09 Mar 2009 15:12:07 -0700
From: Ken Nussear <knussear@mac.com>
Subject: [GRASS-dev] database driver errors from wish tcltk gui on mac
To: grass-dev@lists.osgeo.org
Message-ID: <D308C505-5338-44A9-BA85-72DBD884F7FE@mac.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Hi
I'm on Mac OSX 10.5.6 using Grass 6.4 RC3. I'm using the WISH TclTk
GUI using ActiveTcl 8.5 from ActiveState.
I'm having driver errors when accessing vector attribute information
via the GUI, but not from the command line
For example- using spearfish
Adding a vector to the map
Selected buglist from the list of vectors
Clicked the "Show Attribute Table" button in the lower panel of the
GRASS GIS Manager window
Got this error in the output
db.select table=bugsites database=/Users/knussear/Documents/Research/
GIS/grassdata/spearfish60/PERMANENT/dbf/ driver=dbf
Bad file descriptor: dup r
dbmi: Protocol error
Unable to start driver <dbf>
I copied the same line and pasted it in the terminal
db.select table=bugsites database=/Users/knussear/Documents/Research/
GIS/grassdata/spearfish60/PERMANENT/dbf/ driver=dbf
cat|str1
1|Beetle site
2|Beetle site
3|Beetle site
4|Beetle site
5|Beetle site
6|Beetle site
7|Beetle site
8|Beetle site
9|Beetle site
10|Beetle site
11|Beetle site
12|Beetle site
13|Beetle site
14|Beetle site
..... and more rows
Can anyone help?
Thanks
Ken,
I just tried this with GRASS 6.5 svn, which has an identical TclTk GUI
as the release branch currently. I added bugsites to the layer manager
and clicked show attribute data and it shows the same information as
you get in the terminal.
Perhaps, there is some problem with db.select that has been fixed
after 6.4rc3.
Michael
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev
--
View this message in context: http://n2.nabble.com/database-driver-errors-from-wish-tcltk-gui-on-mac-tp2452163p2455345.html
Sent from the Grass - Dev mailing list archive at Nabble.com.
I just checked out 6.5 from CVS and built it and I get exactly the same
error....
knussear wrote:
Good news. Any chance this could be fixed for 6.4? Seems late in a version
release cycle to have a large bug like this slip by.
Michael Barton wrote:
On Mar 9, 2009, at 9:19 PM, <grass-dev-request@lists.osgeo.org> wrote:
Date: Mon, 09 Mar 2009 15:12:07 -0700
From: Ken Nussear <knussear@mac.com>
Subject: [GRASS-dev] database driver errors from wish tcltk gui on mac
To: grass-dev@lists.osgeo.org
Message-ID: <D308C505-5338-44A9-BA85-72DBD884F7FE@mac.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Hi
I'm on Mac OSX 10.5.6 using Grass 6.4 RC3. I'm using the WISH TclTk
GUI using ActiveTcl 8.5 from ActiveState.
I'm having driver errors when accessing vector attribute information
via the GUI, but not from the command line
For example- using spearfish
Adding a vector to the map
Selected buglist from the list of vectors
Clicked the "Show Attribute Table" button in the lower panel of the
GRASS GIS Manager window
Got this error in the output
db.select table=bugsites database=/Users/knussear/Documents/Research/
GIS/grassdata/spearfish60/PERMANENT/dbf/ driver=dbf
Bad file descriptor: dup r
dbmi: Protocol error
Unable to start driver <dbf>
I copied the same line and pasted it in the terminal
db.select table=bugsites database=/Users/knussear/Documents/Research/
GIS/grassdata/spearfish60/PERMANENT/dbf/ driver=dbf
cat|str1
1|Beetle site
2|Beetle site
3|Beetle site
4|Beetle site
5|Beetle site
6|Beetle site
7|Beetle site
8|Beetle site
9|Beetle site
10|Beetle site
11|Beetle site
12|Beetle site
13|Beetle site
14|Beetle site
..... and more rows
Can anyone help?
Thanks
Ken,
I just tried this with GRASS 6.5 svn, which has an identical TclTk GUI
as the release branch currently. I added bugsites to the layer manager
and clicked show attribute data and it shows the same information as
you get in the terminal.
Perhaps, there is some problem with db.select that has been fixed
after 6.4rc3.
Michael
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev
--
View this message in context: http://n2.nabble.com/database-driver-errors-from-wish-tcltk-gui-on-mac-tp2452163p2456019.html
Sent from the Grass - Dev mailing list archive at Nabble.com.
I just had a break to test it. With 6.4RC3 and the steps you used, it works.
So, maybe there's something wrong with your TclTk installation. When the GUI starts, a "Wish" application shows up in your Dock - does this have black-and-white Activestate icon, or a red-and-white Tcl icon? It should be Activestate, if not then the wrong Tcl is found.
On Mar 10, 2009, at 10:56 AM, knussear wrote:
I just checked out 6.5 from CVS and built it and I get exactly the same
error....
For example- using spearfish
Adding a vector to the map
Selected buglist from the list of vectors
Clicked the "Show Attribute Table" button in the lower panel of the
GRASS GIS Manager window
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/
Theory of the Universe
There is a theory which states that if ever anyone discovers exactly what the universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarrely inexplicable. There is another theory which states that this has already happened.
-Hitchhiker's Guide to the Galaxy 2nd season intro
I have a black and white Icon with a frog.
Ken
On Mar 10, 2009, at 9:22 AM, William Kyngesburye (via Nabble) wrote:
I just had a break to test it. With 6.4RC3 and the steps you used, it
works.
So, maybe there’s something wrong with your TclTk installation. When
the GUI starts, a “Wish” application shows up in your Dock - does this
have black-and-white Activestate icon, or a red-and-white Tcl icon?
It should be Activestate, if not then the wrong Tcl is found.
On Mar 10, 2009, at 10:56 AM, knussear wrote:
I just checked out 6.5 from CVS and built it and I get exactly the
same
error…
For example- using spearfish
Adding a vector to the map
Selected buglist from the list of vectors
Clicked the “Show Attribute Table” button in the lower panel of the
GRASS GIS Manager window
William Kyngesburye <kyngchaosatkyngchaosdotcom>
http://www.kyngchaos.com/
Theory of the Universe
There is a theory which states that if ever anyone discovers exactly
what the universe is for and why it is here, it will instantly
disappear and be replaced by something even more bizarrely
inexplicable. There is another theory which states that this has
already happened.
-Hitchhiker’s Guide to the Galaxy 2nd season intro
grass-dev mailing list
grass-dev@…
http://lists.osgeo.org/mailman/listinfo/grass-dev
View this message in context: Re: [GRASS-dev] database driver errors from wish tcltk gui on mac
Sent from the Grass - Dev mailing list archive at Nabble.com.
Version I get in About TCL/TK is TCL 8.5.6 and TK 8.5.6
William Kyngesburye wrote:
I just had a break to test it. With 6.4RC3 and the steps you used, it
works.
So, maybe there's something wrong with your TclTk installation. When
the GUI starts, a "Wish" application shows up in your Dock - does this
have black-and-white Activestate icon, or a red-and-white Tcl icon?
It should be Activestate, if not then the wrong Tcl is found.
On Mar 10, 2009, at 10:56 AM, knussear wrote:
I just checked out 6.5 from CVS and built it and I get exactly the
same
error....
For example- using spearfish
Adding a vector to the map
Selected buglist from the list of vectors
Clicked the "Show Attribute Table" button in the lower panel of the
GRASS GIS Manager window
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/
Theory of the Universe
There is a theory which states that if ever anyone discovers exactly
what the universe is for and why it is here, it will instantly
disappear and be replaced by something even more bizarrely
inexplicable. There is another theory which states that this has
already happened.
-Hitchhiker's Guide to the Galaxy 2nd season intro
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev
--
View this message in context: http://n2.nabble.com/database-driver-errors-from-wish-tcltk-gui-on-mac-tp2452163p2456254.html
Sent from the Grass - Dev mailing list archive at Nabble.com.
So, the correct TclTk is running... though really, in the GUI it doesn't matter, the GUI can use whichever TclTk you like. It only matters for NVIZ, it has a binary part that was built for the TclTk Aqua 8.5 framework. So this may be the wrong track.
What about trying the wxpython GUI?
On Mar 10, 2009, at 11:31 AM, knussear wrote:
Version I get in About TCL/TK is TCL 8.5.6 and TK 8.5.6
and:
I have a black and white Icon with a frog.
William Kyngesburye wrote:
I just had a break to test it. With 6.4RC3 and the steps you used, it
works.
So, maybe there's something wrong with your TclTk installation. When
the GUI starts, a "Wish" application shows up in your Dock - does this
have black-and-white Activestate icon, or a red-and-white Tcl icon?
It should be Activestate, if not then the wrong Tcl is found.
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/
The equator is so long, it could encircle the earth completely once.
I have no errors at all in the python GUI.
William Kyngesburye wrote:
So, the correct TclTk is running... though really, in the GUI it
doesn't matter, the GUI can use whichever TclTk you like. It only
matters for NVIZ, it has a binary part that was built for the TclTk
Aqua 8.5 framework. So this may be the wrong track.
What about trying the wxpython GUI?
On Mar 10, 2009, at 11:31 AM, knussear wrote:
Version I get in About TCL/TK is TCL 8.5.6 and TK 8.5.6
and:
I have a black and white Icon with a frog.
William Kyngesburye wrote:
I just had a break to test it. With 6.4RC3 and the steps you used,
it
works.
So, maybe there's something wrong with your TclTk installation. When
the GUI starts, a "Wish" application shows up in your Dock - does
this
have black-and-white Activestate icon, or a red-and-white Tcl icon?
It should be Activestate, if not then the wrong Tcl is found.
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/
The equator is so long, it could encircle the earth completely once.
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev
--
View this message in context: http://n2.nabble.com/database-driver-errors-from-wish-tcltk-gui-on-mac-tp2452163p2456566.html
Sent from the Grass - Dev mailing list archive at Nabble.com.