Skip to content
Tcl Source Code View Ticket
Login

View Ticket

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.