this bug's URL: http://intevation.de/rt/webrt?serial_num=5490
-------------------------------------------------------------------------
--8XkdMeO807
Content-Type: text/plain; charset=us-ascii
Content-Description: message body and .signature
Content-Transfer-Encoding: 7bit
Markus Neteler wrote:
> I'm pretty sure that the problem is that lib/form/form.c doesn't call
> Tcl_Main(), so the library path doesn't get set, so Tcl can't find its
> .enc files.
>
> Realistically, if you are trying to use Tcl/Tk and your program
> *doesn't* look very much like tkAppInit.c, all bets are off.
>
> Rather than trying to process the data from the form library in C,
> form.c should just register the commands then do the rest in Tcl.Since I know nothing about tcl, I'll leave that to the experts. AFAIK
form.c was
originally written by Radim.
The attached patch appears to work, insofar as v.digit appears to work
as before, minus the encoding errors. OTOH, I know next to nothing
about v.digit (or the vector stuff in general), so it would probably
be a good idea for it to be tested by someone who is familiar with
v.digit.
Essentially, the form utility (lib/form/form.c) has been rewritten as
a typical "extended wish", with the communication with the form
library being performed in Tcl.
--
Glynn Clements <glynn@gclements.plus.com>
--8XkdMeO807
Content-Type: text/plain
Content-Description: lib/form patch
Content-Disposition: inline;
filename="form.diff"
Content-Transfer-Encoding: base64
SW5kZXg6IGxpYi9mb3JtL2Zvcm0uYw0KPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQ0KUkNTIGZpbGU6IC9ncmFz
c3JlcG9zaXRvcnkvZ3Jhc3M2L2xpYi9mb3JtL2Zvcm0uYyx2DQpyZXRyaWV2aW5nIHJldmlz
aW9uIDEuMTcNCmRpZmYgLXUgLXIxLjE3IGZvcm0uYw0KLS0tIGxpYi9mb3JtL2Zvcm0uYwk2
IEZlYiAyMDA3IDExOjE1OjAzIC0wMDAwCTEuMTcNCisrKyBsaWIvZm9ybS9mb3JtLmMJMTAg
RmViIDIwMDcgMTQ6NTE6NTIgLTAwMDANCkBAIC0xMiwxMiArMTIsNiBAQA0KICNpbmNsdWRl
IDxncmFzcy9kYm1pLmg+DQogI2luY2x1ZGUgPGdy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
TEwpOw0KKwlleGVjbChjb21tYW5kLCAiZm9ybSIsICItZiIsIHNjcmlwdCwgTlVMTCk7DQog
CQ0KIAlHX2RlYnVnKDIsICJDSElMRCBFTkRcbiIpOw0KIAlleGl0ICgwKTs=
--8XkdMeO807--
--- Headers Follow ---
From glynn@gclements.plus.com Sat Feb 10 15:59:12 2007
Return-Path: <glynn@gclements.plus.com>
Delivered-To: grass-bugs@lists.intevation.de
Received: from kolab.intevation.de (salmakis.hq.intevation.de [192.168.11.9])
by lists.intevation.de (Postfix) with ESMTP id 147611005CB
for <grass-bugs@lists.intevation.de>; Sat, 10 Feb 2007 15:59:12 +0100 (CET)
Received: from localhost (localhost.localdomain [127.0.0.1])
by kolab.intevation.de (Postfix) with ESMTP id EF60B108ECA
for <grass-bugs@lists.intevation.de>; Sat, 10 Feb 2007 15:59:11 +0100 (CET)
Received: from localhost (localhost.localdomain [127.0.0.1])
by kolab.intevation.de (Postfix) with ESMTP id B3293109152
for <grass-bugs@lists.intevation.de>; Sat, 10 Feb 2007 15:59:11 +0100 (CET)
Received: from cerise.gclements.plus.com (82-71-30-52.dsl.in-addr.zen.co.uk [82.71.30.52])
by kolab.intevation.de (Postfix) with ESMTP id 3780E108ECA
for <grass-bugs@intevation.de>; Sat, 10 Feb 2007 15:59:09 +0100 (CET)
Received: from cerise.gclements.plus.com (localhost [127.0.0.1])
by cerise.gclements.plus.com (8.13.7/8.13.7) with ESMTP id l1AEx4Qt012042;
Sat, 10 Feb 2007 14:59:04 GMT
Received: (from glynn@localhost)
by cerise.gclements.plus.com (8.13.7/8.13.7/Submit) id l1AEx40l012039;
Sat, 10 Feb 2007 14:59:04 GMT
From: Glynn Clements <glynn@gclements.plus.com>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="8XkdMeO807"
Content-Transfer-Encoding: 7bit
Message-ID: <17869.56760.385929.175604@cerise.gclements.plus.com>
Date: Sat, 10 Feb 2007 14:59:04 +0000
To: Markus Neteler <neteler@itc.it>
Cc: Request Tracker <grass-bugs@intevation.de>,
grass developers list <grass-dev@grass.itc.it>
Subject: Re: [GRASS-dev] v.digit: Could not set Tcl system encoding fixed
(bug #4110)
In-Reply-To: <45CC2C73.5030206@itc.it>
References: <45C9995E.7010700@itc.it>
<45C9F585.30406@o2.pl>
<45CAD4F8.5050400@itc.it>
<17867.3200.384675.355130@cerise.gclements.plus.com>
<45CB36F6.1070906@itc.it>
<17867.42607.267308.193576@cerise.gclements.plus.com>
<45CC2C73.5030206@itc.it>
X-Mailer: VM 7.07 under 21.4 (patch 20) "Double Solitaire" XEmacs Lucid
X-Virus-Scanned: by amavisd-new at intevation.de
X-Spam-Status: No, hits=-5 tagged_above=-999 required=3 tests=[BAYES_00=-5]
X-Spam-Level:
-------------------------------------------- Managed by Request Tracker