pkg_mkIndex produces comments only
Closed / Invalid1222788fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 21 years ago
Descriptionplain2005-06-17 17:15:46
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.
dgpplain2005-06-18 00:47:17
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.
pmmartinplain2005-06-18 02:07:01
Logged In: YES user_id=319460 Concur on likelihood of pilot error. Attached file, 1222788_ScenarioResults.txt, shows before and after behavior.
pmmartinplain2005-06-18 02:07:02
File Added - 138798: 1222788_ScenarioResults.txt
dgpplain2005-07-05 22:37:27
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.
dgp Ticket [1222788fff]: 2 changes
[History diff]2005-07-05 22:37:28
Log in (anonymous is fine) to add a comment.
Attachments:
- 1222788_ScenarioResults.txt [download] added by pmmartin on 2005-06-18 02:07:02. [details]