[GRASS-dev] Tk implemantation of a query function

Thierry Gonon thierrygonon at mac.com
Mon Oct 23 11:27:58 EDT 2006

Hi everybody,

I'm a beginner in programmation and my goal (as wanted by my boss) is to add a function to make the building of a query easier and more friendly that it is actually (so that people who don't know SQL syntax can build queries !!).
I've made a first script in bash, that works quite well (for postgres, but I'm planning to extend it to other databases used by GRASS). And now, Im'trying to make it more friendly, thru Tk. My problem is the following error :
Error in startup script: can't read "GRASS_WISH": no such variable
    while executing
"exec $GRASS_WISH "$0" "$@""
If I only write "exec $GRASS_WISH" in this line, the error is that it opens a new window and freeze everything...
I think my problems are very small... But can someone helps me ??
I join my code to help !


Thierry Gonon
2 Place de l'Eglise
Tél : 04 74 34 49 26
-------------- next part --------------
A non-text attachment was scrubbed...
Name: db_q_e.tcl
Type: application/octet-stream
Size: 6855 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20061023/08e7618a/db_q_e.obj

More information about the grass-dev mailing list