Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Upgrading to ActiveTcl 8.4.14

17 views
Skip to first unread message

SimonG

unread,
Jun 13, 2007, 11:30:19 AM6/13/07
to
I've just tried upgrading from ActieTcl8.4.13 to 8.4.14 (WinXP) but
found that none of my scripts run. The problem seems to be that the
package require command has changed so that

package require tdom

no longer works but that

package require tdom 0.8.2

does. Other (but not all) packages have the same problem. Is this a
known problem with ActiveTcl8.4.14, has anyone else had this problem?

Thanks,

Simon Geard

Larry W. Virden

unread,
Jun 13, 2007, 12:26:16 PM6/13/07
to
On Jun 13, 11:30 am, SimonG <s...@whiteowl.co.uk> wrote:
> Is this a
> known problem with ActiveTcl8.4.14, has anyone else had this problem?

I'm using activetcl 8.4.14 on solaris, not windows (don't have the
admin privs to isntall activetcl on my xp machine). But I don't see
that problem on Solaris.


$ /vol/tclsrcsol/ActiveTcl/bin/tclsh
% package require tdom
0.8.1
%

Jeff Hobbs

unread,
Jun 13, 2007, 12:54:24 PM6/13/07
to SimonG

I can't reproduce this problem, and it sounds somewhat suspicious to be
a core/dist issue. When you say "no longer works", what happens?

Jeff

Miko

unread,
Jun 13, 2007, 3:01:32 PM6/13/07
to
Hello,
on my XP box, ActIveState Tcl 8.4.14

% package require tdom
0.8.1
%

Miko

SimonG

unread,
Jun 14, 2007, 4:35:33 AM6/14/07
to
Here's what I did on my WinXP box:

uninstall ActiveTcl 8.4.13
install ActiveTcl 8.4.14

Here is the output from a sample session:
$ tclsh
% package require tile
wrong # args: should be "tclPkgUnknown name version ?exact?"
% package require tdom
wrong # args: should be "tclPkgUnknown name version ?exact?"
% package require Tk
wrong # args: should be "tclPkgUnknown name version ?exact?"


% package require tdom 0.8.1

0.8.1
% parray tcl_platform
tcl_platform(byteOrder) = littleEndian
tcl_platform(machine) = intel
tcl_platform(os) = Windows NT
tcl_platform(osVersion) = 5.1
tcl_platform(platform) = windows
tcl_platform(threaded) = 1
tcl_platform(tip,268) = 1
tcl_platform(tip,280) = 1
tcl_platform(user) = simon
tcl_platform(wordSize) = 4
% puts $tcl_patchLevel
8.4.14
%

According to the Welch book 3rd edition the version is optional yet
the error message above seems to imply that it is mandatory.

Simon

Jeff Hobbs

unread,
Jun 14, 2007, 12:54:39 PM6/14/07
to SimonG, Andreas Kupries
This is an offshoot of TIP 268 backported into 8.4, which ActiveTcl
does. It does change the semantics of package handling. However, if
there were really a bug in this release, I would have expect many more
complaints (it does get tens of thousands of downloads per month).

Are you sure you aren't getting some odd mix of libraries installed?
Please try uninstalling one more time, ensure the entire distribution is
gone (no left-over dlls or anything) and reinstalling.

Jeff

SimonG

unread,
Jun 15, 2007, 9:11:08 AM6/15/07
to

I have tried again. This time I checked that the c:/tcl directory had
been removed (which it had) then rebooted. Reboot ok so I installed
8.4.14. The result was the same as before. Other ActiveState products
I've got on my machine (could they be the cause?):

ActivePython2.4.3
Komodo IDE 4.0.2
Tcl Dev Kit 4.0 beta-1

I also have the tcl plugin installed.

Simon

0 new messages