Forum OpenACS Q&A: Crash in calendar modul

Collapse
Posted by Max Hermann on
Hi, if I switsch to toggle mode on and click on calendar i get this error. Someone any idea what the problem is?
thanks in advance
Request Error

unable to convert date-time string "2003-09-09--"
    while executing
"clock scan $ansi_date"
    (procedure "dt_ansi_to_list" line 6)
    invoked from within
"dt_ansi_to_list $the_date"
    (procedure "dt_get_info" line 9)
    invoked from within
"dt_get_info $date"
    invoked from within
"if {[catch {
    dt_get_info $date
} errmsg]} {
    set date "[lindex $date 0]-[lindex $date 1]-[lindex $date 2]"
    dt_get_info $date
}"
    ("uplevel" body line 24)
    invoked from within
"uplevel {
    	  if {![exists_and_not_null base_url]} {
    set base_url [ad_conn url]
}

if {![exists_and_not_null date]} {
    set date [dt_sysdate]..."
    (procedure "code::tcl::/web/w/packages/calendar/www/mini-calend..." 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 [template::util::url_to_file "mini-calendar" "$__adp_stub"] [list base_url "view" view "[ad_quotehtml ${view}]" date "[ad_quotehtm..."
    invoked from within
"append __adp_output [template::adp_parse [template::util::url_to_file "mini-calendar" "$__adp_stub"] [list base_url "view" view "[ad_quotehtml ${view}..."
    ("uplevel" body line 16)
    invoked from within
"uplevel {
    	  set __adp_output ""

    set __adp_master [template::util::url_to_file "[ad_parameter -package_id [ad_conn subsite_id] DefaultMaster ..."
    (procedure "template::code::adp::/web/w/packages/calendar/www/v..." line 2)
    invoked from within
"template::code::${template_extension}::$__adp_stub"
    (procedure "template::adp_parse" line 68)
    invoked from within
"template::adp_parse [file root [ad_conn file]] {}"
    (procedure "adp_parse_ad_conn_file" line 7)
    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([ad_conn url]) [ad_conn path_inf..."
Collapse
Posted by Dirk Gomez on
Which calendar view? Which database? When did you take the checkout? In any case, please file a bug in SDM, and I will take care of it.