Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2005-11-23
10:20 • Closed ticket [737844ffff]: verbose option for package require plus 6 other ... artifact: 57f76e0aa4 user: sf-robot
2005-11-09
01:29 • Pending ticket [737844ffff]. artifact: e50b1007f3 user: dgp
2003-05-15
21:46 • Ticket [737844ffff]: 4 changes artifact: 3ed4df7d16 user: dgp
19:42 • Ticket [737844ffff]: 4 changes artifact: 5225b3826c user: lvirden
04:52 • Ticket [737844ffff]: 6 changes artifact: 6e8de856b0 user: dgp
2003-05-14
19:29 • New ticket [737844ffff]. artifact: e7cd03604a user: lvirden

verbose option for package require

Closed / Fixed737844ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 21 years ago
Descriptionplain2003-05-14 19:29:02
One of the most common problems that _I_ have is a
package require which results in either an error or a
not found type message.

It would be useful to have an option for package
require that 
would report the path name of the pkgIndex.tcl that was
failing.
dgpplain2003-05-15 04:52:11
Logged In: YES 
user_id=80530

errors during evaluation of pkgIndex.tcl
files are already reported using [tclLog].
lvirdenplain2003-05-15 19:42:48
Logged In: YES 
user_id=15949

what is tclLog ?
dgpplain2003-05-15 21:46:18
Logged In: YES 
user_id=80530


It's a command analogous to [unknown]
and [bgerror], that can be re-defined by
an application to control error message
display.

The default [tclLog] writes error messages
to stderr.
dgpplain2005-11-09 01:29:43
Logged In: YES 
user_id=80530


Fix for Bug 1162286 added
some more descriptive
error messages.  Please check
whether they resolve this
request.
sf-robotplain2005-11-23 10:20:22
Logged In: YES 
user_id=1312539

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
Log in (anonymous is fine) to add a comment.