Forum OpenACS Q&A: Response to news package install

Collapse
Posted by Matthew Terenzio on
Getting Closer. . .

Now, trying to create a news item and receive this error.

invalid command name "dt_widget_datetime"
    while executing
"dt_widget_datetime -default now publish_date days"
    invoked from within
"set publish_date_select [dt_widget_datetime -default now publish_date days]"
    ("uplevel" body line 42)
    invoked from within
"uplevel {
    	  # /packages/news/www/item-create.tcl

Datetime is installed. Anyone know what is up.
Collapse
Posted by Kurt Schwarz on
I'm getting the same thing with v4.6 in the news/item-create module.

This is on a new linux box. Fresh copy of everything. Rebooted server between individual modules. I continue to get errors:

invalid command name "lang::conn::locale"
    while executing
"lang::conn::locale"
    (procedure "dt_month_names" line 2)
    invoked from within
"dt_month_names"
    (procedure "dt_widget_month_names" line 2)
    invoked from within
"dt_widget_month_names "$name.month" $month"
    (procedure "dt_widget_datetime" line 45)
    invoked from within
"dt_widget_datetime -default now publish_date days"
    invoked from within
"set publish_date_select [dt_widget_datetime -default now publish_date days]"
    ("uplevel" body line 42)
    invoked from within
"uplevel {
    	  # /packages/news/www/item-create.tcl

ad_page_contract {

    This page enables registered users and the news-admin 
    to enter new..."
    (procedure "code::tcl::/web/amoserve2/packages/news/www/item-create" 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 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..."

Running ACS 4.6, Postgresql 7.3.2, AOLServer 3.3.1+13ad, SearchOpenFTS 0.3.2. I have the latest and greatest of News, Events, DateTime, ACS-Lang, ACS-Utils, as well as all the References.