Re: can't find package __teapot__ ???



On Oct 31, 11:17 am, Helmut Giese <hgi...@xxxxxxxxxxxxx> wrote:
Differences:

- When it failed the user was in Tcl's bin directory and called
tclsh c:\somedir\somescript.tcl c:\destDir
(note the '\')


I wonder if the problem was being in Tcl's bin directory - you
indicated in your original (well followup) message:

The script in question is a small Tcl-only (no GUI) script which only

depends on one extension present in the same directory and which gets
loaded like
lappend auto_path .
package require Hrt

Notice that you add . rather than a directory name, to auto_path, then
do a package require.

Perhaps something in the tcl bin directory interfered. Or, if the user
didn't have Hrt installed in the bin directory, then perhaps the
package require was having problems.

Alas, I don't have access to a Windows machine where I can test out
these theories.


.



Relevant Pages

  • Re: D7 in the path
    ... > permanent PATH. ... > That's not the issue with the BPL directory. ... There is no need for package to be used. ... and there is absolutely no need for BIN directory to ...
    (borland.public.delphi.non-technical)
  • Re: 2005 opinion improving
    ... >> installing components is problematic, ... >> components may or may not be recognized by the IDE from moment to ... > confused about a package that came with Delphi originally, ... > these packages are in the bin directory. ...
    (borland.public.delphi.non-technical)
  • Re: 2005 opinion improving
    ... > by the IDE from moment to moment. ... So as I see D2005 have a problem with a package I uninstall it, ... copy the bpl to the bin directory and the dcu's and dcp's to the lib ... directory and reinstall that bpl from there. ...
    (borland.public.delphi.non-technical)
  • Re: Runnig from a package
    ... change to the bin directory. ... Locate your main class If it is in the package "mypackage" ... then you can run it by "java mypackage.App". ... > Using eclipse I have no problem runing the aplication. ...
    (comp.lang.java.programmer)