Forum OpenACS Q&A: Error on the Translation Server

Collapse
Posted by Windell Dubois on
I was making a translation at translate.openacs.org, with the spanish locale, when I got this error while I wanted to update a batch translation......

Request Error

can't read "org_message_3": no such variable
    while executing
"set org_message_$i"
    ("for" body line 3)
    invoked from within
"for { set i $page_start } { $i < $page_end && $i < $total } { incr i } {

        if { ![string equal [set org_message_$i] [set message_$i]] }..."
    ("uplevel" body line 3)
    invoked from within
"uplevel #$level $on_submit"
    ("1" arm line 590)
    invoked from within
"switch $errno {
            0 {
                # TCL_OK
            }
            1 {
                # TCL_ERROR
                global errorInfo er..."
    (procedure "ad_form" line 610)
    invoked from within
"ad_form -extend -name batch_editor -on_request {
    # Set from local vars
} -on_submit {

    for { set i $page_start } { $i < $page_end && $i < $tot..."
    ("uplevel" body line 188)
    invoked from within
"uplevel {
          ad_page_contract {
    A quick and dirty batch editor for translation.

    @author Christian Hvid
} {
    locale
    package_key
  ..."
    (procedure "code::tcl::/web/translate/packages/acs-lang/www/admin/batch-..." 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..."

Please look into it, it could be a more generalized error.

Windell.

Collapse
Posted by Dirk Gomez on
Assuming that you were logged in as Windell :) : A crucial piece of information missing is the "location" i. e. the URL where you had that error.