Forum OpenACS Development: Re: 5.0 upgrade process requires Tcl Calls

Collapse
Posted by Caroline Meeks on
I've been working through problems that seem to stem from that fact that acs-lang was installed on my old site and doesn't upgrade cleanly. I had to force it to mount. Now that I have it mounted I am getting the following error at acs-lang/admin

Request Error
expected integer but got "MESSAGE"
    while executing
"string repeat $num_re $group"
    (procedure "lc_sepfmt" line 13)
    invoked from within
"lc_sepfmt $out $grouping $sep"
    (procedure "lc_numeric" line 20)
    invoked from within
"lc_numeric $num $fmt en_US"
    (procedure "lc_numeric" line 15)
    invoked from within
"lc_numeric $num_translated"
    invoked from within
"set num_translated_pretty [lc_numeric $num_translated]"
    ("uplevel" body line 10)
    invoked from within
"uplevel 1 $code_block "

Any ideas?

Collapse
Posted by Robert Gaszewski on

Caroline,
looks your acs-lang message catalog isn't imported properly.
Try create file foo.tcl with one line:

lang::catalog::import -locales [list "en_US"]

and put in under openacs-5/www directory.

Next go to address http://yourserver.com/foo and it should import missing messages.
I had the same problem, as you and this is a reason I put line

lang::catalog::import -locales [list "en_US"]
into Dave's zzz-postload.tcl file