Artifacts Associated With Ticket 1222788
Ticket change [20ebab1be7] (rid 130495) by pmmartin on 2005-06-17 17:15:46:
- assignee initialized to: "dgp"
- cmimetype initialized to: "text/plain"
- comment initialized to:
pkgIndex.tcl file created with only comments. See also comments by LV at http://mini.net/tcl/3388. Error message in -verbose mode indicated "dir" was not defined at the time of invoking "source". An adequate workaround was to add the following line to proc pkg_mkIndex in package.tcl, just before the large $c eval {...} block: $c eval [list set dir "$dir"] This line defines "dir" in the slave interpreter's namespace, prior to invoking the "source" command. - foundin initialized to: "obsolete: 8.4.10"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "pmmartin"
- subsystem initialized to: "39. Package Manager"
- title initialized to: "pkg_mkIndex produces comments only"
- type initialized to: "Bug"
Ticket change [b33baaa03c] (rid 98488) by dgp on 2005-06-18 00:47:17:
- icomment:
Logged In: YES user_id=80530 this is probably pilot error. To be sure, please report exactly what arguments were passed to [pkg_mkIndex], along with relevant details about the file(s) being indexed, and the reports from -verbose. Willing to consider improvements to [pkg_mkIndex], but for quick success, you're almost certainly better off ignoring the command completely, and just creating your index script directly.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [0e37dd5062] (rid 94577) by pmmartin on 2005-06-18 02:07:01:
- icomment:
Logged In: YES user_id=319460 Concur on likelihood of pilot error. Attached file, 1222788_ScenarioResults.txt, shows before and after behavior.
- login: "pmmartin"
- mimetype: "text/plain"
- username: "pmmartin"
- icomment:
Ticket change [ccde72dfea] (rid 95778) by pmmartin on 2005-06-18 02:07:02:
- icomment:
File Added - 138798: 1222788_ScenarioResults.txt
- login: "pmmartin"
- mimetype: "text/plain"
- username: "pmmartin"
- icomment:
Add attachment "1222788_ScenarioResults.txt" [a3ae8e10b5] (rid 110081) by pmmartin on 2005-06-18 02:07:02.
Ticket change [fe4f48cc63] (rid 108560) by dgp on 2005-07-05 22:37:27:
- icomment:
Logged In: YES user_id=80530 the log attached indicates something wrong with the rc.tcl file you're trying to index. Apparently it expects a variable "dir" to be defined before the file is [source]d ? Without the rc.tcl file contents, I can't be more specific about how to correct things, but I don't see anything here suggesting a bug in [pkg_mkIndex]. Your suggested fix is effective, but misplaced. The indexer is not the place to put workarounds for bugs in the code being indexed.
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Closed"
- username: "dgp"
- icomment:
Ticket change [30a2520c6d] (rid 93289) by dgp on 2005-07-05 22:37:28:
- closedate changed to: "2005-07-05T15:37:28"
- closer changed to: "dgp"