For Programmers: Free Programming Magazines  


Home > Archive > Tcl > October 2004 > Error with "package require" in Tcl 8.5a1









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Error with "package require" in Tcl 8.5a1
Anthony Davis

2004-10-29, 3:59 pm

Hello All,
I downloaded the latest sources for Tcl, thread, Tk, and Tile....
After compiling each, running tests, then installing.... whenever I do
a package require I get a bunch of errors.
See below:

D:\>tclsh85t
% package require Tk 8.5
error reading package index file D:/Tcl/lib/dde1.2/pkgIndex.tcl: too
many nested evaluations (infinite loop?)
error reading package index file D:/Tcl/lib/dde1.3/pkgIndex.tcl: too
many nested evaluations (infinite loop?)
error reading package index file D:/Tcl/lib/expect/pkgIndex.tcl: too
many nested evaluations (infinite loop?)
error reading package index file D:/Tcl/lib/reg1.1/pkgIndex.tcl: too
many nested evaluations (infinite loop?)
error reading package index file D:/Tcl/lib/Tcldom2.6/pkgIndex.tcl:
too many nested evaluations (infinite loop?)
error reading package index file D:/Tcl/lib/tcllib1.6/pkgIndex.tcl:
too many nested evaluations (infinite loop?)
error reading package index file D:/Tcl/lib/Tclxml2.6/pkgIndex.tcl:
too many nested evaluations (infinite loop?)
error reading package index file D:/Tcl/lib/tile0.4/pkgIndex.tcl: too
many nested evaluations (infinite loop?)
error reading package index file D:/Tcl/lib/tk8.4/pkgIndex.tcl: too
many nested
evaluations (infinite loop?)
error reading package index file D:/Tcl/lib/tklib0.2/pkgIndex.tcl: too
many nested evaluations (infinite loop?)
error reading package index file D:/Tcl/lib/vfs1.3/pkgIndex.tcl: too
many nested evaluations (infinite loop?)
error reading package index file D:/Tcl/lib/vu2.2/pkgIndex.tcl: too
many nested
evaluations (infinite loop?)


Is anyone else seeing this and has a suggestion on how to resolve it?
I understand this is an alpha release of Tcl, so if the answer is "use
tcl8.4.7" then thats ok.

Regards,
Anthony
Michael Schlenker

2004-10-29, 3:59 pm

Anthony Davis wrote:

> Hello All,
> I downloaded the latest sources for Tcl, thread, Tk, and Tile....

Where did you get the sources? CVS checkout?

> After compiling each, running tests, then installing.... whenever I do
> a package require I get a bunch of errors.

This looks wrong.
A wild guess: This could be a side effect of the tinkering with Tcl
Modules which is going on at the moment (TIP 189).

> See below:
>
> D:\>tclsh85t
> % package require Tk 8.5
> error reading package index file D:/Tcl/lib/dde1.2/pkgIndex.tcl: too
> many nested evaluations (infinite loop?)
> error reading package index file D:/Tcl/lib/dde1.3/pkgIndex.tcl: too
> many nested evaluations (infinite loop?)
> error reading package index file D:/Tcl/lib/expect/pkgIndex.tcl: too
> many nested evaluations (infinite loop?)
> error reading package index file D:/Tcl/lib/reg1.1/pkgIndex.tcl: too
> many nested evaluations (infinite loop?)
> error reading package index file D:/Tcl/lib/Tcldom2.6/pkgIndex.tcl:
> too many nested evaluations (infinite loop?)
> error reading package index file D:/Tcl/lib/tcllib1.6/pkgIndex.tcl:
> too many nested evaluations (infinite loop?)
> error reading package index file D:/Tcl/lib/Tclxml2.6/pkgIndex.tcl:
> too many nested evaluations (infinite loop?)
> error reading package index file D:/Tcl/lib/tile0.4/pkgIndex.tcl: too
> many nested evaluations (infinite loop?)
> error reading package index file D:/Tcl/lib/tk8.4/pkgIndex.tcl: too
> many nested
> evaluations (infinite loop?)
> error reading package index file D:/Tcl/lib/tklib0.2/pkgIndex.tcl: too
> many nested evaluations (infinite loop?)
> error reading package index file D:/Tcl/lib/vfs1.3/pkgIndex.tcl: too
> many nested evaluations (infinite loop?)
> error reading package index file D:/Tcl/lib/vu2.2/pkgIndex.tcl: too
> many nested
> evaluations (infinite loop?)
>
>
> Is anyone else seeing this and has a suggestion on how to resolve it?
> I understand this is an alpha release of Tcl, so if the answer is "use
> tcl8.4.7" then thats ok.

Use 8.4.7 (or the soon to come 8.4.8) for stuff you want to behave
solid, 8.5 is ok for testing but its not ready for prime time mission
critical stuff yet...

Michael
Anthony Davis

2004-10-30, 8:56 am

Michael Schlenker <schlenk@uni-oldenburg.de> wrote in message news:<2ufgnbF28sn33U1@uni-berlin.de>...
> Anthony Davis wrote:
>
> Where did you get the sources? CVS checkout?
>
> This looks wrong.
> A wild guess: This could be a side effect of the tinkering with Tcl
> Modules which is going on at the moment (TIP 189).
>
....
....[color=darkred]
> Use 8.4.7 (or the soon to come 8.4.8) for stuff you want to behave
> solid, 8.5 is ok for testing but its not ready for prime time mission
> critical stuff yet...
>
> Michael


Hmmmmmm....... I downloaded (www.sf.net) Tcl & Tk 8.4.7, compiled,
installed, same thing is happening.

The binaries I installed from ActiveState do not reproduce the same
error, but they will not work since I need to have a thread enabled
core.

Any suggestions where I can start looking to resolve this?

Regards,
Anthony
Don Porter

2004-10-30, 8:56 am

Anthony Davis wrote:

As the message suggests, you should only see this when your code
is suffering from some infinite loop.
[color=darkred]
> Hmmmmmm....... I downloaded (www.sf.net) Tcl & Tk 8.4.7, compiled,
> installed, same thing is happening.


Take us step by step through how you did those things.

Did you run the test suite? What results did you get from it?

--
| Don Porter Mathematical and Computational Sciences Division |
| donald.porter@nist.gov Information Technology Laboratory |
| http://math.nist.gov/~DPorter/ NIST |
|_______________________________________
_______________________________|
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com