Forum OpenACS Q&A: Bug Tracker Bug

Collapse
Posted by Carl Robert Blesius on
When I try to post a bug to the openacs bug tracker (File Storage) I get the following error:

Required switch -from_addr not provided
while executing
"send__arg_parser"
(procedure "acs_mail_lite::send" line 1)
invoked from within
"acs_mail_lite::send -to_addr dave at thedesignexperience dot org -subject "LURCH NOTIF $action_id" -body "DAVEB Sending email to LURCH type_id='${type_id}' u..."
("foreach" body line 9)
invoked from within
"foreach entry [array names request] {

set user_id [lindex $entry 0]
set interval_id [lindex $entry 1]..."
invoked from within
"if { $subset_arg_p || $already_notified_arg_p } {
foreach entry [array names request] {

set user_id [lind..."
("uplevel" body line 2)
invoked from within
"uplevel 1 $transaction_code "
(procedure "db_transaction" line 39)
invoked from within
"db_transaction {
if { $subset_arg_p || $already_notified_arg_p } {
foreach entry [array names request] {

..."
(procedure "notification::new" line 112)
invoked from within
"notification::new -type_id [notification::type::get_type_id -short_name $type] -object_id $object_id -action_id $entry_id -response_id $case(objec..."
(procedure "workflow::case::action::notify" line 149)
invoked from within
"workflow::case::action::notify -case_id $case_id -action_id $action_id -entry_id $entry_id -comment $comment -comment_mime_type $comment_mime_typ..."
invoked from within
"if { !$no_notification_p } {
workflow::case::action::notify -case_id $case_id -action_id $action_id -entry_id $entry_id -comment $comm..."
("uplevel" body line 28)
invoked from within
"uplevel 1 $transaction_code "
(procedure "db_transaction" line 39)
invoked from within
"db_transaction {

# Double-click protection
if { ![empty_string_p $entry_id] } {
if { [db_string log_entry_exists_p {}] }..."
(procedure "workflow::case::action::execute" line 55)
invoked from within
"workflow::case::action::execute -no_notification=$no_notification_p -case_id $case_id -action_id $initial_action_id -comment $comment -comment_mi..."
("uplevel" body line 51)
invoked from within
"uplevel 1 $transaction_code "
(procedure "db_transaction" line 39)
invoked from within
"db_transaction {

# Initial action
set initial_action_id [workflow::get_element -workflow_id $workflow_id -element initial_action_id]
..."
(procedure "workflow::case::new" line 7)
invoked from within
"workflow::case::new -workflow_id [workflow::get_id -object_id $package_id -short_name [workflow_short_name]] -object_id $bug_id -comment $descripti..."
invoked from within
"set case_id [workflow::case::new -workflow_id [workflow::get_id -object_id $package_id -short_name [workflow_short_name]] -object_id $bug_id -comme..."
("uplevel" body line 18)
invoked from within
"uplevel 1 $transaction_code "
(procedure "db_transaction" line 39)
invoked from within
"db_transaction {

set bug_id [bug_tracker::bug::insert -bug_id $bug_id -package_id $package_id -component_id $component_id -found_in_versi..."
(procedure "bug_tracker::bug::new" line 5)
invoked from within
"bug_tracker::bug::new -bug_id $bug_id -package_id $package_id -component_id $component_id -found_in_version $found_in_version -summary $summary ..."
("uplevel" body line 9)
invoked from within
"uplevel #$level $new_data"
("1" arm line 598)
invoked from within
"switch $errno {
0 {
# TCL_OK
}
1 {
# TCL_E..."
(procedure "ad_form" line 612)
invoked from within
"ad_form -extend -name bug -new_data {

set keyword_ids [list]
foreach {category_id category_name} [bug_tracker::category_types] {
# -s..."
("uplevel" body line 75)
invoked from within
"uplevel {
ad_page_contract {
Bug add page.

@author Lars Pind (lars at pinds dot com)
@creation-date 2002-03-25
@cvs-id $Id: bug-a..."
(procedure "code::tcl::/var/lib/aolserver/openacs.org/www/bugtracker/ope..." line 2)
invoked from within
"code::tcl::$__adp_stub"
invoked from within
"if { [file exists $__adp_stub.tcl] } {

# ensure that data source preparation procedure exists and is up-to-date
adp_init tcl $__adp_stub
..."
("uplevel" body line 3)
invoked from within
"uplevel {

if { [file exists $__adp_stub.tcl] } {

# ensure that data source preparation procedure exists and is up-to-date
adp_init t..."
(procedure "adp_prepare" line 2)
invoked from within
"adp_prepare "
(procedure "template::adp_parse" line 30)
invoked from within
"template::adp_parse [file root [ad_conn file]] {}"
(procedure "adp_parse_ad_conn_file" line 5)
invoked from within
"$handler"
("uplevel" body line 2)
invoked from within
"uplevel $code"
invoked from within
"ad_try {
$handler
} ad_script_abort val {
# do nothing
}"
invoked from within
"rp_serve_concrete_file [ad_conn file]"
(procedure "rp_serve_abstract_file" line 60)
invoked from within
"rp_serve_abstract_file "$root/$path""
("uplevel" body line 2)
invoked from within
"uplevel $code"
invoked from within
"ad_try {
rp_serve_abstract_file "$root/$path"
set tcl_url2file([ad_conn url]) [ad_conn file]
set tcl_url2path_info..."

Collapse
2: Re: Bug Tracker Bug (response to 1)
Posted by Dave Bauer on
Oops,

SOrry about that. I added that to try to debug some intermittent strangeness in notifications.

Should be fixed now.