#3805 tm::path autoload failure

obsolete: 8.5b1
closed-fixed
69. Other (102)
5
2007-10-02
2007-10-02
Don Porter
No

% info patch
8.5b1
% tcl::tm::path
invalid command name "tcl::tm::path"

Appears the command is missing from
the tclIndex file, so auto-loading
isn't working.

Also, there's no Category for
the Tcl Module support stuff
in the core.

Discussion

  • Andreas Kupries

    Andreas Kupries - 2007-10-02

    Logged In: YES
    user_id=75003
    Originator: NO

    I need more information.

    If I run your commands using our Linux ActiveTcl 8.5 Beta 9 Build 282444 I do not see the problem. (I get a proper "wrong # args: should be "tcl::tm::path subcommand ?argument ...?"", and the auto_index is properly filled too).

    Is that a self-built 8.5 core ?
    ActiveTcl (build number?) ?
    or ... ?

     
  • Andreas Kupries

    Andreas Kupries - 2007-10-02

    Logged In: YES
    user_id=75003
    Originator: NO

    Side note: The command is defined by the file 'tm.tcl'.

     
  • Andreas Kupries

    Andreas Kupries - 2007-10-02

    Logged In: YES
    user_id=75003
    Originator: NO

    Interesting. You are right. The command is not listed in the tclIndex. That makes it wierd how ActiveTcl is working ... Oh, right. We actually load a module during startup, to handle the teapot repositories. This sources tm.tcl, defines everything and I have tcl::tm::path ...

    Ok, will fix asap.

     
  • Andreas Kupries

    Andreas Kupries - 2007-10-02

    Logged In: YES
    user_id=75003
    Originator: NO

    Fix committed.

     
  • Andreas Kupries

    Andreas Kupries - 2007-10-02
    • status: open --> closed-fixed
     
  • Don Porter

    Don Porter - 2007-10-02

    Logged In: YES
    user_id=80530
    Originator: YES

    Thanks for the fix.

    A better long term fix might
    be to revise tm.tcl so that
    if tclIndex is generated by
    [auto_mkIndex] the command
    will be included in it.
    Depends on the maintenance
    plan for the tclIndex file.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks