Xilinx / Xilinx/XilinxTclStore

tclapp::install junit fails

Open
#823 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Tcl
Stars
375
Forks
198
Avg merge
14d 12h
Merged PRs (30d)
4

Description

unknown namespace in import pattern "::msgcat::mcload"
    while executing
"__namespace_orig $what {*}$args "
    (procedure "namespace" line 8)
    invoked from within
"namespace import ::msgcat::mcload"
    (in namespace eval "::tcl::clock" script line 15)
    invoked from within
"__namespace_orig $what {*}$args "
    (procedure "namespace" line 8)
    invoked from within
"namespace eval ::tcl::clock {

    # Export the subcommands

    namespace export format
    namespace export clicks
    namespace export microseconds..."
    (file "/opt/Xilinx/2025.1/Vivado/tps/tcl/tcl8.6/clock.tcl" line 47)
    invoked from within
"source -encoding utf-8 [file join $TclLibDir clock.tcl]"
    (procedure "::tcl::clock::format" line 6)
    invoked from within
"clock format [ clock seconds ] -format "%Y-%m-%dT%H:%M:%S" "
    (procedure "init" line 13)
    invoked from within
"init"
    (procedure "reset_results" line 15)
    invoked from within
"reset_results"
    (in namespace eval "::tclapp::xilinx::junit" script line 891)
    invoked from within
"__namespace_orig $what {*}$args "
    (procedure "namespace" line 8)
    invoked from within
"namespace eval ::tclapp::xilinx::junit {


####################################################################################################
# sect..."
    (file "/opt/Xilinx/2025.1/Vivado/data/XilinxTclStore/tclapp/xilinx/junit/JUnitAssertionMgr.tcl" line 47)
    invoked from within
"source [file join $dir $file]"
    ("foreach" body line 11)
    invoked from within
"foreach file [glob -directory $dir -tails -types {r f} *.tcl] {
            if {$file eq "pkgIndex.tcl"} {
                continue
            }
    ..."
    invoked from within
"$slave eval {

        set tcl::procs {}

        # Stub out package to avoid processing embedded package require
        rename package __package_ori..."
    (procedure "tclapp::support::appinit::load_app" line 29)
    invoked from within
"tclapp::support::appinit::load_app /opt/Xilinx/2025.1/Vivado/data/XilinxTclStore ::tclapp::xilinx::junit xilinx::junit"
ERROR: [Common 17-685] Unable to load Tcl app xilinx::junit```

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing tclapp::install junit and follow the traceback into JUnitAssertionMgr.tcl at line 47 and Tcl's clock.tcl at line 47. Trace the ::msgcat::mcload import failure and confirm that the JUnit app can load successfully after the issue is addressed.

Written by the indexing model from the issue text.

Assessment

Domain
cli, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.