Mo,
I removed the "package require java" problem. The setup that I had going was special
to me
so that I wasn't messing around with others, as far as tclblend goes. During the
package
require, I believe that the software could find the 1.2.2 version and also the 1.1.1
version
and must not have handled this very gracefully. Once I decided to place the 1.2.2
version in
place for everyone (which wiped out the 1.1.1 version), the "package require java"
worked
fine. However, I am still seeing crashing which I am guessing has something to do with
something beyond my code, since I can have the same code both work and crash.
Michael
Michael Githens wrote:
> Mo,
>
> Tried the debug_loadtclblend 1 and the puts at the end of the pkgIndex.tcl file.
>Did not
> see anything else appear in my wish as a result of these. It still just crashes
> completely out of the wish.
>
> Michael
>
> Moses DeJong wrote:
>
> > Humm, that is interesting. Another thing you might want to try is
> > to set the debug_loadtclblend at the top of the loadtclblend proc
> > in pkgIndex.tcl to 1.
> >
> > set debug_loadtclblend 0
> >
> > (change to)
> > set debug_loadtclblend 1
> >
> > That will give you a lot of extra info about the loading process.
> > When you give a "package require -exact ..." does it find tclblend's
> > pkgIndex.tcl file? You can test this out but placing a puts at the
> > bottom of the pkgIndex.tcl file like so.
> >
> > (add this)
> > puts "read tclblend's pkgIndex.tcl"
> >
> > (before this)
> > package ifneeded java 1.2.2 [list loadtclblend $dir]
> >
> > That way you can find out if pkgIndex.tcl is ever getting read.
> >
> > Mo DeJong
> > dejong at cs.umn.edu
> >
> > On Fri, 26 Mar 1999, Michael Githens wrote:
> >
----------------------------------------------------------------
The TclJava mailing list is sponsored by WebNet Technologies.
To subscribe: send mail to [EMAIL PROTECTED]
with the word SUBSCRIBE as the subject.
To unsubscribe: send mail to [EMAIL PROTECTED]
with the word UNSUBSCRIBE as the subject.
To send to the list, send email to '[EMAIL PROTECTED]'.
A list archive is at: http://www.findmail.com/listsaver/tcldallas/